Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion
Recent work has identified a counterintuitive phenomenon termed "Hyperfitting", where fine-tuning Large Language Models (LLMs) to near-zero training loss on small datasets surprisingly enhances open-ended generation quality and mitigates repetition in greedy decoding. While effective, the underlying mechanism remains poorly understood, with the extremely low-entropy output distributions suggesting a potential equivalence to simple temperature scaling. In this work, we demonstrate that this phenomenon is fundamentally distinct from distribution sharpening; entropy-matched control experiments reveal that temperature scaling fails to replicate the diversity gains of hyperfitting. Furthermore, we falsify the hypothesis of static vocabulary reweighting, showing through ablation studies that hyperfitting relies on a dynamic, context-dependent rank reordering mechanism. Layer-wise analysis localizes this effect to a "Terminal Expansion" in the final transformer block, where a substantial geometric expansion of the feature space (Delta Dim approx +80.8) facilitates the promotion of deep-tail tokens. Additionally, we introduce Late-Stage LoRA, a targeted fine-tuning strategy that updates only the final 5 layers, yielding robust generation with minimal parameter updates
Code (0)
등록된 구현이 없습니다.
Similar Papers 제목 키워드 기반
The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generation
This paper introduces the counter-intuitive generalization results of overfitting pre-trained large language models (LLMs) on very small datasets. In the setting of open-ended text generation, it is well-documented that …
BlockingImage GenerationText Generation2D-ThermAl: Physics-Informed Framework for Thermal Analysis of Circuits using Generative AI
Thermal analysis is increasingly critical in modern integrated circuits, where non-uniform power dissipation and high transistor densities can cause rapid temperature spikes and reliability concerns. Traditional methods,…
Machine-Learning Assisted Optimization Strategies for Phase Change Materials Embedded within Electronic Packages
Leveraging the latent heat of phase change materials (PCMs) can reduce the peak temperatures and transient variations in temperature in electronic devices. But as the power levels increase, the thermal conduction pathway…
BIG-bench Machine LearningNuclear Partition Functions at Temperatures Exceeding 10^10 K
Nuclear partition functions were calculated for a grid of temperatures from 1.2x10^10 K to 2.75x10^11 K (1<=kT<=24 MeV) within a Fermi-gas approach, including all nuclides from the proton-dripline to the neutron-dripline…
Layer-Stack Temperature Scaling
Recent works demonstrate that early layers in a neural network contain useful information for prediction. Inspired by this, we show that extending temperature scaling across all layers improves both calibration and accur…