arXiv:2606.04662cs.LGcs.AI2026-06被引 2

从曲率角度揭示Muon为何比Adam训练更快。

Why Muon Outperforms Adam: A Curvature Perspective

论文配图:Why Muon Outperforms Adam: A Curvature Perspective
图 1 · 摘自论文原文
  • 通过二阶近似分析,发现Muon在相同验证损失下一步下降更多。
  • Muon的曲率惩罚更小,主要源于更低的方向尖锐度(NDS)。
  • 数据不平衡越强,Muon的曲率优势越明显,适合大模型训练研究者。

Muon在大规模语言模型训练中相比Adam提升约两倍效率,但其局部几何优势来源尚不明确。本文首次从曲率视角揭示这一现象:首先,通过二阶泰勒展开表明,当验证损失相当时,Muon的一步损失下降优于Adam;二者一阶收益相近,但Muon的二阶曲率惩罚更小。其次,将曲率惩罚分解为更新范数平方与归一化方向尖锐度(NDS),发现两者更新范数相当,故差异源于更小的NDS。第三,利用受控不平衡的Zipf-概率上下文无关语法(PCFG)数据,发现数据不平衡会放大Muon的NDS优势;层内/跨层分解显示,训练中后期,这种优势主要由更小的层内曲率维持。此外,针对异质曲率与梯度对齐的简化二次问题,理论证明Muon通过平衡各曲率组的更新能量,使平均NDS低于梯度下降(GD);当曲率异质性足够强时,相同步数后局部二次损失更低。

原文摘要 · Abstract (English)

Muon improves training efficiency over Adam in large language-model training by about two times, but the local geometric source of this advantage remains unclear. Our work takes a first step toward demystifying Muon's superiority over Adam from a curvature perspective. First, we apply a second-order Taylor approximation to the training landscape and show that Muon achieves a larger one-step loss decrease than Adam at matched validation loss. The two optimizers have comparable first-order gains, but Muon consistently incurs a smaller second-order curvature penalty. Second, we decompose this curvature penalty into the squared update norm and Normalized Directional Sharpness (NDS). We find that Muon and Adam have comparable update norms, so Muon's smaller curvature penalty is driven by lower NDS, not update scale. Third, we study how training data and model structure shape Muon's NDS advantage. Using Zipf-Probabilistic Context-Free Grammar (PCFG) data with controlled imbalance, we show that data imbalance amplifies Muon's NDS advantage over Adam. A within-/cross-layer decomposition further shows that, in the middle and late stages of training, Muon's lower NDS is mainly sustained by smaller within-layer curvature. Beyond empirical evidence, we analyze stylized quadratic problems with heterogeneous curvature and gradient alignment toward high-curvature modes. We prove that Muon attains a smaller average NDS than GD by balancing update energy across curvature groups; when curvature heterogeneity is sufficiently strong, this also yields lower local quadratic loss after the same number of steps.

优化器曲率分析大模型训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。