arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16127cs.CLcs.LG
收藏

在不使用学习率衰减的情况下预训练LLM增强了监督微调

Pre-training LLM without Learning Rate Decay Enhances Supervised Fine-Tuning

Tohoku University(东大大学)

Kazuki Yano, Shun Kiyono, Sosuke Kobayashi, Sho Takase, Jun Suzuki

AI总结:

本文研究了学习率调度在大语言模型预训练中的作用,发现不使用衰减的学习率调度在监督微调后表现更优,且损失景观分析显示其保持更平坦的最小值以支持适应性。

摘要:

我们研究了学习率调度在大规模预训练大型语言模型中的作用,重点在于其对监督微调(SFT)后下游性能的影响。基于衰减的学习率调度器被广泛用于最小化预训练损失。然而,尽管它们被广泛使用,这些调度器在SFT后的性能影响仍缺乏研究。本文考察了Warmup-Stable-Only(WSO),它在预热后保持恒定的学习率而无衰减。通过1B和8B参数模型的实验,我们发现WSO在SFT后性能上始终优于基于衰减的调度器,尽管基于衰减的调度器在预训练后可能表现更好。结果在不同阶段均成立,包括中训练和过训练。损失景观分析进一步揭示,基于衰减的调度器使模型陷入更尖锐的最小值,而WSO保持更平坦的最小值以支持适应性。这些发现表明,为提高预训练指标而应用学习率衰减可能会损害下游适应性。本文还提供了训练和模型发布策略的实用指导,表明使用WSO预训练的模型在下游任务中更具适应性。

英文摘要:

We investigate the role of learning rate scheduling in the large-scale pre-training of large language models, focusing on its influence on downstream performance after supervised fine-tuning (SFT). Decay-based learning rate schedulers are widely used to minimize pre-training loss. However, despite their widespread use, how these schedulers affect performance after SFT remains underexplored. In this paper, we examine Warmup-Stable-Only (WSO), which maintains a constant learning rate after warmup without any decay. Through experiments with 1B and 8B parameter models, we show that WSO consistently outperforms decay-based schedulers in terms of performance after SFT, even though decay-based schedulers may exhibit better performance after pre-training. The result also holds across different regimes with mid-training and over-training. Loss landscape analysis further reveals that decay-based schedulers lead models into sharper minima, whereas WSO preserves flatter minima that support adaptability. These findings indicate that applying LR decay to improve pre-training metrics may compromise downstream adaptability. Our work also provides practical guidance for training and model release strategies, highlighting that pre-training models with WSO enhances their adaptability for downstream tasks.

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

↑