Skip to content

Student Decisions Also Matter in On-Policy Distillation

Ziwei Liu, Zhiyu Pan, Xiliang Zhang, Ai Han

cs.AI

Abstract

On-policy distillation (OPD) has emerged as an effective approach for large language model (LLM) self-improvement. However, we identify a overlooked issue: OPD can degrade the student's existing competence. On cases where the student can solve correctly, teacher lead the students to make errors after OPD, hence degrading capabilities the student possessed before distillation. To address this, we propose Selective Self-Anchoring (SSA), a simple yet effective method that protects the student's existing capability. SSA identifies trajectories where the student already produces correct answers, then localizes tokens at which the teacher assigns lower probability than the student, which indicates disagreement with the student's choices. At these positions, SSA adaptively generates a resistance proportional to divergence between teacher and student, reducing the teacher's learning pressure where it conflicts with the student's competence. Extensive experiments on math reasoning tasks across various teacher-student size pairs show that compared to baselines, SSA reduces the loss of the student's existing capabilities during distillation while acquiring more new knowledge, and achieves better performance on multiple test benchmarks.

Create a lesson