arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.09967cs.LGcs.AI
收藏

Muon²:通过自适应二阶矩预条件提升穆隆

Muon$^2$: Boosting Muon via Adaptive Second-Moment Preconditioning

University of California at Santa Barbara(加州大学圣巴巴拉分校);University at Albany, SUNY(阿尔巴尼大学,SUNY)

Ziyue Liu, Ruijie Zhang, Zhengyang Wang, Yequan Zhao, Yupeng Su, Zi Yang, Zheng Zhang

AI总结:

Muon²通过引入Adam风格的自适应二阶矩预条件改进了穆隆的效率与质量,提升了极化近似中的收敛速度和实际正交化质量,实验表明其在参数规模达13B的预训练任务中表现更优。

摘要:

Muon已展现为一种有前途的优化器,用于大规模基础模型预训练,通过迭代正交化利用神经网络更新的矩阵结构。然而,Muon的正交化质量依赖于执行的牛顿-施卢茨(NS)迭代次数,这带来了效率挑战,因为其计算和通信成本非平凡。我们提出Muon²,作为Muon的扩展,通过在正交化前应用Adam风格的自适应二阶矩预条件来提高质量和效率。我们的关键见解是,Muon的核心挑战在于极化近似中的病态动量矩阵,其谱通过Muon²显著改善,从而更快收敛到实用的正交化。我们进一步通过方向对齐特性化了实际正交化质量,在此情况下,Muon²在每个极化步骤中均显著优于Muon。在GPT、LLaMA和专家混合预训练实验中,Muon²(及其内存高效变种Muon²-F)在参数规模达13B时,始终优于Muon及其变种,同时将NS迭代次数减少40%,并在达到相同损失时节省了多达四分之一的训练时间。

英文摘要:

Muon has emerged as a promising optimizer for large-scale foundation model pre-training by exploiting the matrix structure of neural network updates through iterative orthogonalization. However, the orthogonalization quality of Muon hinges on the number of Newton--Schulz (NS) iterations performed, which poses efficiency challenges due to its non-trivial computation and communication cost. We propose Muon$^2$, an extension of Muon, to improve both quality and efficiency by applying Adam-style adaptive second-moment preconditioning before orthogonalization. Our key insight is that the core challenge of polar approximation in Muon lies in the ill-conditioned momentum matrix, of which the spectrum is substantially improved by Muon$^2$, leading to faster convergence toward a practically sufficient orthogonalization. We further characterize the practical orthogonalization quality via directional alignment, under which Muon$^2$ demonstrates dramatic improvement over Muon at each polar step. Across GPT, LLaMA, and Mixture-of-Experts pre-training experiments up to 13B parameters, Muon$^2$ (and its memory-efficient variant Muon$^2$-F that preserves most of its benefits) consistently outperforms Muon and its variants while reducing NS iterations by 40%, and saves up to 1/4 training time over Muon when achieving the same loss.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