Orply.

μP Stabilizes Learning-Rate Transfer as Models Grow Wider

Tatsunori HashimotoStanford OnlineFriday, November 27, 202615 min read

In a Stanford CS312 lecture, computer science professor Tatsunori Hashimoto argues that scaling a network’s width should not require retuning its optimal learning rate—or come at the cost of feature learning. He presents μP as a way to keep training stable and nontrivial across widths, then derives Muon as an optimizer that shapes matrix updates through an operator-norm constraint. Hashimoto says Muon’s gains may owe less to exact orthogonalization than to boosting small singular-value directions.

Width should not dictate the optimal learning rate

As models grow, an optimizer should not become unstable simply because the model is wider. Tatsunori Hashimoto frames the problem as a limit: let network width increase without bound while holding depth, training steps, input scale, and loss gradients fixed. The aim is not to solve the full dynamics of a neural network. It is to identify parameter scalings under which training remains stable and continues to change the model in a meaningful way.

Those are separate requirements. Stability means activations stay at constant scale and logits do not grow without bound as width increases. Nontriviality means the logits change by at least a constant amount at some point during training. A network with zero initialization or zero learning rate can be stable, but it does not learn. Hashimoto treats that distinction as essential: a stable infinite-width limit is not useful if it freezes the features.

The practical motivation is hyperparameter transfer. Engineers can tune a learning rate at each model size, but that repeats expensive work as models scale. The more useful goal is to arrange the parameterization so that the best learning rate stays roughly fixed across widths, with width-dependent adjustments handled by prescribed layerwise scalings. The theory asks why learning rates drift in the first place, and whether that drift can be removed by changing how the network is parameterized.

To make the question tractable, Hashimoto uses a multilayer perceptron as a stand-in for a transformer. Width is the only quantity sent to infinity; depth, training steps, input scale, and loss gradients remain fixed. Each layer is a matrix multiplication followed by a scalar multiplier and a nonlinearity, with a final readout producing logits. This abstraction is deliberately limited: it is intended to expose scaling behavior, not reproduce every detail of a language model.

The NTK limit is stable but suppresses feature learning

A familiar infinite-width construction illustrates why stability alone is insufficient. In the neural tangent kernel (NTK) limit, a two-layer network uses an output scaling of 1 over the square root of width, while keeping the learning rate of order one. As width grows, each weight changes by roughly the inverse square root of width. The network therefore stays close to its initialization.

That small movement permits a Taylor expansion around the initial parameters. In the limit, training behaves approximately like regression on the network’s initial gradient features, rather than like a neural network whose internal features change as it learns. The result is analytically convenient, but Hashimoto argues it misses a central benefit of neural networks: learning new representations through changes in their activations.

He points to word-embedding experiments shown in the lecture. The NTK embeddings leave cities and states overlapping rather than separating them into a useful semantic structure. On word-analogy tests after CBOW Word2Vec pretraining, the displayed NTK results are 0.0, while the μP results are 43.31 on text8 and 56.45 on fil9. The comparison also shows accuracy increasing across the displayed finite widths before reaching those μP values.

DatasetWidth 2⁶Width 2⁸Width 2¹⁰μPGP/NTK
text833.3541.5842.5643.310.0
fil944.3954.2455.6956.450.0
Word-analogy test accuracy after CBOW Word2Vec pretraining, as displayed in the lecture

Hashimoto’s point is that a well-behaved limit can still remove the feature learning that makes neural-network training useful.

There are stable limits that are not useful at all.

Tatsunori Hashimoto

The alternative is not to abandon infinite-width reasoning, but to vary the choices that produced the NTK limit. Hashimoto considers three sets of width-dependent choices: the scale applied to each layer’s output, the initialization scale of its weights, and the learning-rate scale. The question is whether those choices can jointly preserve stable activations and logits while allowing the network’s features to change.

μP makes width-dependent choices explicit

Hashimoto describes this family of analyses through the “abc-parameterization.” For each layer, the output multiplier scales as n to the power of negative a sub l, the weight initialization has variance n to the power of negative 2b sub l, and the learning rate scales as n to the power of negative c sub l, where n is width. The base learning rate is still present; the exponent specifies how each layer’s rate changes with width.

The first constraints concern activation stability at initialization. At the input layer, the input dimension is fixed, so a random matrix-vector product does not acquire a factor of the square root of n. The activation scale is therefore proportional to n to the power of negative a1 minus b1, and keeping it order one requires a1 + b1 = 0.

