A Statistical Viewpoint on Adam, Shampoo and Muon
Authors: Tetiana Parshakova, Robert M. Gower, Paulo Orenstein Date: October 20, 2026
Summary (Overview)
- This paper presents a unified statistical framework for understanding and designing stochastic optimization methods, based on modeling gradients as samples from a normal distribution and applying whitening using estimated covariance.
- The authors derive a Bayesian/optimization framework for estimating gradient mean and covariance, showing that both approaches converge to the same KL projection problem with closed-form updates.
- Using diagonal covariance approximations, the framework recovers a method closely related to Adam (called Centered Adam) that performs comparably in practice while admitting a simple whitening interpretation.
- Using Kronecker-factored covariance approximations, the framework yields the new MN (Matrix Normal) method, a variant of Shampoo/KL-Shampoo, whose diagonal implementation (MND) outperforms both Distributed Shampoo and KL-Shampoo at Chinchilla scale.
- Extending the framework to model the direction of gradients yields a statistical interpretation of Muon and a novel preconditioned variant called MND-Muon, which improves upon Muon in 21 of 24 paired GPT-small runs and shows enhanced stability on GPT-medium.
Introduction and Theoretical Foundation
Background and Motivation
Stochastic gradients are noisy estimates of the full-batch gradient, with different components exhibiting different variances. Taking a large step in a high-variance direction can lead the optimization astray. The paper's central thesis is that whitening the gradient using its covariance improves optimization:
where . This "whitened SGD" rescales steps so that high-variance directions are treated more cautiously.
The Whitened Momentum Framework
In practice, estimates and are used:
Methods fitting this format are called whitened momentum methods.
Dual Viewpoints: Optimization and Bayesian
The paper shows that estimating the mean and covariance can be approached two equivalent ways:
Optimization viewpoint: Minimize negative log-likelihood plus a KL-divergence regularizer:
Bayesian viewpoint: Use a Normal-Inverse-Wishart conjugate prior:
Proposition 2.1 establishes that both approaches are equivalent to a KL projection problem with closed-form solutions:
Methodology
Structured Covariance Approximations
Storing a full covariance matrix is infeasible for neural networks (e.g., >300 TB for a 124M-parameter model). The paper restricts to structured classes (diagonal or Kronecker-factored), solving:
which reduces to:
Diagonal Approximation → Centered Adam
For diagonal , the solution is:
This yields Centered Adam:
Key insight: Adam (with , ) is equivalent to:
Thus Adam whitens using the uncentered second moment, whereas Centered Adam uses the centered second moment (covariance). The paper shows Centered Adam performs comparably to Adam, suggesting that explaining Adam may not require exact accounting—a closely related whitening method suffices.
Kronecker-Factored Approximation → MN Method
Assuming gradient matrices follow a Matrix Normal distribution:
The whitened update becomes:
Proposition 5.1 guarantees a unique global minimizer for the Kronecker-factored covariance problem, found via alternating minimization:
where .
The MND method (Algorithm 1) restricts factors to diagonal matrices, giving elementwise updates with numerical stability via clipped inverses:
Statistical View of Muon
The Muon update uses the polar decomposition of momentum:
Key insight: is the mode of a Matrix Langevin distribution on the Stiefel manifold. The full Muon update emerges from a Bayesian model with:
- Likelihood: (isotropic noise)
- Prior:
The posterior mode gives exactly Polar, recovering Muon.
MN-Muon generalizes this by using an anisotropic likelihood with covariance factors:
The joint optimization problem (43) couples direction and covariance, solved by alternating block updates (Proposition 7.1). The diagonal implementation (MND-Muon, Algorithm 2) uses closed-form factor updates via the function:
Empirical Validation / Results
Centered Adam vs. Adam (Figure 3)
Final validation losses for Adam and Centered Adam on FineWeb are nearly identical across all learning rates at both GPT-small and GPT-medium scales, confirming that Centered Adam's whitening interpretation suffices to explain Adam's practical effectiveness.
MND vs. Shampoo Variants (GPT-small, Figure 4)
Training on FineWeb-10B, 2.5B tokens, batch 512, three seeds:
| Method | Mean Final Validation Loss |
|---|---|
| MND (centered) | 3.373 |
| MND (uncentered) | 3.376 |
| MND () | 3.409 |
| KL-Shampoo | 3.444 |
| Distributed Shampoo | 3.494 |
MND vs. Shampoo Variants (GPT-medium, Figure 5)
Training on FineWeb, 7.09B tokens, batch 768, three seeds: Centered MND achieves the lowest mean final validation loss, followed closely by uncentered MND. Both established Shampoo implementations attain higher losses than all three MND variants.
MND-Muon vs. Baselines (GPT-small, Figure 6)
FineWeb, batch 512, 2.5B tokens:
| Method | Mean Final Validation Loss |
|---|---|
| NorMuon | 3.327 |
| MND-Muon | 3.329 |
| Muon | 3.336 |
| AdamW | 3.381 |
| KL-Shampoo | 3.449 |
| Distributed Shampoo | 3.501 |
MND-Muon improves on Muon in 21 of 24 paired GPT-small runs.
MND-Muon vs. Baselines (GPT-medium, Figure 7)
FineWeb, 7.09B tokens, batch 768, seed 42, six learning rates:
| Method | Best Final Validation Loss | Learning Rate |
|---|---|---|
| NorMuon | 3.007 | 0.045 |
| MND-Muon | 3.014 | 0.045 |
| Muon | 3.017 | 0.04 |
MND-Muon maintains validation losses between 3.014–3.016 across learning rates 0.02–0.06 (range 0.0024 nats/token), while Muon becomes unstable at 0.045 (loss 6.295) and NorMuon at 0.09 (loss 6.071).
Theoretical and Practical Implications
Theoretical Contributions
- Unified framework: Adam, Shampoo, KL-Shampoo, and Muon can all be viewed as instances of whitened momentum methods with different covariance structures.
- Bayesian foundation: The mean/variance estimation follows from a principled Bayesian recursion (Normal-Inverse-Wishart prior) or equivalently a regularized likelihood optimization.
- Novel methods: The framework naturally generates new algorithms (Centered Adam, MND, MND-Muon) with clear statistical interpretations.
- Muon's statistical meaning: Muon's polar decomposition is shown to be the MAP estimate under a Matrix Langevin model, providing theoretical justification for its empirical success.
Practical Implications
- MND offers a drop-in replacement for Shampoo with better stability, lower final validation loss, and reduced time.
- MND-Muon improves robustness of Muon to learning rate choices, particularly valuable at smaller batch sizes where gains over Muon are largest.
- The diagonal implementations avoid the numerical instability of full matrix inverses in low precision (BF16), making them practical on modern hardware.
- The framework suggests that "explaining Adam" may not require exact accounting—a closely related whitening method achieves comparable performance with a simpler interpretation.
Conclusion
Main Takeaways
The paper postulates that stochastic optimization methods can be unified through the lens of whitened momentum: estimating gradient mean and covariance, then whitening the mean before stepping. Different structured covariance approximations recover and generalize existing methods:
- Diagonal covariance → Centered Adam (comparable to Adam)
- Kronecker-factored covariance → MN/MND (outperforms Shampoo variants)
- Direction modeling → MND-Muon (improves on Muon)
Limitations and Future Directions
- Theoretical justification: The whitened momentum framework's effectiveness is mostly empirical; deeper theoretical analysis on toy models or function classes would strengthen the argument.
- Scope of experiments: Only GPT-2 models at Chinchilla scale were tested; more models, datasets, and scales are needed.
- Gaussian assumption: Gradients in language models may not be Gaussian (Zhang et al., 2020; Kunstner et al., 2023); exploring other distributions (e.g., heavy-tailed) could yield further insights.
- Full MN method: The full-factor MN underperformed due to numerical instability of matrix inversion in BF16; a stable, GPU-friendly matrix inversion could make it competitive.
- NorMuon comparison: NorMuon was comparable to or slightly better than MND-Muon in some settings, suggesting further investigation into their relationship is warranted.
Related papers
- Explorer-Zero: Improving Self-Play for Long-Horizon Tasks
Explorer-Zero jointly generates compositional tasks and verifiable subtask rewards via self-play, outperforming human-data RL on AppWorld without annotations and improving subsequent RL.
- Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts (LOOM)
LOOM enables looped mixture-of-experts models to scale to 9-12 loops by combining residual scaling, embedding re-injection, and per-loop routers, achieving substantial perplexity and accuracy gains without increasing parameters.
- Learning to Compute Is Not Learning to Retain or Reuse in Looped Transformers
Looped transformers that compute answers exactly can fail to retain or reuse them, with training supervision and exit variability—not gradient truncation—determining retention and state reusability.