arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.16982cs.LGcs.AIcs.CL
收藏

Muon 在大规模 LLM 训练中具有可扩展性

Muon is Scalable for LLM Training

Moonshot AI(月之暗面科技);UCLA(加利福尼亚大学洛杉矶分校)
Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, Yibo Liu, Sha… 展开作者

Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, Yibo Liu, Shaowei Liu, Bohong Yin, Weiran He, Han Zhu, Yuzhi Wang, Jianzhou Wang, Mengnan Dong, Zheng Zhang, Yongsheng Kang, Hao Zhang, Xinran Xu, Yutao Zhang, Yuxin Wu, Xinyu Zhou, Zhilin Yang

AI总结:

本文提出扩展 Muon 优化器的两项关键技术(权重衰减与逐参数更新尺度调整),使其无需调参即可用于大规模训练,并基于此训练了 3B/16B 参数的 MoE 模型 Moonlight,相比 AdamW 实现约 2 倍计算效率提升。

摘要:

近期,基于矩阵正交化的 Muon 优化器在训练小规模语言模型方面展现了强劲的性能,但其在更大模型上的可扩展性尚未得到验证。我们确定了扩展 Muon 的两项关键技术:(1)加入权重衰减,(2)仔细调整每个参数的更新尺度。这些技术使得 Muon 能够在大规模训练中开箱即用,无需进行超参数调优。缩放定律实验表明,在计算最优训练下,Muon 相比 AdamW 实现了约 2 倍的计算效率提升。基于这些改进,我们推出了 Moonlight,一个拥有 30 亿/160 亿参数的混合专家(MoE)模型,使用 Muon 在 5.7 万亿个 token 上进行了训练。我们的模型提升了当前的帕累托前沿,与之前的模型相比,以更少的训练 FLOPs 实现了更好的性能。我们开源了内存最优且通信高效的分布式 Muon 实现。我们还发布了预训练、指令微调和中间检查点,以支持未来的研究。

英文摘要:

Recently, the Muon optimizer based on matrix orthogonalization has demonstrated strong results in training small-scale language models, but the scalability to larger models has not been proven. We identify two crucial techniques for scaling up Muon: (1) adding weight decay and (2) carefully adjusting the per-parameter update scale. These techniques allow Muon to work out-of-the-box on large-scale training without the need of hyper-parameter tuning. Scaling law experiments indicate that Muon achieves $\sim\!2\times$ computational efficiency compared to AdamW with compute optimal training. Based on these improvements, we introduce Moonlight, a 3B/16B-parameter Mixture-of-Expert (MoE) model trained with 5.7T tokens using Muon. Our model improves the current Pareto frontier, achieving better performance with much fewer training FLOPs compared to prior models. We open-source our distributed Muon implementation that is memory optimal and communication efficient. We also release the pretrained, instruction-tuned, and intermediate checkpoints to support future research.

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

↑