How µP and Muon keep neural-network training stable as models widen

Stanford’s Tatsunori Hashimoto explains why scaling rules enable learning-rate transfer and how Muon boosts weak update directions.

THTatsunori HashimotoSpeaker · Assistant Professor of Computer Science
Channel
Stanford Online
Published
Nov 27, 2026
Video
1:08:53
Read
14 min
Original
English
Open on YouTube
Scroll to read and the video shrinks to the bottom-right corner. Captions follow your reading language.
Reading languageAvailable in 2 languages
You're reading the original English.
SUMMARY

In 30 seconds

A model that trains stably as it gets wider must still learn useful features. Stanford researcher Tatsunori Hashimoto explains how µP adjusts layer scaling and learning rates so settings from a small model can transfer to wider ones. He then connects that goal to Muon, an optimizer that changes matrix updates and has shown gains at scale. Its practical iteration rapidly boosts small update directions, though he cautions that the neat mathematical explanation is not the whole story.

  1. 1A stable infinite-width model can stop learning featuresIn the neural tangent kernel limit, weights barely move and the network acts like regression on fixed features. Hashimoto shows an embedding example with almost zero word-analogy performance.
  2. 2Scaling rules can let a learning rate transfer across widthsThe engineering goal is to tune a small model and use width-dependent layer scaling to preserve a suitable base learning rate in a larger one.
  3. 3Alignment changes during training, complicating the theoryMeasured dependence between weights and activations grows from near the random regime and settles below full alignment. Hashimoto says this makes the correct assumption unclear.
  4. 4Muon controls matrix updates with a different measure of sizeThe idealized optimizer selects a step inside an operator-norm ball, bounding how much a matrix can stretch a vector.
  5. 5Muon has shown gains beyond toy modelsIts efficient iteration improved a NanoGPT speedrun, and the Kimi team reported large-scale gains with additional practical adjustments.
  6. 6Boosting small directions may matter more than exact normalizationThe tuned iteration quickly raises small singular values but oscillates around one. Follow-up variants also train well without perfectly equalizing them.

Takeaways

  1. Stable training alone is not enough: features and outputs must still change as width grows.
  2. Choose width-aware, layer-specific learning-rate scaling when transferring settings from small models.
  3. Muon uses efficient matrix multiplications to reshape matrix updates while a separate optimizer handles scalar parameters.
  4. Hashimoto says experiments point to boosting small singular-value directions, not exact equalization, as a possible reason Muon works.
  5. Check where a scaling argument relies on assumptions about alignment and cancellation.
FULL TEXT

Read the edited text by chapter

Transcript only
01

Why scaling needs both stability and learning

A stable large-width limit is useful only if the network continues to learn features. Hashimoto uses the neural tangent kernel as a stable but unproductive counterexample.

As models become larger, I want training to stay stable and efficient. One way to reason about that is to ask what our optimizer would do if the network could become arbitrarily wide: a useful algorithm should still behave sensibly in that limit.

Previously we fitted scaling laws to quantities such as the best batch size or learning rate as compute changed. Here I want a mechanical explanation for why those settings must change at all, and what principles could keep them stable.

The practical question is why a setting that works for a smaller network should need to move as the network grows. A scaling argument tries to predict that movement rather than treating every larger model as an entirely new tuning problem.

The plan is to write down a simplified training model, identify the adjustable quantities, and see how their effects change as the model grows. That relationship between scale, interventions and behavior will give us rules of thumb for language models.

I will follow an analysis by Everett and colleagues, alongside work by Greg Yang and others. We scale only the network width toward infinity, while holding depth, number of steps, input size and loss-gradient scale fixed relative to width.

A transformer has too many moving parts for this first calculation. Instead we use a stack of simple layers: each applies a matrix multiplication, a scalar multiplier and a nonlinearity, followed by an output layer that produces logits for the loss.

We want two properties. First, stability means the activations and outputs do not grow without bound as width increases. That is important, but stability alone can be obtained by making every learning rate zero.

