Optimizer Advances for Large Model Training: From Adam to Muon
This article explains what optimizers actually do during large model training and why they shape convergence, stability, and final model quality. It traces the path from stochastic gradient descent through momentum and adaptive methods to a newer class of matrix-oriented optimizers represented by Muon, which treats weight matrices as structured objects rather than collections of independent scalars. It also covers the engineering trade-offs, memory and communication costs, and a practical method for running fair optimizer comparisons.
In large model training, the optimizer is not a simple component that merely nudges parameters. It decides how gradients are interpreted, how parameters are updated, whether training converges stably, and how much model quality the same compute budget ultimately buys. As model size, data volume, and training parallelism have grown, traditional optimization methods have shown limits in memory footprint, communication cost, convergence efficiency, and fit with matrix-shaped parameters. New optimizers have become an important research direction in training systems as a result.
1. What Problem Does an Optimizer Solve?
Model training can be seen as searching for a good point in a high-dimensional parameter space. The loss function scores the current parameters, backpropagation computes the gradient of the loss with respect to those parameters, and the optimizer uses that gradient to decide the next move.
The most basic update rule can be written as:
params_new = params_old - learning_rate × gradient
The formula looks simple, but gradients in real training usually have several properties:
- Gradient scales differ widely across parameters.
- Gradients from different data batches carry noise.
- Some directions have high curvature while others are relatively flat.
- Deep networks can suffer from vanishing or exploding gradients.
- Large matrix parameters have clear structural characteristics.
So an optimizer generally has to handle three kinds of work.
First, control the step size. If the learning rate is too large, parameters oscillate around the optimum or diverge outright. If it is too small, training is very slow and may fall short of the target within a limited budget.
Second, smooth out gradient noise. A single batch does not fully represent the training data, so gradients contain random fluctuation. The optimizer needs to use historical information so the model does not swing too far because of one unusual gradient.
Third, coordinate updates across directions. The loss changes at different speeds along different parameter directions. If every direction uses one fixed step size, the model can oscillate along steep directions and crawl along flat ones.
2. From Stochastic Gradient Descent to Adaptive Optimization
Stochastic gradient descent (SGD) is one of the classic methods. It updates the model with the current batch’s gradient, is cheap to compute, simple to implement, and well suited to large-scale distributed training. But it is sensitive to the learning rate and tends to converge slowly on narrow, curved, or noisy loss surfaces.
To address this, momentum introduces the idea of a “historical direction.” The core intuition is like an object with inertia: if several consecutive steps point in similar directions, the update accumulates; if the current gradient changes abruptly, past information dampens an overly sharp turn.
One typical form is:
velocity_t = β × velocity_{t-1} + (1 - β) × gradient_tparams_t = params_{t-1} - learning_rate × velocity_t
Here β controls how much history is retained. A larger β gives stronger smoothing but can make the optimizer react more slowly to the latest gradient.
Building on this, adaptive methods maintain per-parameter statistics of squared gradients and adjust the step size for each direction accordingly. The advantage is that they ease the problem of mismatched parameter scales, usually start training more easily, and suit complex network structures. The cost is that they often store extra state, which markedly increases memory use, and their element-wise updates may not fully exploit the geometric structure of a weight matrix.
3. Why Matrix Structure Is Worth Exploiting
Many weights in large models are not independent sets of scalars but tensors of two or more dimensions. For a matrix parameter, what matters is often not only the gradient magnitude of each element, but also the direction of the whole gradient matrix, the relationships between its rows and columns, and its singular-value structure.
Traditional element-wise adaptive methods scale each parameter on its own. This is convenient to implement but can ignore information at the matrix level. For example, a gradient matrix may carry a strong update signal along some directions while being mostly noise along others. Looking only at the magnitude of each element makes it hard to tell which changes represent genuinely useful structure.
This is why a new class of matrix optimizers has drawn attention: they try to keep momentum information while processing the gradient matrix in a structured way, so that the update direction better matches the geometry of the parameter space.
4. The Core Ideas Behind Muon-Style Methods
Muon can be understood as an optimization approach aimed at matrix parameters. Unlike fully element-wise updates, it focuses on the overall direction of the matrix gradient and tries to improve update quality through matrix transformations.
Its main ideas can usually be summarized in three points.
1. Use momentum to reduce gradient noise
A new optimizer does not mean abandoning momentum. On the contrary, momentum remains an important mechanism for handling mini-batch noise. The optimizer combines the current gradient with the historical update direction to produce a relatively smooth momentum matrix.
The benefit: when several batches agree on the update direction, the optimizer keeps moving forward; when one batch produces a large disturbance, past information prevents an immediate overreaction.
2. Orthogonalize or normalize the matrix update direction
For matrix parameters, keeping only the gradient magnitude is not necessarily enough. Some matrix methods apply approximate orthogonalization or spectral adjustment to the momentum matrix to make the update direction more stable.
“Orthogonalization” here does not mean every implementation uses the exact same mathematical procedure; it emphasizes reducing redundancy and imbalance across directions. After processing, the update matrix may be closer to a balanced distribution of directions, which reduces cases where some dimensions are updated too much while others barely move.
3. Fit large-scale matrix computation
Modern training hardware is typically good at matrix multiplication, batched tensor operations, and low-precision computation. Expressing the optimization process as efficient matrix operations can, in principle, improve hardware utilization.
That said, matrix optimization is not automatically faster. Matrix factorization, iterative orthogonalization, and extra transformations all add compute cost. The final payoff depends on the implementation, parallelism strategy, hardware characteristics, parameter scale, and communication overhead, and cannot be judged from the algorithm’s name alone.
5. Potential Technical Gains of New Optimizers
1. Higher training efficiency
If an optimizer can cut wasted updates and keep each parameter step closer to a useful direction, the number of steps needed to reach a given validation result may drop. In large model training, fewer steps directly affect compute, time, and energy consumption.
2. Better training stability
Matrix-level normalization helps suppress abnormally large updates and lowers the risk of sudden loss spikes, exploding gradients, or runaway parameter distributions. Stability still depends on the learning rate, batch size, weight decay, gradient clipping, precision strategy, and other factors.
3. Lower optimizer-state overhead
Some traditional adaptive methods need to store several extra states per parameter. For models with huge parameter counts, this state occupies a lot of memory. If a new method can use a more compact state representation, it may ease memory pressure and leave room for larger batches or longer context.
4. Fuller use of parameter geometry
Element-wise updates suit independent scalars, but the linear layers, projection layers, and parts of the embedding structure in neural networks have clear matrix properties. Using these structures helps move optimization from “adjusting each value” toward “adjusting the overall transformation.”
6. Engineering Issues You Cannot Ignore in Practice
The mathematical advantages of an optimizer only turn into real gains through engineering.
First, decide whether different parameters should share one update rule. Matrix parameters, vector parameters, normalization-layer parameters, and biases have different statistical characteristics. Real systems often need a grouping strategy rather than treating all parameters the same.
Second, watch numerical stability under mixed precision. Low-precision computation can cut memory use and raise throughput, but matrix transformations, momentum accumulation, and normalization may be sensitive to rounding error. You usually need to keep some state in higher precision or add numerical safeguards.
Third, communication cost in distributed training cannot be ignored. A faster optimizer computation does not guarantee faster training overall. If each step adds synchronization or matrix-level communication, the communication cost can cancel out the algorithmic gain. The optimizer therefore needs to be co-designed with data parallelism, tensor parallelism, pipeline parallelism, and parameter sharding.
Finally, do not look at training loss alone. Optimizer evaluation should at least cover training throughput, memory footprint, convergence speed, validation performance, gradient stability, and final task quality. For generative models, also watch for degradation after long training runs, overfitting, and generalization across different tasks.
7. How to Design a Reliable Comparison Experiment
When evaluating a new optimizer, control variables as much as possible. A recommended procedure:
- Fix the model architecture, training data, random seed, and training budget.
- Run a reasonable learning-rate search for each optimizer separately.
- Record the loss curve, gradient norm, and parameter norm together.
- Compare effective training steps per unit of time.
- Measure peak memory and optimizer-state usage.
- Check generalization across multiple validation tasks.
- Observe stability over long training, not just the early rate of decline.
One common mistake to avoid: a faster early loss drop does not necessarily mean a better final result. Some methods start strongly but later hit a plateau; others start slower yet reach more stable results over a long training cycle.
8. Summary
From SGD to momentum to adaptive optimizers, the development of optimization algorithms has always circled a few core questions: how to use gradients more accurately, how to reduce the effect of noise, how to allocate step size sensibly across directions, and how to lower the resource cost of large-scale training.
The value of Muon-style methods lies in shifting the focus from the numerical update of a single parameter to matrix structure and the geometry of the parameter space. It is not a drop-in replacement for every traditional optimizer, but a new design direction: let optimization make fuller use of how model parameters are organized and of the matrix-computation capabilities of modern hardware.
For engineering practice, choosing an optimizer cannot rest on a paper’s theoretical advantages or a single experiment. A more reliable approach is to evaluate systematically against your model architecture, training scale, hardware environment, and target task, and find a balance among convergence speed, final quality, memory footprint, and implementation complexity.
