Muon Optimizer for Large-Scale Training: Principles and Tradeoffs
This article explains why Adam’s per-parameter state becomes a memory bottleneck at extreme model scale, how Muon updates weight matrices through momentum and approximate orthogonalization, and what memory, convergence, and engineering tradeoffs teams should weigh before adopting it.
Why Adam Struggles as Models Grow Extremely Large
For years, deep learning optimizers have been dominated by the Adam family. Adam’s core advantage is an adaptive learning rate: it maintains first- and second-order momentum for every parameter and adjusts the step size from historical gradient statistics, which tends to stabilize training on complex loss surfaces.
That adaptivity has a memory cost. Adam stores two extra state tensors for each model parameter: a first moment (momentum) and a second moment (an exponential moving average of squared gradients). In mixed-precision training, even if those states are stored at lower precision, models with hundreds of billions or trillions of parameters can require several terabytes—or more than ten terabytes—just for the two states. A rough estimate makes the scale clear: for a 1.6-trillion-parameter model, if each of the two states uses 2 bytes per parameter, Adam state alone is about 6.4 TB. Maintaining the states at higher precision pushes that above 12 TB.
That memory could otherwise be used to:
- Increase batch size and improve throughput and parallel efficiency
- Extend context length for long-document understanding and repository-scale code reasoning
- Add more experts or widen each layer to increase model capacity
When optimizer state consumes that space, training cost rises nonlinearly. Teams either shrink the batch and sequence length or add more accelerators, which shows up as a larger training budget and a longer iteration cycle. In practice, the optimizer itself becomes one of the bottlenecks to scaling very large models.
Muon’s Core Idea: Treat the Weight Matrix as a Whole
Muon (Momentum + Orthogonalization) takes a different view of the update. Instead of treating gradients element by element, it treats each layer’s weight matrix as one high-dimensional geometric object and orthogonalizes the update direction of the whole matrix.
The update can be summarized as follows:
- Compute the gradient and maintain momentum, as in a conventional momentum method.
- Reshape the momentum tensor along matrix dimensions to obtain two-dimensional matrices.
- Approximately orthogonalize each matrix, commonly with Newton–Schulz iteration, to produce a set of orthogonal bases with consistent direction and evenly distributed energy.
- Use the scaled orthogonal matrix as that layer’s update and add it to the weights in one step.
A simplified sketch looks like this:
def newton_schulz(G, steps=5):# G: [m, n] momentum matrixa, b, c = 3.4445, -4.7750, 2.0315X = G / (G.norm() + 1e-7)transposed = Falseif X.size(0) > X.size(1):X = X.Ttransposed = Truefor _ in range(steps):A = X @ X.TB = b * A + c * A @ AX = a * X + B @ Xreturn X.T if transposed else X
Intuitively, Adam is a fine-grained dispatcher. It assigns a downhill direction and step to every “iron ball” and keeps a history file for each ball—two state quantities. Muon first lines those balls up into a regular formation and advances them together with a uniform, orthogonal stride. That geometric constraint sharply reduces the state that must be stored and spreads update energy more evenly across the matrix’s directions.
Gains in Both Memory and Convergence
On memory, Muon does not keep a second moment for every parameter. State size drops well below “parameters × 2.” In the usual case, only momentum itself is maintained, and blocked computation—such as blocked Newton–Schulz—can limit peak memory. At the trillion-parameter scale, the freed memory can go directly into a larger batch, a longer sequence, or a wider model.
On convergence, orthogonalization is not merely cosmetic. After a gradient matrix is orthogonalized, its singular values are flattened. That is a form of whitening in the spectral domain: update steps become more uniform across directions, so large-singular-value directions do not dominate while small-singular-value directions barely move. On medium-scale language models, this typically shows up as:
- Fewer training steps to reach the same loss
- More stable update norms and lower sensitivity to the learning rate
- Improved condition numbers of hidden-layer weight matrices and smoother training
These benefits have been reproduced by the community on smaller models. Extending them reliably to tens of billions, hundreds of billions, and trillions of parameters still requires a set of engineering solutions.
Four Barriers to Production Use
Moving Muon from a research prototype to ultra-large-scale training is not a matter of swapping one optimizer function. At least four barriers stand in the way.
Compute and communication cost of orthogonalization
Newton–Schulz iteration uses multiple matrix multiplications. For large weight matrices, that cost is not negligible. In distributed training, efficient blocking and parallel strategies are needed so orthogonalization does not become the new bottleneck.Numerical stability
The iteration’s constant coefficients and normalization must be calibrated carefully at low precision, such as BF16. Otherwise, gradient scale can drift or training can diverge. Production implementations usually need mixed precision and dynamic scaling.Compatibility with hybrid parallelism
Very large training commonly combines data, tensor, pipeline, and expert parallelism. Muon’s matrix-level operations must run on the correct parallel dimensions. State sharding, gradient synchronization, and the order of orthogonalization all need to be redesigned.Rebuilding the hyperparameter recipe
Adam’s accumulated tuning practice—betas, epsilon, weight decay, and learning-rate schedules—does not transfer directly. Muon usually needs a different learning-rate scaling rule, for example scaling the update by matrix shape. Residual layers, embedding layers, and other special modules often stay on another optimizer, producing a hybrid-optimizer setup. Each change of scale therefore needs a recalibrated recipe.
When to Choose Muon: Practical Guidance
From the analysis above, a pragmatic selection frame looks like this:
- If the goal is training efficiency under a limited budget, Muon is worth examining. Memory savings can become a larger batch or longer context, and fewer steps can cut total cost substantially.
- If the model contains many dense matrices with regular shapes, the benefit is clearer, because orthogonalization acts on complete two-dimensional matrices.
- If the training pipeline has been deeply tuned around element-wise adaptive optimization, run a small controlled comparison first and watch loss-curve stability and weight norms.
- If the team has little experience modifying distributed optimizers, validate on small and medium models, scale gradually, and keep a path back to a mature optimizer.
A recommended adoption path is:
Small-scale baseline (Adam/AdamW)→ Same-scale Muon comparison (learning-rate grid search + update-norm monitoring)→ Hybrid strategy (Muon for hidden layers, AdamW for embedding/output layers)→ Blocked orthogonalization + low-precision calibration→ Full-scale staged rollout
Closing
The optimizer can look like the least visible component in deep learning. At trillion-parameter scale, its memory and compute behavior directly affect how large a model can be, how long its context can be, and how fast training can run. Muon’s simple but substantial idea—an orthogonalized update of the weight matrix as a whole—challenges Adam’s long dominance and offers large-scale pretraining a new option that balances memory efficiency and convergence speed.
Any new method still has to survive production engineering. Teams building or iterating large models should understand Muon’s geometric intuition and explicitly weigh the gains against the cost of changing their own stack. Whether or not they adopt it, treating the optimizer itself as something that can be optimized is enough reason to look again at every stage of large-scale training.
