Replay on Demand: An Emergent Curriculum for Balancing Adaptation and Forgetting in Continued Pretraining
Lukas Thede, Shengzhuang Chen, Stefan Winzeck, Matthias Bethge, Zeynep Akata, Jonathan Richard Schwarz
Key points
From the paper's conclusion- Introduces Replay on Demand (RoD), which derives replay allocation from the model's learning dynamics to balance adaptation and forgetting in continued pretraining.
- RoD prioritizes adaptation samples by learning potential and replay samples by observed forgetting, yielding an online curriculum.
- Shows RoD reaches or improves adaptation-forgetting frontier without prescribing replay allocation in advance, targeting what is needed, when it is needed.
Abstract
Continued pretraining enables language models to adapt to new domains and knowledge, but often at the cost of forgetting previously acquired capabilities. Replay can mitigate this trade-off, but fixed replay mixtures allocate training independently of the model's actual retention needs. We introduce Replay on Demand (RoD), which instead derives the replay allocation from the model's learning dynamics. RoD jointly prioritizes adaptation samples by their remaining learning potential and replay samples by their observed forgetting. Their competition for a shared training budget yields an online curriculum that determines what to train on at each step. Across models, scales, and adaptation domains, RoD reaches or improves upon the adaptation-forgetting frontier of tuned fixed-replay baselines and model merging without prescribing a replay allocation in advance. Replay concentrates on sources that are more vulnerable to forgetting and dynamically increases and redistributes as forgetting emerges during training. Together, our results show that replay can be allocated online from the model's evolving state, targeting what is needed, when it is needed.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Introduces Replay on Demand (RoD), which derives replay allocation from the model's learning dynamics to balance adaptation and forgetting in continued pretraining.
- RoD prioritizes adaptation samples by learning potential and replay samples by observed forgetting, yielding an online curriculum.
- Shows RoD reaches or improves adaptation-forgetting frontier without prescribing replay allocation in advance, targeting what is needed, when it is needed.
Readers' thoughts
No reader thoughts yet.
Related papers
- Reliable Replay through Spatial Coherence in Online Continual LearningarXiv · 2026
- A Deafening Silence: Catastrophic Forgetting Lives in the Output Embeddings of Tokens the Data Never SpeaksarXiv · 2026
- CAMR: Compatibility-Aware Memory Replay for Continual Learning in Large Language ModelsarXiv · 2026
- InstructReplay: Replaying Assistant Turns to Preserve General Behavior During Factual Fine-TuningarXiv · 2026
- Combating Catastrophic Forgetting in Continual Domain Adaptation via Knowledge RecastingarXiv · 2026
- ChainLoRA: Geometry-Preserving Task Vector Merging for Continual Learning in LLMsarXiv · 2026