(如何) 学习率调节灾难性过训练
(How) Learning Rates Regulate Catastrophic Overtraining
AI总结:
研究通过隐式正则化分析学习率对微调中灾难性遗忘的影响,发现学习率大小影响模型收敛方向,并揭示学习率衰减加剧预训练模型尖锐性从而导致灾难性过训练。
摘要:
监督微调(SFT)是LLM后训练的常见第一阶段,用于教授模型遵循指令并塑造其作为助教的行为。同时,SFT可能损害LLM的基本能力,尤其是在长预训练后:这种现象称为灾难性过训练(Springer等,2025)。为了理解过训练,我们首先通过学习率的隐式正则化视角研究微调中的灾难性遗忘。对于训练至相同SFT损失的模型,我们发现学习率调解优化:大步或小步微调会收敛到质不同的模型。接着,我们将遗忘与过训练联系起来:学习率衰减会增加预训练模型的尖锐性,从而在SFT期间加剧灾难性遗忘,导致过训练。我们的发现描绘了LLM中的过训练机制,并广泛贡献于理解预训练和微调期间优化动态的相互作用。
英文摘要:
Supervised fine-tuning (SFT) is a common first stage of LLM post-training, teaching the model to follow instructions and shaping its behavior as a helpful assistant. At the same time, SFT may harm the fundamental capabilities of an LLM, particularly after long pretraining: a phenomenon known as catastrophic overtraining (Springer et al., 2025). To understand overtraining, we first investigate catastrophic forgetting in finetuning through the lens of implicit regularization of the learning rate. For models trained to the same SFT loss, we identify how the learning rate mediates optimization: finetuning with large and small steps converges to qualitatively different models. Next, we link forgetting to overtraining: learning rate decay increases the sharpness of the pretrained model, which in turn exacerbates catastrophic forgetting during SFT, leading to overtraining. Our findings paint a picture of the overtraining mechanism in LLMs and broadly contribute to the understanding of the interplay between optimization dynamics during pretraining and finetuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。