EnergyCal:驯服稀疏MoE训练中Muon系列优化器的损失尖峰
EnergyCal: Taming Loss Spikes in Muon-Family Optimizers for Sparse MoE Training
AI总结:
EnergyCal是一种轻量规则,可衰减稀疏MoE训练中Muon系列优化器的路由专家更新,在4B参数MoE模型上能大幅降低损失尖峰负担并提升困惑度,且吞吐量成本适中。
摘要:
稀疏混合专家(MoE)语言模型训练在使用Muon系列优化器时会出现较大的损失尖峰。我们提出EnergyCal,这是一种轻量规则,会根据路由专家的有限步Newton-Schulz方向的归一化平方Frobenius范数来衰减其更新。EnergyCal不改变谱变换,也不添加持久优化器状态。我们在一个40亿参数的MoE模型上对其进行评估。与开发选定的、学习率更低的MuonH方案相比,EnergyCal-MuonH将平均阈值化损失尖峰负担降低了99.51%,最终几何平均困惑度降低了4.06%,同时吞吐量成本适中。在普通Muon匹配标称学习率和权重衰减的情况下,平均尖峰负担在两个测试指数上平均降低了95.98%,并伴随小的端点改进。这些发现支持在评估设置中,无论是否使用Hyperball,都能实现稳定。
英文摘要:
Sparse mixture-of-experts (MoE) language-model training can exhibit large loss spikes with Muon-family optimizers. We introduce EnergyCal, a lightweight rule that attenuates routed-expert updates according to the normalized squared Frobenius norm of their finite-step Newton-Schulz directions. EnergyCal leaves the spectral transform unchanged and adds no persistent optimizer state. We evaluate it on a 4B-parameter MoE model. Against a development-selected, lower-learning-rate MuonH recipe, EnergyCal-MuonH reduces mean thresholded loss-spike burden by 99.51% and final geometric-mean perplexity by 4.06%, with a modest throughput cost. With plain Muon at matched nominal learning rate and weight decay, the reduction in mean spike burden averages 95.98% across the two tested exponents, accompanied by small endpoint improvements. These findings support stabilization both with and without Hyperball in the evaluated setting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。