Reusing a student's first answers can improve distillation
When Do We Need On-Policy Distillation? Distilling on Offline Student Rollouts Is Often Better · arXiv:2610.11291
In plain words
A language model can learn from a stronger model, called its teacher. Usually, the student keeps making new answers during training. This paper introduces Semi-OPD, which saves answers from the student before training and reuses them, while still updating how the student learns from the teacher.
Across 17 tested student, teacher pairs, Semi-OPD did better than the usual approach on 14 and was comparable on three. The result depends on the starting student and does not promise an improvement on every task.
The research
When a language model learns from a stronger teacher, should it keep generating fresh answers for training? New answers reflect the changing student, but they may also drift away from teacher guidance.
The answer matters because the response source is a central choice in how the student receives training.
Semi-OPD reuses answers sampled from the starting student but recalculates its training signal, testing whether fixed examples can teach better than continually refreshed ones.
Semi-OPD keeps the training responses fixed, but continues to update the student using the teacher's probabilities and the student's current probabilities.
The authors compared it with OPD, which samples fresh responses from the changing student, while matching prompts, teacher, objective, and core training setup.
Across 17 pairs, Semi-OPD outperformed OPD on 14 and was comparable on three, using accuracy on four mathematical tests. Lower initial overlap between teacher and student tended to accompany a larger gain.
This supports an advantage for reusing initial responses in many tested pairs, with alignment related to how large that advantage was.
The comparison covers 17 teacher–student pairs and mathematical tests, so it does not establish that Semi-OPD is better for every pair or task.
It also depends on the starting student: the authors report that Semi-OPD loses its advantage when started from a base student, and they give no numerical threshold for how capable the initial student must be.
What the evidence shows
- The changing training examples
On-policy distillation teaches a student using answers the student generates, with a stronger teacher providing guidance. The paper asks whether those answers must keep being regenerated as the student changes.
Later answers may become less useful for learning from the teacher, so the choice of which answers to train on could affect the result.
- Reuse the starting answers
Semi-on-policy distillation (Semi-OPD) is the paper's method for changing that answer source. It saves responses sampled from the initial student before training and reuses them throughout training.
The teacher's probabilities and the current student's probabilities are still used to update the learning signal, so the student changes even though the saved responses do not.
- Most pairs favored reuse
The authors compared Semi-OPD with on-policy distillation (OPD) across 17 teacher–student pairs. On mathematical problem-solving tests, Semi-OPD outperformed OPD on 14 pairs; the remaining three had small reported gaps and were described as comparable.
Lower initial overlap between the teacher's and student's most likely next tokens tended to accompany a larger Semi-OPD gain, though that association does not establish a cause.
- Clues in the training data
The authors examined the tokens each method trained on. In 15 of 16 analyzed pairs, Semi-OPD had a larger share of training tokens for which the teacher assigned a higher probability than the student; the Nemotron pair was excluded, and JustRL was the exception.
In a separate comparison on two pairs, using initial-student answers beat using teacher-generated answers. These findings support a role for the response source, within those tested settings.
- Coverage and starting quality
A Semi-OPD ablation found that training on only the first quarter of each cached response slowed learning and reduced final accuracy, while full responses achieved the best peak accuracy under the same total training-token budget.
In one additional pair trained on math-heavy data, Semi-OPD also remained ahead on coding tests. The authors report that the method can lose its advantage when the initial student is a base model.
Deep
- Original paper authors
- Siyan Zhao, Yonggan Fu, Jindong Jiang, Shih-Yang Liu, Song Bian
- Submitted to arXiv
- License
- CC BY 4.0