TL;DR
This paper provides a theoretical and empirical explanation for why spectral optimizers like Muon often outperform standard Euclidean methods (like Adam or SGD). The authors show that spectral updates are superior whenever the "nuclear rank" of the gradient exceeds the "stable rank" of the incoming activations—a condition naturally satisfied in deep networks due to the low-rank structure of internal data representations.
What Problem Does This Paper Address?
Most modern deep learning optimizers are "Euclidean" at heart; they follow the gradient direction, perhaps adjusted by a diagonal preconditioner (as in Adam). Recently, spectral methods like Muon have gained popularity for matching or exceeding Adam’s performance in large language model (LLM) pretraining. However, we haven't had a clear understanding of why these methods work or in which specific regimes they provide an advantage.
The authors tackle this by investigating the geometry of the optimization landscape. They argue that the "post-activation" matrices (the data flowing between layers) are often highly degenerate or low-rank. This degeneracy makes the optimization landscape ill-conditioned for standard Euclidean descent but perfectly suited for spectral updates that operate on the singular values of the gradient.
Methods
The authors develop a framework to compare the guaranteed decrease in loss after one step of Euclidean Gradient Descent (GD) versus one step of Spectral Gradient Descent (SpecGD).
Key to their analysis are two metrics:
- Stable Rank ($st(A)$): Measures the effective dimensionality of the activation matrix $A$.
- Nuclear Rank ($nr(G)$): Measures how "spread out" the singular values of the gradient matrix $G$ are.
They prove a "layerwise condition": spectral updates are favored whenever $nr(G) \ge st(A)$.
To show this condition is actually met in practice, they develop a "propagation calculus" to track how stable rank evolves through standard network components like Linear layers, ReLU, RMSNorm, and Residual connections. They also analyze "spiked" random feature models to prove that while the gradient's nuclear rank starts low, it grows linearly with the data dimension after just a few steps of training.
Datasets
The paper validates its theories using:
- Synthetic Sparse Regression: Training a three-layer network on a cubic target function ($f(x) = x_1x_2x_3$) with Gaussian inputs.
- NanoGPT-scale Language Modeling: Training a 160M-parameter transformer on the FineWeb dataset.
- Random Feature Models: Analytically tractable simplifications of neural networks used for formal proofs.
Key Insights and Ideas
- The "Mean-Spike" Effect: The authors find that non-centered activations like ReLU naturally induce a "spectral spike" in the data. This keeps the stable rank of activations low (often a small constant like $\pi$), regardless of how wide the network is. This is an "aha moment" because it explains why the optimization landscape stays ill-conditioned in a way that spectral methods can exploit.
- Dimension-Dependent Speedup: In spiked models, the advantage of spectral updates scales with the data dimension ($d$). This explains why these methods become increasingly powerful as models and data grow larger.
- Why Muon is Selective: Current practice (like in the
modded-nanogptrepository) applies Muon to internal 2D weight blocks but keeps embeddings and output heads on Adam. The paper’s theory justifies this: internal layers have very low stable rank, while embeddings have a much higher stable rank (related to token frequency), making the spectral advantage much smaller there.
Key Results
- Theoretical Advantage: The authors prove that after a short "burn-in" period, the gradient nuclear rank reaches $\Omega(d)$, while activation stable rank remains $O(1)$. This creates a massive gap that favors spectral methods.
- Empirical Validation: In NanoGPT runs, they observed that MLP post-activations maintain a stable rank between 2 and 10 throughout training, while the gradient nuclear ranks for those same layers are in the hundreds.
- A Cautionary Tale: They show that if you use "centered" activations (like SwiGLU) in simple models, the "mean spike" disappears, the stable rank rises, and the spectral advantage vanishes. However, in complex transformers, the token-indicator structure at the input is enough to keep the stable rank low throughout the stack, even with SwiGLU.
Limitations and Future Work
The authors acknowledge that their analysis primarily focuses on a "one-step" comparison and doesn't fully account for the complex interactions of momentum, which is a core part of the practical Muon optimizer. Furthermore, while they show that low stable rank is prevalent, they note that certain architectural choices (like specific gating mechanisms) can mitigate this degeneracy, potentially making spectral updates less helpful.
Future work could involve extending this "nuclear-vs-stable-rank" heuristic to a more complete convergence analysis that includes momentum and adaptive step sizes.
Summary updated