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

REG:一种用于稳健训练动态的正则化优化器

REG: A Regularization Optimizer for Robust Training Dynamics

Huawei Noah’s Ark Lab(华为诺亚实验室)

Zehua Liu, Han Wu, Xiaojin Fu, Shuqi Liu, Xiongwei Han, Tao Zhong, Mingxuan Yuan

AI总结:

针对结构感知优化器Muon训练不稳定、与AdamW预训练模型微调不兼容的问题,提出基于行列缩放算子的REG优化器,在LLM训练中性能和稳定性优于AdamW且适配其训练范式。

摘要:

优化器对大语言模型(LLM)的高效训练至关重要。尽管AdamW是事实上的标准,但近期出现了如Muon这类结构感知优化器,它们通过对整个权重矩阵进行操作来正则化梯度更新。Muon优化器可平衡所有方向上的梯度更新。然而,Muon对矩阵符号函数的依赖会导致训练不稳定,且在微调经AdamW预训练的模型时存在不兼容性。为解决这些局限,我们提出REG——一种新型优化器,它用行列缩放(RACS)算子替代了Muon中激进的矩阵符号算子。RACS算子以矩阵平衡为理论基础,以更温和的方式对更新步长进行正则化,实现更简单,且与成熟的训练动态兼容性更强。通过在LLM训练上开展的大量实证实验,我们证明REG优化器不仅在性能和稳定性上优于AdamW,还能与AdamW训练范式保持一致性。这种一致性在微调阶段尤为明显,REG优化器避免了Muon所出现的性能下降问题。

英文摘要:

Optimizers are crucial for the efficient training of Large Language Models (LLMs). While AdamW is the de facto standard, recent structure-aware optimizers like Muon have emerged, which regularize gradient updates by operating on entire weight matrices. The Muon optimizer balances the gradient updates along all the directions. However, Muon's reliance on the matrix sign function can lead to training instability, exhibits incompatibility when fine-tuning models pre-trained with AdamW. To address these limitations, we propose \textbf{REG}, a novel optimizer that replaces Muon's aggressive matrix sign operator with the Row-and-Column-Scaling (RACS) operator. Theoretically grounded in balancing a matrix, the RACS operator regularizes the update steps in a less drastic manner, making it simpler to implement and more compatible with established training dynamics. Through extensive empirical experiments on LLM training, we demonstrate that our REG optimizer not only achieves superior performance and stability over AdamW, but also maintains consistency with the AdamW training paradigm. This consistency is particularly evident during the fine-tuning stage, where REG optimizer avoids the performance degradation observed with Muon.

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

↑