On-Policy Replay for Continual Supervised Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
Continual supervised fine-tuning (SFT) is the de facto recipe for adapting large language models (LLMs) to a stream of downstream tasks, but it suffers from catastrophic forgetting of earlier capabilities. Recent work shows that on-policy signals -- training on the model's own outputs -- reduce forgetting more reliably than off-policy supervision. Existing on-policy methods route this signal through a new training objective (e.g., self-distillation losses with a teacher copy), inheriting an extra forward pass, schedule sensitivity, and stylistic drift from the teacher.We instead route the on-policy signal through the training data source. Our method, On-Policy Replay (OPR), rolls out the most recent checkpoint on a small budget of historical prompts, filters the generations by a task reward, and replays the surviving (prompt, model response) pairs as ordinary SFT examples. There is no teacher, no auxiliary loss, and no on-the-fly distillation. Across three 7--8B instruction-tuned backbones (Qwen2.5-7B-Instruct, Qwen3-8B, Llama3.1-8B-Instruct) on the TRACE continual-learning benchmark, OPR consistently reduces forgetting; on the sharpest stress test (Qwen2.5-7B-Instruct, Sequential SFT BWT -13.93), OPR lifts BWT to -0.65 at a 10% replay budget and to -2.29 at a 1% budget -- a 46% reduction in |BWT| over a tuned Vanilla Replay baseline, with 42--46% reductions observed across all three backbones. We give a KL-shrinkage interpretation that places OPR and prior on-policy distillation methods on a single axis, and we present a counterintuitive finding that explains why Vanilla Replay is already a strong baseline: low-score replay is uniformly worse than Vanilla Replay, demonstrating that the active ingredient in OPR is the on-policy distribution, not the response quality alone.Our code is available at https://github.com/Yancey2024/OnPolicyReplay.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 May 2026.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Shared SFT Lessons Across Alignment, Model Organisms, and Toy Modelscited by 1
- 2026Rethinking Transfer in Continual Learning: A Replay-Based Realisationcited by 0
- 2026Enemray: Toward Capable Language Models for Hassaniyacited by 0
- 2026iSDFT: Information-Proximal Self-Distillation for Continual Learning in LLMscited by 0
- 2026Learning an Anchored Prompt Space for Continual Adaptation of Large Language Modelscited by 0
- 2026Learning an Anchored Prompt Space for Continual Adaptation of Large Language Models26 Sep 2026
- 2026iSDFT: Information-Proximal Self-Distillation for Continual Learning in LLMs21 Sep 2026
- 2026Enemray: Toward Capable Language Models for Hassaniya13 Sep 2026
- 2026Shared SFT Lessons Across Alignment, Model Organisms, and Toy Models28 Jul 2026
- 2026Rethinking Transfer in Continual Learning: A Replay-Based Realisation17 Jul 2026