理论证明 Muon 为何优于 SGD:最多可达 Θ(m²) 加速
When and Why Muon Wins: A Complexity-Theoretic Separation from SGD
做预训练或调优化器的朋友可以看看这篇,它把 Muon 比 SGD 快的原因讲清楚了:LLM 权重矩阵的梯度噪声谱集中,Muon 能省掉最高 m² 的维度代价,而 CNN 噪声各向同性所以两者打平。想判断自己的任务该不该换 Muon,这篇给了理论依据。
一篇 arXiv 论文首次给出 Muon 优于 SGD 的复杂性理论分离。核心结论是:在欧氏光滑性假设下 SGD 已是 minimax 最优,无法比较;改用算子范数度量光滑性、核范数度量平稳性的矩阵优化框架后,Muon 可达到不含显式维度因子的匹配上下界。
相比之下,vanilla SGD 和带动量的 SGDM 在确定性项上慢一个数量级 m(较小的矩阵维度),在随机项上慢 m·χ(Σ),其中 χ(Σ)=m‖Σ‖²_F/‖Σ‖²_*∈[1,m] 刻画梯度噪声的谱集中度。因此 Muon 相对 SGD 的可证加速范围是各向同性噪声下的 Θ(m) 到谱集中噪声下的 Θ(m²)。
实验在 CNN 和最大 7B 的 LLM 上验证了理论:LLM 各层确实呈现强谱噪声集中,Muon 显著加速预训练;CNN 层噪声接近各向同性,二者差距随之消失。这解释了为什么 Muon 的收益集中出现在 LLM 预训练场景。
When and Why Muon Wins: A Complexity-Theoretic Separation from SGD
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.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Muon, SGD, optimizers, pretraining.
Source attribution: curated from arXiv cs.LG (@Hongyi Tao, Dingzhi Yu, Difan Zou, Lijun Zhang).