Muon Optimizer and Training Stability in Practice
This article explains what optimizers actually control during deep learning training, how momentum and adaptive second-order methods address scale and curvature problems, and how Muon-style orthogonalized updates change the geometry of matrix-parameter steps. It also covers precision, learning-rate coupling, sharding, weight decay, and practical checks for whether a new optimizer is a real improvement.
An optimizer is the navigation policy of deep learning training. The loss defines the “elevation” at the current point, the gradient describes the local slope, and the optimizer decides which way to step and how large that step should be. That decision affects convergence speed, final accuracy, and whether training fails through oscillation, divergence, or a poor local solution. As models and training runs grow, the optimizer stops being a tuning detail and becomes a core capability of the training system.
What an Optimizer Actually Decides
Training can be pictured as walking downhill while blindfolded. Steps that are too large overshoot the valley floor and bounce between opposite slopes, showing up as a loss that oscillates and fails to converge. Steps that are too small linger on gentle slopes and drive training cost up sharply. A strong optimizer usually has to do three things at once: control the effective step size, use gradient history to form a more stable update direction, and waste less motion colliding with the walls of ill-conditioned curvature, such as a long, narrow valley.
Learning-rate control is the first layer. A fixed learning rate cannot adapt equally well to flat and steep regions. Adaptive methods adjust the effective step from gradient magnitude, second-order statistics, or parameter scale: they allow larger moves on flat ground to speed descent, and shrink the step near a valley floor or where curvature increases, so the update stays in a feasible region. In practice this is often paired with warmup, cosine decay, or piecewise decay. The optimizer and the schedule are separated: the former sets direction and relative scale, while the latter sets the global “temperature.”
The second layer is escaping shallow pits and crossing valleys. Early stochastic gradient descent traces back to the simplest steepest-descent idea: each step looks only at the current gradient. That is equivalent to a massless particle that can accelerate or stop instantly. In a narrow valley, gradients perpendicular to the floor are large while gradients along the floor are small, so updates repeatedly hit the walls and make very slow net progress. Adding inertia lets the weak signal along the valley accumulate while damping high-frequency sideways oscillation.
From Massless Sliding to Heavy-Ball Momentum
In 1964, Polyak introduced the heavy-ball method in optimization research: a momentum term is added so that an update depends not only on the current gradient but also on previous velocity. The physical intuition is that a particle with mass does not instantly reverse when a wall applies a brief normal force; velocity along the long axis of the valley is preserved. That is the origin of momentum stochastic gradient descent.
The engineering meaning is concrete. Treat velocity as an exponential moving average of past gradients, and update parameters along that velocity. Gradients in consistent directions are amplified, while noisy directions are smoothed. The cost is that too much momentum makes the system overshoot like a pendulum and oscillate near a minimum; combined with a learning rate that is also too large, it can diverge outright. Momentum coefficient, learning rate, and gradient clipping therefore have to be designed together rather than tuned as isolated knobs.
Adaptive Second-Order Statistics: What Adam-Style Methods Add
Momentum alone is still sensitive to coordinate scale. Gradients in different layers and parameters can differ by several orders of magnitude. With one shared learning rate, some coordinates diverge while others barely move. Adam-style methods estimate per-coordinate second-order statistics with a moving average of squared gradients. That acts as a diagonal preconditioner: large-gradient coordinates take smaller steps, and small-gradient coordinates take larger ones. Combined with first-order momentum, the update has both directional memory and scale normalization.
A diagonal preconditioner is not full curvature information. It ignores correlation between parameters. When the principal axes of the loss surface are badly misaligned with the coordinate axes, a diagonal approximation only partly corrects ill-conditioning. Later work therefore keeps exploring matrix preconditioners, orthogonalized updates, and block-diagonal approximations: the goal is to capture richer geometry than elementwise scaling, at a cost that remains computable.
Muon-Style Methods: Pulling Updates Toward a Better Geometry
Recent training practice has paid attention to an approach known as Muon. The core idea is not another learning-rate formula. For two-dimensional parameters such as linear-layer weight matrices, the update is orthogonalized or spectrally constrained. A gradient matrix is formed, then polar decomposition or Newton–Schulz iteration pulls the update toward a direction that is closer to orthogonal and whose spectral norm is more tightly controlled.
Three intuitions matter. First, one step on a matrix parameter should not be treated as a pile of unrelated scalars. It is a linear transform of a representation space. Orthogonalization tends to preserve the transform’s norm and condition number, reducing representation collapse or explosion. Second, a spectral constraint limits how much a single step can distort feature scale, which helps keep activations and gradients stable in deep networks. Third, this does not conflict with momentum: gradients can be accumulated first, the momentum matrix can then be orthogonalized, and the result is scaled by the learning rate. History is retained, while the singular values of the update matrix are kept from running away.
Geometrically, Muon is closer to constrained descent near the Stiefel manifold or the orthogonal group than to independent Euclidean steps on each element. For matrix-dominated modules such as convolution kernels, attention projections, and feed-forward layers, that geometry often fits better than pure diagonal adaptation. Vector parameters such as biases and some normalization parameters usually fall back to a standard adaptive method, rather than being forced into matrix form.
What Engineering Practice Must Control at the Same Time
Even a good update rule can be undone by numerical and systems details. The following issues should be treated as one design, not as patches added later.
Mixed precision and loss scaling. Orthogonalization and matrix iteration are sensitive to condition number. In half precision, small singular values can underflow and the iteration can fail to converge. A common practice is to run orthogonalization in higher precision and write the result back in the training precision, while monitoring the iteration residual. On anomalies, fall back to scaled gradient descent so that one layer does not sink the whole run.
Coupling of learning rate and clipping. After orthogonalization, the Frobenius norm of the update is often normalized, so a learning rate tuned for Adam cannot be copied over unchanged. Rescan using the relative parameter change—for example, the ratio of the per-step weight change to the weight norm—rather than only checking whether the loss decreases. Global or per-layer gradient clipping is still needed to suppress extreme samples in a batch.
Blocking and communication. Orthogonalizing large matrices costs compute and memory. Approximate orthogonalization can be done by head, by expert, or by output block, trading accuracy against throughput. In distributed training, the same parameter shard must use a consistent iteration count and normalization. Otherwise the effective learning rate drifts across devices and validation metrics jitter.
Relation to regularization and decay. Under an orthogonalized update, weight decay changes meaning: decay pulls parameters toward the origin, while orthogonalization constrains the spectrum of the update. The two can coexist, but the decay coefficient usually needs to be reduced slightly so that spectral constraint and decay do not “shrink twice” and cause underfitting.
How to Tell Whether an Optimizer Is a Real Breakthrough
Do not look only at the final score. More informative diagnostics include whether the loss curve shows fewer alternating spikes and plateaus; whether gradient norms and update norms stay on a similar scale and remain steady; whether root-mean-square activations explode or vanish with depth; and whether token efficiency improves under the same compute budget. If early descent is faster but later generalization is worse, the effective learning rate has often been amplified by orthogonalization. Adjust the schedule before rejecting the method.
For most teams, a robust baseline is still: start from momentum or an adaptive method, try controlled orthogonalized updates on matrix parameters, keep the original policy for vector parameters, and use shared monitoring plus a fallback switch so training remains recoverable. The value of an optimizer is not a slogan. It is whether ill-conditioned curvature, scale drift, and numerical failures can be held down together, so large-scale training moves from “it can run” to “it can be finished reproducibly.”
