TL;DR
This paper introduces a rigorous mathematical framework to quantify how cleanly hyperparameters transfer from small to large neural networks. Using this framework, the authors reveal a surprising insight: the widely celebrated success of Maximal Update Parameterization ($\mu$P) over standard methods isn't due to its complex global theory, but simply because it avoids bottlenecking the learning rate of the embedding layer.
What Problem Does This Paper Address?
Training modern Large Language Models (LLMs) with billions or trillions of parameters is incredibly expensive, making it impossible to run traditional hyperparameter sweeps at scale. To bypass this, researchers use hyperparameter transfer—finding the optimal learning rate or weight decay on a small "proxy" model and scaling it up. Maximal Update Parameterization ($\mu$P) has become the gold standard for this because it keeps the optimal learning rate stable across different model widths.
However, the theoretical foundations of $\mu$P rely on highly idealized assumptions (like infinite width with a finite number of training steps, no learning rate warmup, and fixed dataset sizes) that do not hold in real-world training. This leaves two major gaps: we lack a formal way to measure and compare the quality of hyperparameter transfer across different setups, and we don't truly understand why $\mu$P works so well in practice when its theoretical assumptions are routinely violated.
Methods
The authors first establish a quantitative framework to evaluate hyperparameter transfer using three distinct metrics derived by modeling the loss landscape around the optimal learning rate:
- Loss Predictability Error ($\mathcal{E}$): Measures how cleanly the loss across different widths fits a predictable power-law scaling law. High error signifies training instabilities or unpredictable behavior.
- Transfer Robustness Exponent ($\kappa$): Determines whether the loss landscape flattens ($\kappa \le 0$, robust) or sharpens ($\kappa > 0$, brittle) as the model grows, dictating how severely a small error in the transferred learning rate will penalize performance at scale.
- Asymptotic Loss Degradation ($\mathcal{R}(\infty)$): Quantifies the absolute performance penalty incurred at infinite width compared to an ideally parameterized model.
Using these metrics, they perform a comprehensive 16-way ablation study on a GPT-style architecture trained with AdamW, systematically swapping the four core differences between Standard Parameterization (SP) and $\mu$P: embedding layer learning rate, last-layer initialization variance, LayerNorm learning rate, and attention scaling.
Datasets
The primary experiments are conducted using FineWeb-Edu for pre-training GPT-style decoder-only Transformers. To verify if their insights generalize beyond Transformers, they also evaluate convolutional neural networks (CNNs) on the CIFAR-100 image classification dataset. No new benchmarks were introduced.
Key Insights and Ideas
- The Embedding Layer is the Real Bottleneck: In Standard Parameterization (SP), a uniform learning rate reduction ($1/n$) is applied to all layers as width $n$ increases. While this is mathematically necessary for hidden layers (which sum activations over the width dimension), it severely throttles the embedding layer, which is a simple per-token lookup. $\mu$P naturally keeps the embedding learning rate at $\mathcal{O}(1)$.
- A One-Line Fix for SP: Simply changing the embedding layer learning rate in SP to match $\mu$P's scaling (SP+Embd) eliminates training instabilities, smoothing out the loss curves and matching $\mu$P's transfer performance entirely.
- The Boundary Effect: This phenomenon isn't unique to Transformers. The same behavior occurs in CNNs on CIFAR-100: scaling up the learning rate of the first, input-facing layer stabilizes hyperparameter transfer. Input and output layers sit at the boundaries of networks without upstream or downstream layers to compensate for poor training, making their tuning critical.
- Weight Decay is a Double-Edged Sword: Weight decay regularizes the loss landscape, improving predictability ($\mathcal{E}$). However, in compute-optimal settings (where tokens scale with parameters), it actually degrades transfer robustness ($\kappa$).
Key Results
- As shown in the metrics visualization, fixing the embedding learning rate in SP (SP+Embd) dramatically reduces the predictability error $\mathcal{E}$ from 0.0110 to 0.0005, outperforming standard $\mu$P (0.0034) in landscape cleanliness.
- Both $\mu$P and SP+Embd achieve robust transfer with highly negative robustness exponents ($\kappa \approx -2.7$ and $-2.3$ respectively), meaning their loss landscapes flatten out at scale, making them forgiving to minor learning rate miscalculations.
- The authors demonstrate that learning rate warmup is absolutely essential for stable transfer; shortening warmup to 1-5% reintroduces severe training instabilities across widths.
Limitations and Future Work
The study is limited to decoder-only Transformers up to approximately 1 billion parameters with a fixed depth, trained using a single random seed per configuration due to the immense computational cost of the hyperparameter sweeps (which consumed ~160,000 H100 GPU hours).
Additionally, the authors note that standard weight decay scaling conventions break down in compute-optimal regimes where the training horizon scales quadratically with width ($T \propto n^2$). Developing a mathematically sound scaling law for weight decay under compute-optimal scaling remains an open and crucial direction for future work.
Summary updated