Muon optimizer outperforms SGD in large model training tasks

When and Why Muon Wins: A Complexity-Theoretic Separation from SGD

Machine LearningArtificial IntelligenceComputation and Language

Summary

Training large neural networks often uses a method called Stochastic Gradient Descent (SGD), but it can be slow for complex models. The authors show that a newer approach called Muon can train these networks faster by better handling the matrix structure of parameters and noise in the training process. They prove that Muon can be significantly more efficient than SGD, especially when noise is concentrated in certain ways, which happens in large language models but not so much in convolutional networks. Their experiments confirm that Muon speeds up training of large language models, explaining when and why it works better.

What this means in practice

  • For large model training teams: Accelerate pretraining of large language models by using Muon optimizer to exploit spectral noise patterns, reducing training time compared to traditional SGD.
  • For deep learning engineers: Decide when to use Muon or SGD optimizers by analyzing noise structure in neural network layers for improved training efficiency.

Authors

Hongyi Tao, Dingzhi Yu, Difan Zou, Lijun Zhang

Abstract

Matrix-sign optimizers such as Muon show strong empirical gains in LLM pretraining, yet a theoretical explanation for their superiority over standard Stochastic Gradient Descent (SGD) remains elusive. A fundamental barrier is that under classical Euclidean smoothness and finite variance assumptions, SGD is already minimax optimal, leaving no room for any worst-case complexity improvement. We show that a strict complexity separation emerges once the optimization framework aligns with the matrix structure of neural network parameters. Specifically, we study smooth matrix optimization under the operator norm, measure stationarity via the nuclear norm, and bound the covariance of stochastic gradient noise by a positive semidefinite matrix $Σ^2$. Under this formulation, we establish matching upper and lower complexity bounds for Muon without explicit dimension factors. By contrast, we prove matching upper and lower bounds for both vanilla SGD and SGD with momentum (SGDM), showing that Euclidean updates inevitably suffer dimension penalties. In particular, SGD and SGDM incur an order-$m$ slowdown in the deterministic term and an order-$mχ(Σ)$ slowdown in the stochastic term, where $m$ is the smaller matrix dimension and $χ(Σ)=m\|Σ\|_F^2/\|Σ\|_*^2\in[1,m]$ characterizes the spectral concentration of the gradient noise. Consequently, Muon achieves a provable complexity speedup over SGD and SGDM ranging from $Θ(m)$ under isotropic noise to $Θ(m^2)$ under spectrally concentrated noise. Extensive experiments across CNNs and LLMs up to 7B scale confirm that LLM layers exhibit strong spectral noise concentration, where Muon substantially accelerates pretraining, whereas CNN layers remain nearly isotropic, where the performance gap indeed vanishes. Together, we provide a rigorous theoretical and empirical characterization of when and why Muon outperforms SGD.