The second condition is non-triviality: at some point in training, the outputs should actually change by an amount that does not vanish as the width grows. It is a weak requirement; it says only that the network does something, not that it performs well.

The neural tangent kernel illustrates why stability is not enough. Consider a simple two-layer network with output scaled by the inverse square root of width and a fixed learning rate. As width increases, its weights move less and less from their initial values.

In that limit we can approximate training near initialization and obtain a regression on fixed gradient features. The result is mathematically convenient, but its features barely change, so it misses the feature learning that makes neural networks useful.

In a word-embedding example, the neural tangent kernel obtains almost zero performance on word analogies, and the resulting embeddings do not separate semantic groups as ordinary network training can. The lesson is that a stable limit may still be practically useless.

To look for both stability and meaningful learning, we can vary three things for each layer: the output multiplier, initialization scale and learning rate. The question behind maximal update parameterization, or µP, is whether those choices can keep learning well behaved as width grows.

02

Three knobs for a scalable network

The abc parameterization separates output scaling, initialization and layer-specific learning rates. These choices can make it easier to transfer settings from small networks to wide ones.

Why use a scaling limit at all? Besides the scientific question of how a model should behave as it becomes large, there is an engineering payoff: tune a small model and transfer a base learning rate to a bigger one while applying the right width-dependent scaling underneath.

The argument holds other dimensions fixed while width grows. It is a deliberately narrow limit: a separate analysis would be needed for a different scaling variable, such as depth.

In this simplified example the hidden layers share width n, while the input and output dimensions remain fixed. Stability here means stable as n grows, not necessarily that every layer has the same activation magnitude.

The abc parameterization gives a precise way to describe the three knobs. Per layer, exponent a controls output scaling, b controls initialization and c controls the learning-rate multiplier, all expressed as powers of width.

We also assume the input size does not grow with width, as would be reasonable with a fixed tokenizer. The task is to find choices of a, b and c that yield stable, non-trivial limits for the first, middle and final layers.

03

Controlling activations and gradients at initialization

A simplified model reveals different constraints for the first, hidden and final layers. Kaiming-style initialization satisfies activation stability at the start but says less about later training.

Start with stability at initialization, the problem addressed by Kaiming and Glorot-style initializations. I use induction: analyze the first layer, then ask what happens to a stable input as it passes through the next layer.

The input dimension stays fixed, so the first layer's typical activation scale follows from its weight initialization and output multiplier. In this notation the exponents a and b must add to zero for that scale to remain constant with width.

This is a simplified scaling argument: I ignore nonlinearities, which under suitable randomness can contribute only a constant factor. A fully precise proof would be much more involved, and actual constants can matter even when they do not scale with n.

The activation function can also matter, especially when we require lower as well as upper bounds. The calculation is a deliberately rough way to understand orders of magnitude, not a complete account of all network behavior.

For a middle layer, both dimensions of its weight matrix grow with width. A random matrix-vector product adds a square-root-of-n factor, so maintaining a constant activation scale now requires the relevant a and b exponents to sum to one half.

Applying the same reasoning across layers gives different constraints for the first, intermediate and final layers. The last output need not have exactly constant scale in this stability condition, so its condition is an inequality.

Kaiming initialization fits this stability picture: its scale depends on the square root of the number of inputs, keeping activations controlled at initialization. But that is just the warm-up; we still need stability throughout training and output changes that do not disappear.

To reason about training updates, we first need the gradients. At initialization, backpropagation resembles the forward calculation: ignoring nonlinearities, we multiply by transposed matrices while working backward from a loss assumed not to blow up with width.

The forward calculation begins with activations, but the backward calculation begins at the loss. By assuming that loss gradients stay at a fixed scale, we can follow the dimensions through the layers in reverse.

The terminal rectangular layer and the square hidden layers contribute different width factors, just as they did in the forward pass. Once the activation-stability conditions are applied, many factors cancel and only a few additional gradient constraints remain.