For a hidden layer, both dimensions of the matrix grow with width. If its input activations are already order one, multiplying by a random, width-scaled matrix contributes a factor of the square root of n. The resulting activation scale is n to the power of negative a sub l minus b sub l plus one-half. Keeping intermediate activations order one requires a sub l + b sub l = one-half.

The readout is different because its output dimension is fixed rather than growing with width. Its initialization condition is not the same equality required for hidden-layer activations: the readout exponent sum, a sub L+1 + b sub L+1, must be at least one-half to keep logits from diverging. The lecture’s table lists one-half or one, depending on the readout scaling being considered. This is a bound on the readout, not an order-one activation requirement for another hidden layer.

This is the same basic logic behind familiar initialization schemes. With Kaiming initialization, the hidden-layer weights scale like the inverse square root of fan-in. In exponent terms, the hidden-layer output multiplier has no width dependence and the initialization contributes b sub l = one-half, satisfying the hidden-layer stability condition.

Initialization stability does not say whether gradients remain controlled or whether updates change the model. Hashimoto extends the same order-of-magnitude reasoning backward through the network using the chain rule. Under the assumption that the loss gradient at the logits remains order one, the backward calculation resembles the forward one: multiplying by growing hidden matrices contributes square-root-of-width factors, while differentiating with respect to a weight removes the initialization-scale factor for that weight. Once activation stability is imposed, many width-dependent terms cancel, leaving additional constraints involving the output and readout layers.

The next step is to connect gradients to parameter updates. For SGD, the parameter update is proportional to the gradient, so its scale depends on both the gradient exponent and the learning-rate exponent. Adam is treated more coarsely: because its normalized update behaves roughly like the sign of the gradient, its entries have order-one scale before multiplication by the learning rate. In that approximation, update size is controlled mainly by c sub l. This is a leading-order account, not a derivation of Adam’s full momentum and second-moment dynamics.

The hardest part is stability during training. At time t, a hidden layer’s activation depends on both its updated weights and the updated activations from the previous layer. Expanding the product gives the initialization term plus three update contributions:

  • The original weights acting on the changed previous-layer activations, whose size is tracked by omega sub l.
  • The changed weights acting on the original activations, tracked by alpha sub l.
  • The changed weights acting on the changed activations, tracked by u sub l.

The alignment exponents describe how much larger or smaller each matrix-vector product is than a prediction based only on the sizes of its factors. Independent random objects give an exponent near one-half; full alignment can give an exponent near one. They are assumptions or measurements about the products, not quantities determined by the abc choices alone.

The activation change at layer l is tracked separately by r sub l: schematically, delta z sub l scales like n to the power of negative r sub l. A positive r sub l means the change vanishes as width grows. For feature learning to remain nontrivial at the final layer, the lecture sets r sub L = 0.

For Adam-like updates, each training contribution must remain no larger than order one. In a hidden layer, the three bounds give the conditions:

  • For the original weights acting on changed activations: r sub l−1 + one-half − omega sub l ≥ 0.
  • For changed weights acting on the original activations: a sub l + c sub l − alpha sub l ≥ 0.
  • For changed weights acting on changed activations: r sub l−1 + a sub l + c sub l − u sub l ≥ 0.

The first layer has a fixed-dimensional input, so its corresponding update condition is a1 + c1 ≥ 0. The readout has its own bounds: a sub L+1 + c sub L+1 − alpha sub L+1 ≥ 0; r sub L + a sub L+1 + c sub L+1 − u sub L+1 ≥ 0; and r sub L + b sub L+1 − omega sub L+1 ≥ 0. The readout’s fixed output dimension changes the initialization contribution, which is why its omega condition involves b rather than the hidden-layer one-half term.

These are training-stability constraints, distinct from the initialization constraints. Nontriviality adds another requirement: at least one contribution to the change in the logits must remain order one. Bounded updates alone can still yield a model whose outputs barely move.

The derivation tracks leading powers of width and assumes that leading-order terms do not cancel in a way that leaves only smaller terms. For stability, a lower-order remainder may still be harmless. For nontriviality, cancellation can erase the order-one change and leave a network that effectively does not learn. Hashimoto describes this as a useful but hand-wavy approximation: resolving all the constants needed to rule out such cancellations would be intractable in this setting.

The practical point is that the framework makes the choices visible. Different combinations of initialization, output scaling, learning-rate scaling, and alignment assumptions can produce stable, nontrivial limits. μP is one such parameterization, intended to preserve feature learning while allowing learning rates to transfer across widths.

