Self-Distillation Enables Continual Learning
Idan Shenfeld, Mehul Damani, Jonas Hübotter, Pulkit Agrawal
TL;DR
Self-Distillation Fine-Tuning (SDFT) addresses continual learning for foundation models by enabling on-policy learning from demonstrations without explicit reward signals. It achieves this by using a demonstration-conditioned version of the same model as a teacher and distilling to a student via a reverse KL objective, yielding on-policy updates that preserve prior capabilities while acquiring new skills. Across skill learning and knowledge acquisition, SDFT outperforms supervised fine-tuning, delivering higher new-task accuracy and substantially reduced forgetting, and enabling sequential accumulation of multiple skills within a single model. The work demonstrates that on-policy distillation from demonstrations is a practical and effective path for continual learning, with potential to harmonize with reward-based RL and to scale with model capacity.
Abstract
Continual learning, enabling models to acquire new skills and knowledge without degrading existing capabilities, remains a fundamental challenge for foundation models. While on-policy reinforcement learning can reduce forgetting, it requires explicit reward functions that are often unavailable. Learning from expert demonstrations, the primary alternative, is dominated by supervised fine-tuning (SFT), which is inherently off-policy. We introduce Self-Distillation Fine-Tuning (SDFT), a simple method that enables on-policy learning directly from demonstrations. SDFT leverages in-context learning by using a demonstration-conditioned model as its own teacher, generating on-policy training signals that preserve prior capabilities while acquiring new skills. Across skill learning and knowledge acquisition tasks, SDFT consistently outperforms SFT, achieving higher new-task accuracy while substantially reducing catastrophic forgetting. In sequential learning experiments, SDFT enables a single model to accumulate multiple skills over time without performance regression, establishing on-policy distillation as a practical path to continual learning from demonstrations.