The final parameter derivative also differs from the preceding matrix products: differentiating with respect to the weight removes that final weight factor. With those gradient scales in hand, we can ask how the optimizer turns them into parameter changes.

For stochastic gradient descent, the parameter change is a scaled gradient. Adam is more complicated, but for this order-of-magnitude argument I approximate it as sign SGD: each coordinate is roughly positive or negative one, so the learning-rate scale largely determines its update size.

These gradient exponents describe the scale entering the optimizer, not the full trajectory. To understand the trajectory we also need a model of what the chosen optimizer does to them.

The hardest part is stability throughout training, because activations change after each update. We can express a layer's current weights as their initial values plus their changes, and do the same for the previous layer's activations.

04

What changes when the network trains

Expanding the updated weights and activations produces alignment-dependent terms. Their growth must be controlled throughout training, and assumptions about cancellation limit the argument.

Expanding that product yields four terms. One is the initialization behavior we already controlled; the other three combine initial weights or activations with their changes during training. Each must be kept under control.

Those products depend on how aligned their factors become. I introduce alignment exponents as placeholders for how much larger a matrix-vector product is than a naive multiplication of the sizes of its components would suggest.

A matrix-vector product can scale differently depending on whether the entries behave independently or point in related directions. The alignment variables record this dependence rather than pretending that every product has the same scaling.

A student asks whether an independence assumption involving a weight matrix and its transpose has already been used. I am unsure whether it is needed in the gradient step and will check, but agree that independence assumptions become important in the following analysis.

We repeat the induction for updated activations. In the first layer the input is unchanged, so only the weight update is new. A change that grows with width would make the activation unstable, giving a constraint on the layer's scaling and learning rate.

For the first layer, subtracting the activation before the update from the activation after it isolates the effect of the weight change. Keeping that difference bounded is necessary for the result not to explode, though it is not by itself a full proof.

For later layers, the three extra products reappear. Their sizes involve both the known scales of their factors and the alignment exponents. Requiring each contribution not to grow produces additional inequalities for an Adam-like optimizer.

The final logits follow a similar calculation, although a cancellation supplied by the hidden-layer initialization is absent. We end up with a collection of layer-specific constraints rather than a single universal learning-rate rule.

A student asks what the extra variables mean. One exponent describes the size of the activation change during training; setting it to zero keeps those changes from vanishing as width grows, which is what we want for feature learning.

The alignment exponents capture assumptions about dependence between quantities such as weights and activations. Independent random objects produce a square-root-of-n effect, corresponding to an exponent of one half; fully aligned objects correspond to an exponent of one.

The derivation has an important gap: leading-order terms can cancel each other. Assuming they do not saves a calculation of constants that may be intractable, but the assumption needs to be remembered when interpreting the resulting constraints.

The analysis uses leading-order sizes rather than calculating every constant. If two large contributions cancel, the remainder may have a different scale, so the shortcuts are useful but not automatically rigorous.

Non-triviality adds a condition that at least one contribution to the output change remains of constant order. If leading terms cancel, even that apparent contribution might disappear, which is why the no-cancellation assumption matters.

The resulting table gives families of parameterizations. Choose assumptions about alignment, require non-vanishing feature changes, and select a, b and c values satisfying the inequalities. Different initialization and per-layer learning-rate choices can satisfy the same broad constraints.

The table compares different possible choices of scaling exponents under different alignment assumptions. Requiring the feature-change exponent to be zero expresses the desire for learning that remains visible in the wide limit.

Which alignment should we choose? Everett and colleagues measured it and found that it changes during training. It starts near the random, one-half regime, increases as weights and activations become correlated, and settles below full alignment in their measurements.

That makes the right assumption unclear: one half may describe initialization but not later training. A student suggests changing the alignment variable dynamically; in principle that is possible, although measuring it is itself inconvenient and I do not know of it being done.

Greg Yang and colleagues' µP is one particular parameterization in this broader family. Their simple-model experiments showed that the best base learning rate can transfer as width changes, while outputs, attention logits and embeddings behave more consistently during training.

05

What µP experiments do and do not show

