Research Papers 论文研究 5h ago Updated 18m ago 更新于 18分钟前 47

Muon with Finite Newton-Schulz: The Smoothing Benefit in Nonsmooth Nonconvex Optimization 有限牛顿-舒尔兹迭代Muon:非光滑非凸优化中的平滑优势

Muon optimizer uses finite Newton-Schulz iterations to approximately orthogonalize momentum for matrix-valued parameters in LLM pretraining Previous theory treated finite Newton-Schulz depth as approximation error, but this paper proves it is actually beneficial for nonsmooth nonconvex optimization The finite iteration smooths the discontinuous polar map into a Lipschitz map of singular values, enabling convergence via online-to-nonconvex conversion A Newton-Schulz depth growing only logarithmic Muon优化器通过有限牛顿-舒尔茨迭代近似正交化动量,在LLM预训练中表现优异 有限牛顿-舒尔茨迭代将不连续的极映射平滑为奇异值的Lipschitz映射,对非光滑非凸优化有益 理论证明牛顿-舒尔茨深度只需对数增长即可保证收敛到平稳点,而精确极因子更新可能无法收敛 样本复杂度界达到非光滑非凸优化的最佳已知保证,对光滑非凸优化也达到最优(除问题相关因子外) 分析框架可扩展到具有相同平滑性质的更一般谱映射

62
Hot 热度
76
Quality 质量
65
Impact 影响力

Analysis 深度分析

TL;DR

  • Muon optimizer uses finite Newton-Schulz iterations to approximately orthogonalize momentum for matrix-valued parameters in LLM pretraining
  • Previous theory treated finite Newton-Schulz depth as approximation error, but this paper proves it is actually beneficial for nonsmooth nonconvex optimization
  • The finite iteration smooths the discontinuous polar map into a Lipschitz map of singular values, enabling convergence via online-to-nonconvex conversion
  • A Newton-Schulz depth growing only logarithmically in target accuracy suffices for convergence to stationary points, whereas exact-polar Muon may fail to converge
  • Sample complexity bounds match best-known guarantees for nonsmooth nonconvex optimization and are optimal for smooth nonconvex optimization up to problem-dependent factors

Why It Matters

This paper fundamentally reframes the theoretical understanding of Muon, a widely used optimizer in large-scale LLM pretraining, by showing that its finite Newton-Schulz approximation is not a practical compromise but a theoretical necessity for convergence in nonsmooth nonconvex settings. For AI practitioners training large models with matrix-valued parameters, this provides rigorous justification for the empirically successful Muon optimizer and guides the selection of Newton-Schulz depth. For researchers, it introduces an elegant application of online-to-nonconvex conversion to matrix optimization problems.

Technical Details

  • Muon optimizer: Approximates the polar factor (orthogonal projection) of momentum matrices using Newton-Schulz iterations, commonly deployed for matrix-valued parameters in LLM pretraining
  • Online-to-nonconvex conversion framework: Views the Muon update rule as an online learner and converts its regret bound into a stationarity guarantee for nonsmooth nonconvex optimization
  • Smoothing mechanism: Finite Newton-Schulz iterations transform the discontinuous polar map into a Lipschitz continuous map of singular values, yielding a smoothed spectral potential that the online-to-nonconvex conversion requires
  • Convergence guarantee: Proves that Newton-Schulz depth scaling logarithmically with target accuracy is sufficient for convergence to stationary points; exact-polar Muon may fail to converge due to discontinuity
  • Optimality: Sample complexity bounds match state-of-the-art for nonsmooth nonconvex optimization and achieve optimality for smooth nonconvex optimization up to problem-dependent factors; the analysis extends to general spectral maps with equivalent smoothing properties

Industry Insight

  • The theoretical validation of finite Newton-Schulz depth provides confidence in current Muon implementations and suggests that increasing iteration depth beyond a logarithmic scale yields diminishing theoretical returns, guiding efficient hyperparameter selection
  • The online-to-nonconvex conversion framework demonstrated here could be adapted to analyze other matrix-valued optimizers used in large-scale training, potentially revealing similar smoothing benefits in other contexts
  • As LLM pretraining continues to push toward larger models with more matrix-valued parameters, understanding the nonsmooth nonconvex landscape becomes critical; this work offers a blueprint for designing and analyzing optimizers that provably handle such challenges

TL;DR

  • Muon优化器通过有限牛顿-舒尔茨迭代近似正交化动量,在LLM预训练中表现优异
  • 有限牛顿-舒尔茨迭代将不连续的极映射平滑为奇异值的Lipschitz映射,对非光滑非凸优化有益
  • 理论证明牛顿-舒尔茨深度只需对数增长即可保证收敛到平稳点,而精确极因子更新可能无法收敛
  • 样本复杂度界达到非光滑非凸优化的最佳已知保证,对光滑非凸优化也达到最优(除问题相关因子外)
  • 分析框架可扩展到具有相同平滑性质的更一般谱映射

为什么值得看

本文首次从理论上揭示了有限牛顿-舒尔茨迭代在Muon优化器中的积极作用,打破了"有限迭代只是近似误差"的传统认知。这对LLM预训练优化器的理论理解和设计具有重要指导意义。

技术解析

  • Muon优化器通过牛顿-舒尔茨迭代近似正交化矩阵参数的动量,现有理论通常用精确极因子替换迭代或将有限深度视为误差,但作者证明有限迭代本身对非光滑非凸优化有益
  • 分析框架采用在线到非凸转换,将更新规则视为在线学习者,通过平滑不连续的极映射为奇异值的Lipschitz映射,使Muon成为具有平滑谱势的在线学习者
  • 理论证明牛顿-舒尔茨深度只需对数增长即可保证收敛到平稳点,而使用精确极因子的Muon可能无法收敛,样本复杂度界达到非光滑非凸优化的最佳已知保证
  • 该分析框架可扩展到具有相同平滑性质的更一般谱映射,不局限于牛顿-舒尔茨迭代

行业启示

  • 为LLM预训练中广泛使用的Muon优化器提供了理论支撑,解释了为什么有限迭代次数在实践中有效,而非理论上的缺陷
  • 揭示了"平滑"在优化理论中的关键作用,为设计新的矩阵参数优化器提供了新思路
  • 理论结果与实践经验一致,表明优化器的理论分析需要更细致地考虑迭代次数的影响,而非简单将其视为误差

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Research 科学研究 LLM 大模型 Training 训练