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

语言模型中的遗忘:容量、优化与自生成回放

Forgetting in Language Models: Capacity, Optimization, and Self-Generated Replay

New York University(纽约大学)

Martin Marek, Dongkyu Cho, Shikai Qiu, Rumi Chunara, Pavel Izmailov, Andrew Gordon Wilson

AI总结:

本文研究了语言模型中的遗忘问题,发现自生成样本可作为有效的回放数据几乎消除遗忘,并揭示了容量限制和低学习率对遗忘的影响。

摘要:

在新任务上训练的模型通常会在先前任务上表现下降,这种现象称为遗忘。传统上,缓解遗忘需要回放存储的先前任务样本,这通常不切实际。相比之下,语言模型可以从自身的训练分布中采样,我们证明这些自生成样本可作为有效的回放数据,几乎消除遗忘。然而,我们发现当模型剩余容量很小时,遗忘仍然存在:接近饱和的预训练模型无法在不覆盖先前知识的情况下吸收新信息。当容量不是限制因素时,低学习率会减少遗忘,但需要更多的训练步骤。回放打破了这一权衡,使得无需遗忘即可进行快速、高学习率的微调。

英文摘要:

Models trained on a new task typically degrade on prior tasks, a phenomenon known as forgetting. Traditionally, mitigating forgetting has required replaying stored exemplars from prior tasks, which is often impractical. By contrast, language models can sample from their own training distribution, and we show that these self-generated samples serve as effective replay data, nearly eliminating forgetting. We find that forgetting nonetheless persists when the model has little remaining capacity: models pretrained close to saturation cannot absorb new information without overwriting prior knowledge. When capacity is not the limiting factor, low learning rates reduce forgetting but require substantially more training steps. Replay breaks this tradeoff, enabling fast, high-learning-rate finetuning without forgetting.

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

↑