µP and related layer-wise scaling choices can stabilize learning rates across widths. The optimal alignment assumption changes during training and the parameterization is not always the best performer.

The broader experiments also find stable learning-rate behavior over a range of widths. With appropriate scaling and per-layer rates, several parameterizations can behave well; drifting learning rates are not necessarily an unavoidable property of the standard parameterization.

Across the settings shown, respecting the scaling and adjusting learning rates by layer can give more stable, higher-performing results than trying to fit one global rate. The calculations provide a way to reason about those choices instead of only fitting a curve after the fact.

The goal of µP is stability together with feature learning, here as width grows. This resembles the earlier noisy-quadratic analysis: rather than solve all details of training, we seek large-scale behavior through approximate order-of-magnitude calculations.

µP is not always the best-performing parameterization in every plotted comparison. In these experiments, appropriately scaled per-layer rates often make different parameterizations perform similarly and generally improve over a single global rate.

A student asks why cancellation is catastrophic. It may be harmless for an upper-bound stability argument, but it can defeat non-triviality: terms expected to produce a constant-size change could cancel and leave a change that vanishes with width.

06

From activation control to Muon

An operator-norm constraint offers another way to control how parameter updates move activations. Its idealized solution uses the singular vectors of the matrix gradient.

Now consider a different route from µP to optimization. Rather than controlling activation changes indirectly through several scaling constants, perhaps we can choose weight updates from a region that directly limits how far activations move.

Ordinary gradient descent can be written as minimizing a local linear approximation plus an L2 penalty. That choice defines a geometry in parameter space; we can instead ask whether a different notion of distance better captures the change we care about.

One of the relevant activation-change terms is the weight update multiplied by an activation. If an update acts as an isometry, preserving vector length, we can control that term directly. This motivates looking at the operator norm, which bounds how much a matrix can stretch a vector.

I can formulate a descent step inside a ball defined by the operator norm rather than an L2 penalty. The resulting constrained problem leads to what I call idealized Muon: a conceptual optimizer that makes the connection to the activation constraint explicit.

For a matrix gradient, take its singular value decomposition, discard the singular values, and use the two singular-vector factors multiplied together as the update, scaled by the chosen radius. This is the solution to the idealized operator-norm problem.

Apply that matrix update to the internal matrix parameters. Scalar parameters, such as normalization gains, still need an ordinary optimizer; in practice Adam is a natural choice for those rather than leaving them untouched.

07

Making the update practical on GPUs

Practical Muon uses momentum and Newton–Schulz matrix multiplications instead of a costly decomposition. Large-scale implementations also handle scalar parameters and update magnitudes separately.

Practical Muon differs from the idealization. It uses momentum, and it avoids a full singular value decomposition at every step because that would be too expensive. Instead it uses an iteration that is better matched to accelerator hardware, while AdamW handles scalar parameters.

The recipe takes the gradient, forms momentum, applies a Newton–Schulz transformation and uses the result for the matrix update. The transformation approximates the operation of removing singular-value magnitudes without explicitly computing the decomposition.

To see the iteration, suppose for simplicity that the gradient matrix is square. The same ideas can be adapted to rectangular matrices. A matrix inverse-square-root expression produces the desired singular-vector product by acting on the singular values.

We still do not want to compute that inverse square root directly. Newton–Schulz instead repeatedly applies a fixed-point transformation: once it reaches the desired solution, another application leaves the result unchanged.

The key practical advantage is that the iteration consists of matrix multiplications, which GPUs perform efficiently. A few steps approximate the transformation; Muon's actual implementation uses a quintic version with modified coefficients rather than the simpler cubic illustration.

Keller Jordan applied Muon in the NanoGPT speedrun and found wall-clock improvements despite the extra iteration. Later work found gains at larger scale too, which matters because many sophisticated optimizers lose their theoretical benefit to the cost of their operations.

The Kimi team reported large-scale results and used Muon in models including Kimi K2. Their practical version adds weight decay for norm control and adjusts Muon updates to make their scale more comparable with AdamW updates on other parameters.

