Speculative Self-Distillation enables Efficient Knowledge Internalization

Shayan Talaei, Agam Bhatia, Arshia Soltani Moakhar, Jonas Hübotter, Amin Saberi +1 more
11/9/2026
cs.LGcs.AIcs.CL
distillation

No official code found. Best implementation: ShayanTalaei/SpeculativeSelfDistillation (23 stars, Python, Apache-2.0, last commit 2026-11-12).

Abstract

Many real-world applications require language models to internalize knowledge that was absent from pretraining, to incorporate continually updated facts, or to learn new domain skills. Self-distillation has emerged as a natural approach for this task.

Show full abstract

A model conditioned on the source material acts as the teacher, and an unconditioned student is trained to reproduce the teacher's behavior closed-book. We propose Speculative Self-Distillation (SSD), an efficient per-token mixed-policy method for self-distillation. The student generates each rollout by default, while the teacher intervenes only at positions where its next-token distribution substantially diverges from the student's. Unlike off-policy distillation with teacher-generated prefixes, this design keeps training rollouts close to the student's test-time behavior, while avoiding the low-signal states that fully on-policy rollouts drift into. In effect, SSD lets the teacher steer the rollout exactly where the privileged context changes the prediction. On three closed-book QA benchmarks measuring fact recall, knowledge updates, and skill acquisition, SSD nearly matches on-policy distillation while using 38-69% fewer supervised tokens and consistently outperforms off-policy distillation on the held-out test set. On a forgetting stress test, SSD retains the most general capability while also achieving the best in-domain accuracy and using less supervision than the on-policy baseline. Overall, SSD establishes a new accuracy-efficiency-forgetting Pareto frontier for self-distillation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Speculative Self-Distillation enables Efficient Knowledge Internalization (NeurIPS 2026)

233Python, ShellNov 6, 20262 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{talaei2026speculative,
  title  = {Speculative Self-Distillation enables Efficient Knowledge Internalization},
  author = {Shayan Talaei and Agam Bhatia and Arshia Soltani Moakhar and Jonas Hübotter and Amin Saberi and Azalia Mirhoseini},
  year   = {2026},
  eprint = {2611.12016},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.12016v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.12016.svg)](https://codeofpaper.com/paper/2611.12016)

Discussion