新方法让Muon优化器在LLM预训练中跑得更快,尤其擅长沿着平坦方向加速训练。
研究人员提出了一种曲率条件多尺度动量方法,结合球面约束技术,显著提升了LLM预训练效率。该方法在密集和MoE架构、0.12B至2.3B参数规模的模型上都加速了Muon优化器。多尺度动量在平坦方向上结合慢衰减和快衰减组件,分别用于降噪和快速曲率适应。
Curvature-Conditioned Multiscale Momentum with Sphere Constraints for LLM Pretraining
Pretraining accounts for a large fraction of the total computational cost in LLM training. However, noise-dominant gradients and the highly ill-conditioned loss landscape bring severe challenges. Although modern adaptive optimizers such as AdamW and Muon have achieved great success in large-scale pretraining, their reliance on gradient normalization offers limited mitigation of the ill-conditioned curvature. The progress along flat directions (eigen-directions of small eigenvalues), which dominates the final loss reduction, remains relatively slow. To enhance training dynamics along flat directions, we propose a curvature-conditioned multiscale momentum method with sphere constraints, delivering steady acceleration in LLM pretraining. This multiscale momentum, applied only along flat directions, pairs a slow-decay component for noise reduction with a fast-decay component for rapid curvature adaptation, harnessing their complementary strengths. Crucially, we employ a sphere constraint technique to prevent parameter inflation and excessively rapid effective learning rate decay that would otherwise arise from a naive combination. Extensive experiments show that the proposed method significantly accelerates Muon across diverse architectures (dense, MoE) and model sizes (0.12B--2.3B parameters). Theoretically, we verify the acceleration effect and provide insight into the design principles underlying the flat-direction multiscale momentum.