Learning Rate Transfer in Normalized Transformers

Boris Shigida, Boris Hanin, Andrey GromovNeurIPS 2026

TL;DR

Normalized Transformers (nGPT) train remarkably fast without needing weight decay or learning rate warmup, yet their optimal learning rates stubbornly drift as you scale up model size and data. By peering inside the network to measure how weights and activations actually align during training, the authors build $\nu$GPT—a modified parameterization that locks the optimal learning rate in place across width, depth, and training duration. You can now tune hyperparameters on a cheap toy model and scale up Normalized Transformers with confidence.

What Problem Does This Paper Address?

Training massive neural networks is an expensive game of darts, and guessing the wrong learning rate can ruin a multi-million-dollar run. To avoid tuning hyperparameters at scale, researchers use hyperparameter transfer (popularized by $\mu$P, or Maximal Update Parameterization): you find the sweet-spot learning rate on a tiny model and use mathematical scaling rules to transfer that exact setting to a giant one.

Recently, an architecture called the Normalized Transformer (nGPT) shook up the landscape. By enforcing strict $\ell_2$-normalization on weights and activations—confining vectors to the surface of a hypersphere—nGPT eliminates the need for weight decay and learning rate warmup while speeding up training. However, despite having built-in scaling factors, nGPT fails at learning rate transfer. As you make the model wider, deeper, or feed it more tokens, the optimal learning rate shifts unpredictably. Moreover, slapping standard $\mu$P rules onto nGPT still leaves a noticeable drift. The authors set out to find the true scaling laws of this normalized world.

Methods

To build $\nu$GPT, the authors combine theoretical first principles with empirical measurements to ensure every layer learns stably at the same pace, regardless of scale. Instead of taking standard $\mu$P assumptions on faith, they measure alignment exponents—metrics quantifying how strongly weight updates correlate geometrically with incoming activations during Adam optimization.

Based on these measurements and empirical power-law fits, $\nu$GPT introduces specific scaling multipliers ($m_{\text{width}}$, $m_{\text{depth}}$, and $m_{\text{data}}$) relative to a small base model:

  • Width scaling ($m_{\text{width}}$): Because weights and activations in nGPT exhibit "mid-alignment" (an exponent of $3/4$, sitting squarely between random orthogonality at $1/2$ and perfect alignment at $1$), hidden layer and unembedding learning rates are scaled by $m_{\text{width}}^{-3/4}$ (unlike $\mu$P’s $m_{\text{width}}^{-1}$). Input embeddings scale by $m_{\text{width}}^{-1/2}$, and output logit rescalers initialize at $m_{\text{width}}^{1/2}$.
  • Depth scaling ($m_{\text{depth}}$): In nGPT, standard residual connections are replaced by learnable linear interpolations (LERPs). $\nu$GPT scales the initial interpolation weights for attention and MLP blocks by $0.05 \, m_{\text{depth}}^{-1}$ and fixes their internal learning-rate scale factors to a constant $0.03$.
  • Token horizon scaling ($m_{\text{data}}$): When training for more steps at a fixed batch size, the global learning rate is scaled down by $m_{\text{data}}^{-1/3}$.

Datasets

All models were trained and evaluated using the FineWeb-Edu dataset (with a sequence length of 4,096 and batch size of 64), tokenized via the OLMo 2 tokenizer (vocabulary size of 100,352). No new benchmarks were introduced.

Key Insights and Ideas

  • $\mu$P isn't the only game in town: Standard $\mu$P assumes a worst-case, "full alignment" scenario between weights and activations. In the tightly controlled environment of nGPT, the authors empirically observe "mid-alignment." Accounting for this reality yields cleaner width transfer than $\mu$P, proving $\mu$P is not the unique parameterization capable of maximal feature learning.
  • Normalized worlds are great laboratories: Because nGPT achieves strong performance with zero weight decay and unit-normed matrices, it strips away major mathematical confounders. This allowed the authors to keep output logits at a natural order-1 scale from initialization through training, rather than shrinking them to zero at initialization like $\mu$P requires.
  • Theory vs. reality on data horizons: Recent stochastic differential equation (SDE) theories predict that as you increase training iterations, the optimal learning rate should decay with an exponent of $-1/2$. Empirical sweeps here decisively show $-1/2$ is too aggressive; the true sweet spot follows a $-1/3$ power law, matching recent empirical findings in standard, un-normalized Transformers.

