SDFT: on-policy self-distillation

On-policy distillation Cost: mid-high Writes student weights, or a mask on top READ-ONLY

SDFT is on-policy self-distillation: the student generates a reply, the teacher provides logits on those same tokens, and the student takes a step toward the teacher. The data is not a fixed set of gold strings. It is the student's current behavior, scored by the teacher.

The paper I would cite is arXiv 2601.19897, with code at idanshen/Self-Distillation. I have not run SDFT myself. I have used the authors' evaluation scripts, pinned at commit d775732, to score ToolAlpaca and (in planned work) Science.

Loop of student rollout, teacher logits, and a student update.
Lu et al. trained their published 7B ToolAlpaca and Science deletion masks with this loop. Our 9B masks used SFT instead.

That last sentence is the one to remember when you look at our numbers next to the published 7B masks. Same family of method on the mask, different training loss behind it. We did measure the overlap of those two published 7B masks:

Jaccard 0.0241 versus chance 0.0055 for the published 7B ToolAlpaca and Science masks.
Our analysis of Lu et al.'s SDFT masks, not a training run of ours. The union of those two masks keeps 85% of the ToolAlpaca gain and 97.9% of the Science gain; full scores are in Stacking and 4-bit.

Previous: Distillation. Next: GRPO and other RL.

Tags: Model tuning Fine-tuning Deletion masks

All ship logs