Pretraining Large Language Models (LLMs) is a multi-million dollar endeavor. To optimize resource allocation, researchers rely on scaling laws to predict the best hyperparameters—such as learning rate—for massive models by testing them on smaller "proxy" models. The current gold standard for this process is Maximal Update Parametrization ((\mu)P). However, recent empirical evidence suggests that (\mu)P fails to account for the massive vocabulary sizes used in modern LLMs, leading to suboptimal performance.
This paper identifies a "blind spot" in current scaling theories and introduces the Large Vocab (LV) Regime. By accounting for vocabulary size, the authors propose a new (\sqrt{width}) scaling rule that significantly improves pretraining efficiency and hyperparameter transfer reliability.
The Limitation of Standard (\mu)P
Standard (\mu)P theory assumes that the vocabulary size ((m)) remains fixed while the model width ((d)) scales toward infinity. In practice, LLM vocabularies are enormous (often (m \gg d)) and frequently grow as models scale. This discrepancy creates a mismatch between theoretical predictions and empirical reality.
Under standard (\mu)P, the optimal learning rate for the embedding layer is expected to remain constant as width increases. The authors demonstrate that this assumption breaks down in the Large Vocab regime due to a "signal dilution" effect: as the number of tokens increases, the signal strength in embedding layer updates is diluted, requiring a higher learning rate than (\mu)P predicts.
Methods and Parametrization
The researchers combined theoretical analysis of training dynamics with large-scale empirical validation. They analyzed a simplified linear network using SignSGD (an element-wise normalized optimizer similar to Adam) and integrated the Zipf-Mandelbrot law to accurately model natural language token frequencies.
Based on this analysis, the authors proposed Large Vocabulary Parametrization (LVP). While standard (\mu)P implies that the ratio of the embedding learning rate ((LR_{emb})) to the hidden layer learning rate ((LR_{hidden})) should scale as (\Theta(width)), the new rule suggests it should scale as (\Theta(\sqrt{width})).
Key Results and Empirical Validation
The theory was tested using both the Wikitext2 dataset for small-scale verification and a massive 1.75 trillion token corpus to pretrain a 1B parameter Transformer.
Key findings include:
- Improved Convergence: Pretraining a 1B parameter model using the (\sqrt{d})-rule resulted in consistently lower perplexity compared to standard baselines.
- Predictable Scaling: Experiments confirmed that the optimal embedding learning rate follows a (\Theta(d^{-1/2})) trend relative to the hidden LR, validating the theoretical prediction.
- Robust HP Transfer: LVP makes hyperparameters tuned on small models significantly more effective when applied to large-scale models, reducing the need for expensive re-tuning.
Conclusion
By bridging the gap between (\mu)P theory and the reality of large-vocabulary LLMs, this work provides a practical, mathematically grounded fix for hyperparameter scaling. While future work may explore per-token tuning based on individual frequencies, the (\sqrt{d})-rule offers an immediate improvement for efficient feature learning in modern Transformer architectures.
Summary updated