Reproduce “Self-Distillation Enables Continual Learning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Idan Shenfeld, Mehul Damani, Jonas Hübotter, Pulkit Agrawal

SDFT trains a language model from demonstrations by using a demonstration-aware teacher to evaluate the student’s own generated answers, with per-token forward-KL distillation. In sequential training it retains earlier-task performance across three skills unlike SFT. On a 2025 disaster-article task, Qwen2.5-7B-Instruct scores 89% strict and 98% indirect OOD accuracy versus SFT’s 80% on both; this does not establish unrestricted knowledge updating.

Key insights

  • The SDFT objective is mathematically equivalent to maximizing an implicit reward function derived from comparing the log-probabilities of trajectories under the teacher and student policies, bypassing explicit reward engineering.
  • Large pre-trained models' in-context learning (ICL) abilities can effectively serve as an 'optimal' policy (teacher) when conditioned on expert demonstrations, providing a powerful on-policy training signal.
  • The effectiveness of SDFT in improving accuracy and mitigating forgetting scales monotonically with the underlying model's ICL capabilities, with larger models showing greater benefits.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.