Alignment changes during training, so the scaling answer is not unique

The alignment terms expose a limitation in any simple prescription. At initialization, the weights and activations are randomized, so Hashimoto says the relevant alignment begins near one-half, corresponding to the independent-random-object regime. During training, gradients create dependence between weights and activations. The measurements shown in the lecture indicate that alignment rises, but generally stabilizes below one and varies by layer, parameterization, and optimizer.

The slide reports measurements in hidden MLP layers and readout layers of 1.9-billion-parameter models, across eight transformer blocks labeled B0 through B7. The curves compare Adam under standard, NTK, μP, and mean-field parameterizations, using optimal global learning rates. The displayed metric is the log alignment ratio. Rather than converging to a single shared value, the curves vary across layers and configurations over training; Hashimoto’s summary is that alignment lies between 0.5 and 1.0 and is dynamic.

That makes it unclear which alignment assumption should guide a scaling rule. Assuming one-half is natural for initialization, but less representative later in training. Assuming full alignment may also be wrong. Hashimoto says dynamic adjustment might be possible in principle, but measuring alignment is cumbersome, and he is not aware of it being used that way.

The result is a practical rather than fully closed theory. Under a chosen alignment assumption, the exponent constraints identify compatible scalings. The choice of assumption remains a modeling decision, and the measured behavior does not reduce to one universal number.

The payoff can still be substantial. Hashimoto presents μP as a method for making optimal learning rates more stable as width changes, alongside more consistent behavior in logits, attention logits, and embeddings during training. The Tensor Programs work he discusses showed learning-rate transfer across widths in toy models and improved stability compared with standard parameterization. He also cites experiments in which appropriately scaled per-layer learning rates improve results across several parameterizations and optimizers.

The lecture’s learning-rate plots compare a global learning rate and per-layer learning rates under different alignment assumptions and choices of constants. Hashimoto’s point is not that every parameterization is automatically improved by μP. The experiments show that per-layer learning rates derived from the scaling analysis can help across several parameterizations, and that tuning their constant multipliers can further improve performance. In the displayed comparisons, the resulting configurations often perform better than a single global learning rate.

This is not simply a claim that one named parameterization always outperforms the others. Hashimoto says the experiments do not show μP at the bottom of every loss curve. Rather, per-layer learning-rate scalings derived from the width analysis can make several parameterizations behave similarly and, in the displayed comparisons, often perform better than using one global learning rate. The contribution is a way to reason about those scalings instead of fitting them only as opaque empirical laws.

Muon chooses updates by operator norm

The second part of the lecture asks whether an optimizer can enforce useful activation changes through the shape of its updates, rather than relying only on a carefully chosen parameterization. Hashimoto starts from gradient descent as a local optimization problem: minimize the linearized loss within a neighborhood around the current parameters, with an L2 penalty defining the neighborhood. That formulation makes the geometry explicit. Why should parameter-space L2 be the right constraint?

The μP analysis suggests a different geometry for matrix parameters. One term in the activation change is the weight update multiplied by the current activation. If the update is an isometry—its singular values are all one—then it preserves vector length. This gives a direct way to control that contribution to activation movement.

The proposed step is to minimize the inner product between the gradient and the update, subject to an operator-norm bound on the update. The operator norm limits the largest singular value, and its dual relationship with the nuclear norm gives a simple solution. If the gradient has singular value decomposition G = UΣV transpose, the minimizing update is proportional to negative UV transpose: retain the singular directions but replace their singular values with ones. Hashimoto calls this idealized Muon.

That solution treats matrix-valued parameters differently from scalar-valued ones. Matrix weights use the UV-transpose update; scalar parameters, such as normalization gains, use a conventional scalar optimizer. The idealized form explains the geometry, but is not itself the practical algorithm.

Practical Muon makes three changes. It applies momentum rather than the raw gradient, uses a Newton–Schulz iteration instead of an expensive singular value decomposition, and uses AdamW for scalar parameters. The central operation remains an approximation to the polar factor UV transpose, which removes the gradient’s singular-value magnitudes while retaining its singular vectors.

Newton–Schulz makes that operation feasible by replacing an explicit SVD with matrix multiplications. The identity G times (G transpose G) to the power of negative one-half equals UV transpose shows that the desired polar factor can be obtained from an inverse square root. Newton–Schulz approximates that inverse square root through repeated iterations; each step consists of matrix multiplications, operations suited to GPU hardware. Muon’s implementation uses a quintic polynomial variant with tuned coefficients rather than the basic cubic form Hashimoto uses to explain the idea.

