TL;DR
Muon$^p$ is a new optimizer that generalizes the popular Muon algorithm by using fractional spectral powers. By interpolating between full spectrum flattening (Muon) and standard gradient descent, it provides a principled way to preserve important singular-value information, leading to significant performance gains in LLM finetuning while maintaining high computational efficiency.
What Problem Does This Paper Address?
In deep learning, the gradient matrix $G$ often has a very skewed "singular spectrum"—some directions have huge singular values while others are tiny. Standard optimizers like SGD or Adam can struggle with this ill-conditioning.
The Muon optimizer recently gained popularity for addressing this by replacing the gradient $G = USV^\top$ with its polar factor $UV^\top$. This effectively "flattens" the spectrum, giving every direction equal weight. While this works wonders for pretraining, the authors argue it might be too extreme for finetuning. During finetuning, the singular values actually contain useful information about which directions are most important for adaptation. Discarding this information entirely (setting $p=0$) can lead to suboptimal results, yet keeping it all (standard gradient descent, $p=1$) brings back the conditioning problems.
Methods
The authors introduce Muon$^p$, which updates weights using $US^pV^\top$ for a rational $p \in (0, 1)$. This allows practitioners to tune the "spectral flatness" of their updates.
The technical challenge is computing these fractional powers efficiently. Standard Muon uses a Newton-Schulz iteration (a univariate polynomial) to approximate the polar factor without an expensive Singular Value Decomposition (SVD). However, the authors prove that a fixed univariate polynomial cannot compute arbitrary fractional powers.
To solve this, they derive bivariate polynomial recurrences that "remember" the original matrix $G$ during the iteration. Crucially, they show these can be implemented using only matrix multiplications and transposes, preserving the "accelerator-friendly" nature of the original Muon. For example, the update for $p=1/3$ becomes a simple one-line change in the code:
Gn+1 = Gn + c(G - GnGn^T Gn)
Theoretically, they prove that Muon$^p$ is the steepest-descent direction under the Schatten $q$-norm (where $q = 1 + 1/p$), providing a solid geometric foundation for the method.
Datasets
The researchers evaluated Muon$^p$ across several demanding benchmarks:
- Pretraining: Fineweb (9.83 billion tokens).
- Finetuning:
- GSM8K: Grade school math word problems.
- Numina: A large-scale math reasoning dataset.
- OpenCodeInstruct: A dataset for instruction-tuning code LLMs.
- Language Modeling: Validation perplexity was measured on Fineweb and Pile of Law.
- Downstream Tasks: A suite of common-sense reasoning tasks including PIQA, Winogrande (WG), HellaSwag, and ARC.
Key Insights and Ideas
- The Pretraining vs. Finetuning Dichotomy: The paper reveals a fascinating split. Pretraining benefits from the uniform, full-spectrum updates of Muon ($p=0$) because it helps the model discover features broadly. Finetuning, however, benefits from $0 < p < 1$ because adaptation happens in a lower-dimensional subspace where singular values act as a guide for which directions to prioritize.
- Effective Rank Dynamics: Muon$^p$ reduces the "effective rank" of updates much faster than Muon. This means it focuses the model's learning on a more structured, dominant subspace, which aligns with how models naturally adapt during finetuning.
- Optimizer Curriculum: The authors found that starting pretraining with Muon and switching to Muon$^p$ for the final steps (a "spectral power curriculum") leads to a sharper drop in validation loss compared to staying with Muon.
- Efficiency Gains: Because Muon$^p$ with $p=1/3$ uses a cubic recurrence while standard Muon often uses a quintic one, Muon$^p$ can actually be faster in terms of wall-clock time per step (see Table 4).
Key Results
- Finetuning Superiority: On a Llama3-1B model, Muon$^p$ achieved a 48.27% accuracy on GSM8K, significantly beating both AdamW (46.41%) and standard Muon (41.76%).
- Perplexity Gains: In legal domain finetuning (Pile of Law), Muon$^p$ reached a perplexity of 2.491, outperforming Muon (2.578) and AdamW (2.591).
- Robustness: As shown in Figure 1, Muon$^p$ consistently yields lower loss than Muon across a variety of learning rates.
- Scaling: The benefits were consistent when scaling from 1B to 3B parameter models, with Muon$^p$ maintaining a clear lead in math reasoning tasks (Table 7).
Limitations and Future Work
- Hyperparameter Tuning: While $p=1/3$ is a strong default, the optimal $p$ value is task-dependent. The authors suggest that automatically selecting the best $p$ for a given task is a promising future direction.
- Curriculum Design: The "Muon $\to$ Muon$^p$" curriculum shows great promise for pretraining, but the optimal timing and transition schedule for this switch haven't been fully explored.
- Numerical Precision: While stable in
bfloat16, the behavior of these bivariate recurrences in even lower precision (like FP8) remains to be tested.
Summary updated