Key Results

The authors tested $\nu$GPT across isolated width sweeps (from 8 to 40 heads, up to ~21B tokens) and joint "compute-optimal" scaling (20 tokens per non-embedding parameter, scaling $n_{\text{layers}} = n_{\text{heads}}$ from 8 up to 22).

Figure 1: Different model sizes at fixed aspect ratio nlayers = nheads (in the legend, with the best loss in parentheses) and “compute-optimal” 20 tokens per parameter. The baseline nGPT does not show learning rate transfer. Our parametrization νGPT does, and performs no worse or slightly better. The points are averaged over three initialization seeds and no validation loss EMA is used.
  • Locked-in transfer: As seen in the compute-optimal scaling sweeps above, the optimal base learning rate (red stars) in baseline nGPT drifts across more than two orders of magnitude—from $2^{-9}$ in smaller models down past $2^{-11}$ in larger ones. In $\nu$GPT, the optimal learning rate stays locked right around $2^{-10}$ across all model scales.
  • Outperforming $\mu$P: In pure width sweeps (up to 40 attention heads), adapting standard $\mu$P ("CompleteP") to nGPT still resulted in a slight rightward drift in optimal learning rate, whereas $\nu$GPT's $m_{\text{width}}^{-3/4}$ prescription kept the optima vertically aligned.
Figure 2: Width sweeps with nheads increasing (in the legend, with the best loss in parentheses), head dimension and nlayers = 12 fixed, 80 000 iterations (about 21 B tokens). Our parametrization νGPT shows essentially perfect transfer with no loss of performance.
  • Zero performance tax: Across all runs, $\nu$GPT matched or slightly beat the validation loss of well-tuned baseline nGPT models (e.g., both achieved a 2.421 validation loss at the largest 22-layer compute-optimal scale, and $\nu$GPT edged out nGPT 2.843 to 2.852 at the 12-layer scale).

Limitations and Future Work

While $\nu$GPT works remarkably well in practice, several observations outpace current mathematical theory:

  • The $-1/3$ data exponent: The $m_{\text{data}}^{-1/3}$ token horizon rule is purely empirical; deriving this $1/3$ exponent analytically remains an open theoretical puzzle.
  • Depth scaling mysteries: In ablations, the authors noticed that baseline nGPT already transfers decently across depth (likely because its learnable residual gates start small), and hidden learning rates curiously didn't need adjustment even when testing alternative $m_{\text{depth}}^{-1/2}$ gate scalings.
  • Theoretical next steps: The authors highlight explaining why $\mu$P's alignment assumptions break down in toy models, building a complete theory of depthwise transfer in normalized architectures, and understanding the dynamics of weight decay in models that still rely on it.

Summary updated

Abstract

The Normalized Transformer, or nGPT (Loshchilov et al., 2025) achieves impressive training speedups and does not require weight decay or learning rate warmup. However, despite having hyperparameters that explicitly scale with model size, we observe that nGPT does not exhibit learning rate transfer across model dimension and token horizon. To rectify this, we combine numerical experiments with a principled use of alignment exponents (Everett et al., 2024) to revisit and modify the $\mu$P approach to yperparameter transfer (Yang and Hu, 2021). The result is a novel nGPT parameterization we call $\nu$GPT. Through extensive empirical validation, we find $\nu$GPT exhibits learning rate transfer across width, depth, and token horizon.
BibTeX
@inproceedings{shigida2026learning,
  author = {Boris Shigida and Boris Hanin and Andrey Gromov},
  title = {{Learning Rate Transfer in Normalized Transformers}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7XqhkHZeJq},
}
Figure