WSM:通过检查点合并实现大语言模型预训练的无衰减学习率调度
WSM: Decay-Free Learning Rate Schedule via Checkpoint Merging for LLM Pre-training
AI总结:
提出WSM框架,通过检查点合并替代学习率衰减,在多个基准测试中显著优于WSD方法并提升微调性能。
摘要:
学习率(LR)调度的最新进展表明,无衰减方法在消除传统衰减阶段的同时仍能保持有竞争力的性能,证明了其有效性。模型合并技术已成为该领域极具前景的解决方案。我们提出了Warmup-Stable and Merge(WSM),这是一个在学习率衰减与模型合并之间建立正式联系的一般框架。WSM为模拟各种衰减策略(包括余弦衰减、线性衰减和逆平方根衰减)提供了统一的理论基础,将其作为有原则的模型平均方案,同时与多种优化方法完全兼容。通过大量实验,我们确定合并持续时间(即用于检查点聚合的训练窗口)是影响模型性能的最关键因素,其重要性超过了检查点间隔和合并数量。我们的框架在多个基准测试中始终优于广泛采用的Warmup-Stable-Decay(WSD)方法,在MATH上取得了+3.5%的显著提升,在HumanEval上提升了+2.9%,在MMLU-Pro上提升了+5.5%。这种性能优势延伸至监督微调场景,突显了WSM在长期模型优化方面的潜力。
英文摘要:
Recent advances in learning rate (LR) scheduling have demonstrated the effectiveness of decay-free approaches that eliminate the traditional decay phase while maintaining competitive performance. Model merging techniques have emerged as particularly promising solutions in this domain. We present Warmup-Stable and Merge (WSM), a general framework that establishes a formal connection between learning rate decay and model merging. WSM provides a unified theoretical foundation for emulating various decay strategies-including cosine decay, linear decay and inverse square root decay-as principled model averaging schemes, while remaining fully compatible with diverse optimization methods. Through extensive experiments, we identify merge duration-the training window for checkpoint aggregation-as the most critical factor influencing model performance, surpassing the importance of both checkpoint interval and merge quantity. Our framework consistently outperforms the widely-adopted Warmup-Stable-Decay (WSD) approach across multiple benchmarks, achieving significant improvements of +3.5% on MATH, +2.9% on HumanEval, and +5.5% on MMLU-Pro. The performance advantages extend to supervised fine-tuning scenarios, highlighting WSM's potential for long-term model refinement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。