Reinforcing What the Student Has Learned: Teacher-Guided On-Policy Distillation

Bozhen Fang, Linhao Zhong, Xuehao Wang, Huanyi Zheng, Hao Chen +1 more
11/5/2026
cs.LG
distillation

Official code: aim-uofa/sd-opd (0 stars, Python, last commit 2026-11-05).

Abstract

On-policy distillation (OPD) improves language-model reasoning through dense teacher feedback on student-generated responses. We first observe an amplitude disparity in this feedback: on math reasoning responses, style-related positions exhibit 3.5 times the mean absolute teacher--student log-probability difference of mathematical positions.

Show full abstract

Scaling OPD updates by these discrepancies thus directs much of the update strength toward matching the teacher's expression. We instead take the student's own pretrained base as a reference: the student--base difference records the token preferences acquired during post-training and provides supervision that does not depend on the student's distance from the teacher. Building on this reference, we propose Student-Delta On-Policy Distillation (SD-OPD), which uses centered student--base differences as update coefficients, keeps each coefficient only when its sign agrees with centered teacher--student feedback, and recomputes the student signal every training round. Across 5 teacher--student configurations with Qwen3 students of 1.7B to 8B parameters, SD-OPD improves six-task mathematics average pass@1 (avg@16) over OPD by 7.76 to 10.37 percentage points. Code is available at https://github.com/aim-uofa/sd-opd.

View on arXivView PDF

Code Implementations(1)

aim-uofa/sd-opdOfficial100%
00Python, ShellNov 5, 20263 weeks ago

Similar Papers

Cite this paper

@article{fang2026reinforcing,
  title  = {Reinforcing What the Student Has Learned: Teacher-Guided On-Policy Distillation},
  author = {Bozhen Fang and Linhao Zhong and Xuehao Wang and Huanyi Zheng and Hao Chen and Chunhua Shen},
  year   = {2026},
  eprint = {2611.07722},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.07722v2}
}

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.07722.svg)](https://codeofpaper.com/paper/2611.07722)

Discussion