Distillation: learn from a teacher, not only from labels

Distillation Cost: high Usually writes a new student READ-ONLY

Distillation trains a student to match a teacher. The teacher might be a larger model, or an earlier version of the same model. The student sees the teacher's logits, or its traces, and updates its own weights so it comes out closer. Ordinary supervised fine-tuning only sees gold tokens. Distillation also sees how the teacher would have answered.

A teacher box sending logits or traces into a student box that updates its weights.
READ-ONLY. I have not run a standalone distillation of Qwen3.5-9B.
flowchart LR
  T[Teacher] -->|logits or traces| S[Student]
  S --> U[New student weights]

The usual result is a new student checkpoint, so this sits with the methods that change model files. It is also usually expensive, because you have to run the teacher while you train the student.

A close cousin is SDFT, on-policy self-distillation, where the student generates the tokens the teacher then scores. Lu et al. used SDFT to train some of their deletion masks, including the published 7B ToolAlpaca and Science ones. Our 9B masks used a plain SFT loss, not a teacher. That is a real difference, and I will keep it labeled as one.

Previous: Sparse fine-tuning. Next: SDFT.

Tags: Model tuning Fine-tuning

All ship logs