Abstract
Standard regularization techniques like weight decay are essential for stabilizing Large Language Model (LLM) training. However, this study reveals a "Fair Language Model Paradox": weight decay disproportionately degrades performance on rare tokens. Because these low-frequency tokens constitute the vast majority of a language's vocabulary, aggregate metrics like average training loss mask a significant bias toward common words, leading to models that neglect the "long tail" of human speech.
Introduction
In LLM development, success is typically measured by aggregate metrics such as average training loss or perplexity. While a decreasing average loss suggests improvement, this paper identifies a fundamental flaw in this assumption. Language follows a Zipfian distribution, where a tiny fraction of tokens (e.g., "the", "and") appear with extreme frequency, while the vast majority are rare.
The authors demonstrate that weight decay ($L_2$ regularization) does not affect the vocabulary uniformly. Instead, it creates a "Minority Collapse" effect, where the model's ability to represent infrequent tokens is penalized far more heavily than its ability to represent common ones. Because rare tokens contribute so little to the average loss, this degradation remains "silent" to practitioners monitoring standard training curves.
Methodology
The researchers evaluated the impact of weight decay ($\lambda$) ranging from 0.0 to 2.0 across several model architectures and sizes:
- Models: Apple’s OpenELM (270M, 3B) and Alibaba’s Qwen2 (0.5B, 1.5B).
- Datasets: IMDB and IMDB-xl, utilizing a Byte Pair Encoding (BPE) tokenizer.
- Metrics:
- Token-Balanced Loss: A metric that weights every token type equally, regardless of frequency.
- Per-Token Learning Speed: Measured as the Area Under the Curve (AUC) of the loss trajectory for specific tokens.
- Theoretical Basis: The Unconstrained Features Model (UFM) was used to explain the mathematical underpinnings of minority collapse in high-dimensional embedding spaces.
The Silent Performance Drop
The most critical finding is the disparity between common and rare token performance as regularization increases. While high-frequency tokens maintain low loss regardless of weight decay, low-frequency tokens suffer significantly.
As shown in the figure above, the "blue" (low-frequency) token loss climbs sharply as $\lambda$ increases, while the "orange" (high-frequency) loss remains flat. This trend is consistent across different model families and scales, suggesting a fundamental property of transformer training dynamics.
Key Results and Insights
The study highlights several key phenomena:
- The 95/0.01 Rule: In the IMDB dataset, just 0.01% of the top tokens account for 95% of the total token mass. This extreme imbalance allows models to ignore 99.99% of the vocabulary while still achieving excellent average scores.
- Loss Disparity: Quantitative analysis shows that as $\lambda$ moves from 0.0 to 1.0, average training loss increases only slightly (from 0.051 to 0.068), but the token-balanced loss nearly triples (from 0.066 to 0.163).
- Learning Speed Gap: High-frequency tokens are learned much faster. Weight decay acts as a "brake" that disproportionately slows down the learning of rare tokens.
Conclusion and Future Work
This research bridges the gap between computer vision and NLP by demonstrating that "Minority Collapse" is a pervasive issue in language modeling. While weight decay is necessary for stability, its current implementation creates an inherent bias against the diversity of language.
Future work is required to determine if frontier-scale models eventually overcome this bias through sheer volume of data and to develop new regularization techniques that provide stability without sacrificing the long tail of the distribution.
Summary updated