Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Different rulers for “a step of size 1”
Every optimizer answers “how far should I step, and in what direction?” The answer depends on how you measure a step.
- Gradient descent measures ordinary straight-line length.
- Lion gives every knob the same small nudge, up or down: only the direction of each knob counts.
- Muon treats a whole table of weights (a matrix) as one object and nudges every “direction” of that table equally, no matter which way the table is rotated.
Different rulers suit different problems, and big models turned out to benefit from these new ones.
Optimizer choice now measurably changes the cost of training perception and language models, as well as the large policies used in robotics. Lion cuts optimizer memory in half. Muon has set training-speed records on transformer benchmarks. Knowing the geometry behind them tells you when they’ll help your model and when Adam is still the right tool.
- 1. Lion moves each parameter by…
- 2. Muon treats a weight matrix…
- 3. The main memory advantage of Lion over Adam is…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Lion (Chen et al., 2023)
Defaults are , . It keeps one state vector (momentum), versus Adam’s two. Every update has the same magnitude, so it uses a 3–10× smaller learning rate than AdamW. It was discovered by symbolic program search.
Sophia (Liu et al., 2024)
is a diagonal Hessian estimate refreshed every few steps (Hutchinson or Gauss–Newton–Bartlett). It’s a Newton-like step per coordinate, clipped for safety when curvature is tiny, negative or noisy.
Muon (Jordan et al., 2024)
For each 2-D weight matrix: , then , where approximates the polar factor of using a few Newton–Schulz matrix multiplications. Scalars and embeddings use AdamW.
- 1. Lion's update for each coordinate has magnitude…
- 2. Sophia clips the step to guard against…
- 3. Muon replaces the momentum matrix by its…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.Steepest descent under different norms
The direction depends on the norm:
| Norm on the step | Steepest direction | Optimizer |
|---|---|---|
| Euclidean ‖d‖₂ | −g/‖g‖ | (normalized) GD |
| max-norm ‖d‖∞ | −sign(g) | signSGD, Lion, early Adam |
| spectral ‖D‖₂ (matrices) | −UVᵀ | Muon |
| Hessian-scaled | −H⁻¹g | Newton; Sophia (diagonal) |
Adam behaves like sign descent with a smoothed, per-coordinate normalization (Bernstein and Newhouse, 2024). Its preconditioning is diagonal, so it fixes bad scaling only when that scaling lines up with the coordinate axes. Muon’s spectral-norm step is equivariant to rotations of the input and output spaces of each layer. The quality of its update doesn’t depend on the basis.
Newton–Schulz orthogonalization
Normalize so its singular values lie in (0, 1], then iterate . Each step applies the odd polynomial to every singular value. Muon’s coefficients (3.4445, −4.7750, 2.0315) push all singular values into roughly [0.7, 1.1] in 5 steps. That’s good enough, uses only matrix multiplications, and is GPU-friendly.
Practical notes
- Muon is for hidden-layer matrices. Keep AdamW for embeddings, output heads, biases and gains.
- Lion and Muon need smaller learning rates and benefit from decay, since fixed-magnitude updates otherwise hover around the optimum.
- Benchmarks must tune each optimizer fairly. Many claimed speed-ups shrink under careful tuning (Dahl et al., 2023; Wen et al., 2025).
- 1. Steepest descent under the max-norm gives…
- 2. Muon's update quality is unaffected by…
- 3. Newton–Schulz needs only…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Sign descent is steepest descent in the max-norm
. Each term is minimized by , giving . ∎
The polar factor is steepest descent in the spectral norm
For , von Neumann’s trace inequality gives . Equality holds at . So minimizes over the spectral-norm ball. ∎ The polar factor is also the closest orthogonal (semi-)orthogonal matrix to in Frobenius norm.
Why Adam isn’t rotation-invariant
Adam’s per-coordinate denominator depends on the basis. Under a rotation , the gradient’s coordinates mix, the second moments change, and the effective preconditioner no longer matches the problem’s principal axes. Muon’s update satisfies for orthogonal , so it rotates along with the problem. ∎
Exercise 3.1: Steepest-descent value for g = (3, −1) under the max-norm with η = 1
, so .
- 1. min over ‖d‖∞ ≤ 1 of gᵀd equals…
- 2. The polar factor maximizes ⟨G, D⟩ over…
- 3. polar(Q₁GQ₂) =
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.When does each optimizer win?
Fit a 8×16 weight matrix with inputs whose scales span two decades, giving each optimizer its best learning rate from the same grid and the same cosine schedule.
- Axis-aligned scaling: Adam is the best of all (≈ 3e-9 excess loss), because its diagonal preconditioner is exactly right. Lion is next.
- The same problem with randomly rotated inputs: Adam and Lion degrade by orders of magnitude (≈ 3e-3 and 1e-2), while Muon is essentially unchanged (≈ 1e-5) and now wins clearly.
In real networks, hidden-layer gradient matrices have dominant singular directions that aren’t axis-aligned. That’s the regime where Muon’s orthogonalized updates help.
Recent optimizers in AI, robotics and aerospace
- Large-model training: Muon set NanoGPT and CIFAR-10 speed records and has been scaled to multi-billion-parameter LLMs (Jordan et al., 2024; Liu et al., 2025, “Muon is scalable for LLM training”).
- Memory-constrained training: Lion’s single state vector matters for training large perception or policy models on limited GPUs and for on-board fine-tuning.
- Second-order revival: Sophia, Shampoo, SOAP and Muon show that structured curvature or geometry pays off at scale (A6.3-6).
- Benchmarking discipline: AlgoPerf and follow-up studies stress fair tuning budgets before claiming speed-ups (Dahl et al., 2023).
References
- X. Chen et al. (2023). “Symbolic discovery of optimization algorithms.” NeurIPS (Lion).
- H. Liu, Z. Li, D. Hall, P. Liang, T. Ma (2024). “Sophia: a scalable stochastic second-order optimizer for language model pre-training.” ICLR.
- K. Jordan et al. (2024). “Muon: an optimizer for hidden layers in neural networks.” Blog post and code, kellerjordan.github.io/posts/muon.
- J. Liu et al. (2025). “Muon is scalable for LLM training.” arXiv:2502.16982.
- J. Bernstein, L. Newhouse (2024). “Old optimizer, new norm: an anthology.” arXiv:2409.20325.
- J. Bernstein, Y.-X. Wang, K. Azizzadenesheli, A. Anandkumar (2018). “signSGD: compressed optimisation for non-convex problems.” ICML.
- N. Higham (2008). Functions of Matrices: Theory and Computation. SIAM (Newton–Schulz, polar decomposition).
- G. Dahl et al. (2023). “Benchmarking neural network training algorithms.” arXiv:2306.07179.
- K. Wen et al. (2025). “Fantastic pretraining optimizers and where to find them.” arXiv:2509.02046.
- N. Vyas et al. (2024). “SOAP: improving and stabilizing Shampoo using Adam.” arXiv:2409.11321.