The practical distinction is consequential. An exact SVD is accurate but expensive to perform inside every optimizer step. The iteration is a fast approximation, allowing the spectral update to be used in language-model training rather than remaining a theoretical construction.

Speed and scale make the approximation matter

Hashimoto points to Jordan Keller’s NanoGPT speedrun experiments as evidence that the extra matrix operations can pay off in wall-clock time. The slides show an optimizer comparison by time for a NanoGPT speedrun and a separate run scaled to 1.5 billion parameters. Hashimoto describes Muon as optimizing these language-model workloads quickly in the comparisons, including after the scale-up. The Newton–Schulz iterations, he says, are sufficiently fast to make the approach useful on a wall-clock basis.

The comparison matters because additional optimizer computation can erase gains in training progress if each update takes too long. Hashimoto contrasts Muon with more elaborate optimizers whose SVD-like operations can cost enough to prevent a wall-clock improvement. In Keller’s experiments, the approximate polar update avoids that bottleneck while retaining the reported speed advantage in the NanoGPT comparisons.

He also cites the Kimi technical report, “Muon Is Scalable for LLM Training,” as evidence from larger-scale training. The lecture shows plots comparing language-model loss against PFLOPs-days and MMLU score against training FLOPs, and Hashimoto says the report shows gains for Muon in those comparisons. The slide marks a 0.519× FLOPs result. Hashimoto also notes that Kimi’s K2 models use Muon.

The Kimi implementation includes practical adjustments. It adds weight decay to the Muon update. It also scales updates for rectangular matrices according to matrix shape, using a factor based on the square root of the larger dimension, and applies a multiplier of 0.2 to bring the update scale closer to AdamW’s average step size. Hashimoto says the report also includes QK-clip as a stabilizing measure. These choices show how the spectral update was adapted for that training setup, rather than implying that the idealized rule alone was used unchanged.

Muon may help by lifting neglected directions

The operator-norm account gives a principled motivation for replacing gradient singular values with ones. But Hashimoto cautions against treating that explanation as complete. One empirical motivation is that ordinary momentum and Adam updates for matrix-valued transformer parameters can be close to low rank: a few directions dominate, leaving other directions with small update magnitude. Orthogonalizing the update can raise the relative scale of those less represented directions.

The behavior of Muon’s practical quintic iteration makes the story less literal. Classical Newton–Schulz maps singular values toward one: values below one increase, and values above one decrease. Muon’s tuned quintic does not have the same fixed point. Its outputs can move above and below one, oscillating around it. After a small number of iterations, it rapidly pushes small singular values upward, but does not exactly produce a unit spectrum.

Follow-up results discussed in the lecture also question whether exact spectral whitening is the source of the gains. One study finds that applying a power of one-half to singular values can outperform the sign-like power of zero. Another reports that randomized or otherwise altered spectra can still train well. Hashimoto’s reading is that these findings weaken the claim that every singular value must become exactly one.

A more consistent explanation may be that small, difficult-to-update directions need a boost. Muon does that aggressively, even if its approximate spectrum is not the ideal polar factor. The lecture leaves open how much of the optimizer’s performance follows from the operator-norm geometry and how much comes from empirical effects that the clean derivation does not capture.

The theory is a guide, not a complete account

Hashimoto’s broader lesson is methodological. Optimization combines theory with empirical behavior; the useful first move is to identify the core phenomena—activation scales, feature changes, update norms, or singular values—and build an abstraction that isolates them. That abstraction can suggest an algorithm, but it also has limits. A noisy quadratic model, for example, would not by itself point to Muon’s treatment of matrix spectra.

μP and Muon address related problems from different directions. μP chooses initialization and layerwise scaling so that wider models can remain stable while continuing to learn features. Muon shapes matrix updates through an operator-norm constraint, approximated with Newton–Schulz iterations. Both aim to make optimization behavior more controlled as models scale, but neither account is a complete theory of training.

The useful result is a set of concrete questions: which quantities must remain bounded, which updates must stay non-vanishing, what geometry defines a reasonable step, and which directions in the gradient are being suppressed? Scaling analysis can make those questions precise enough to guide practice, while empirical tests reveal where the assumptions stop explaining the outcome.

The frontier, in your inbox tomorrow at 08:00.

Sign up free. Pick the industry Briefs you want. Tomorrow morning, they land. No credit card.

Sign up free