For rectangular matrices, the team scales updates by matrix shape and uses an additional factor of 0.2 to bring the update scales roughly together. Its report also describes other stabilizing changes; the useful result comes with these practical details.

08

Why Muon may help underused directions

Muon quickly boosts small singular values rather than exactly making them all one. Follow-up experiments suggest amplifying hard-to-update directions may matter more than perfect equalization.

Why does Muon work? The operator-norm story is one mathematical motivation. Another empirical intuition is that gradients may be effectively low-rank, and replacing their singular values can give more weight to directions that otherwise receive small updates.

There is a complication in the clean story. The tuned quintic Newton–Schulz iteration used by Muon does not converge neatly to one for every singular value: it pushes small values upward quickly and then oscillates around one.

A classical iteration would gradually move values toward its fixed point at one. With only five steps small values can remain far away. Muon's modified iteration raises them much faster, though it does not perfectly equalize them.

Follow-up experiments vary the power applied to singular values. In the example I show, a power of one half works slightly better than the zero power associated with taking the sign, suggesting that exact flattening is not necessarily the essential ingredient.

Other work even randomizes singular values or applies different curves and still finds Muon-like convergence. A common possibility is that boosting small, hard-to-update directions matters more than making every singular value exactly one.

The path from µP's update constraints to an operator-norm optimizer is useful, and polar decompositions become practical through Newton–Schulz. But I would not overfit to this story: the theoretical account is broadly informative, not a perfect explanation of everything the optimizer does.

09

Where the theory ends

Scaling models are useful abstractions, not complete descriptions of training. Hashimoto closes by asking students to isolate a phenomenon, build from a model and test where it breaks.

For the optimization unit, identify the phenomenon first, such as weight norms or noisy batches; choose an abstraction that isolates it; then build an algorithm and ask where that abstraction fails. A noisy quadratic model, for example, would not by itself suggest Muon's matrix-spectrum treatment.

More from this channel

1:10:50EN
Stanford Online· Nov 27, 2026Andrew Ng: Build Agents Fast, Then Learn From Their FailuresAndrew Ng, Diyi Yang, Fred · DeepLearning.AINg favors early prototypes and later rigorous evaluation; Diyi Yang challenges how much generated code can safely go unreviewed.Agent engineeringEvalsAI in Education+2
1:18:42EN
Stanford Online· Nov 26, 2026Tatsunori Hashimoto: Why Batch Size Changes Which Optimizers HelpTatsunori Hashimoto · Stanford UniversityA noisy quadratic explains when momentum pays off; transformer weight norms show why the effective learning rate can drift.Models & trainingPretraining & midtrainingNeural Networks+2
9 slides1:21:11EN
Stanford Online· Nov 26, 2026John Yang: An Agent Benchmark Must Measure More Than a ScoreJohn Yang · Stanford UniversityThe task, harness and evaluation rules all change the result; harder tests also need to stay realistic and reproducible.EvalsAgent engineeringBenchmarks+2
6 slides1:14:57EN
Stanford Online· Nov 25, 2026John Yang: Better Agent Training Starts With Choosing the Right DataJohn Yang · Stanford UniversityFilter tasks for reliable tests and useful difficulty; even successful agent runs can contain mistakes worth excluding.Data quality & curationAgent engineeringReinforcement Learning+2
30:50EN
Stanford Online· Nov 25, 2026Suhas Kotha: Measure Training Noise Before Trusting a Model ImprovementSuhas Kotha · Stanford UniversityIn a Stanford quiz review, small-model experiments show how random seeds, batch size and learning-rate schedules affect results.Models & trainingPretraining & midtrainingExperimentation+2
1:17:43EN
Stanford Online· Nov 24, 2026Tune the baseline before trusting a deep-learning resultTatsunori Hashimoto · Stanford UniversityTatsunori Hashimoto explains how hyperparameters, scaling, randomness and matched controls shape reliable experiments.Machine LearningScaling LawsDeep Learning+2