English

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

Machine Learning 2026-05-26 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2605.26097,
  title  = {Forgetting in Language Models: Capacity, Optimization, and Self-Generated Replay},
  author = {Martin Marek and Dongkyu Cho and Shikai Qiu and Rumi Chunara and Pavel Izmailov and Andrew Gordon Wilson},
  journal= {arXiv preprint arXiv:2605.26097},
  year   = {2026}
}