protologue

On-Policy Distillation

Also called GKD, Generalized Knowledge Distillation, on-policy knowledge distillation.

On-policy distillation is a form of knowledge distillation in which the student model is trained on sequences it generates itself, with a teacher model providing feedback on each of those sequences, typically token by token, instead of the student imitating fixed teacher-written outputs.

Description

Agarwal et al. of Google DeepMind introduced the approach as Generalized Knowledge Distillation (GKD) in 2023 (ICLR 2024). They argued that standard distillation of autoregressive models suffers from a distribution mismatch between the output sequences seen during training and those the student generates at inference, and addressed it by training the student on its self-generated outputs with feedback from the teacher. GKD also allows divergences other than the usual forward KL between student and teacher, and can be combined with reinforcement learning fine-tuning; it was evaluated on summarization, translation, arithmetic reasoning and task-agnostic instruction-tuning distillation. A 2025 Thinking Machines post by Kevin Lu popularized the method for post-training reasoning models, describing it as combining on-policy training with a dense reward signal and using a per-token reverse KL to the teacher. The post cites the Qwen3 technical report, in which on-policy distillation reached 74.4% on AIME'24 in 1,800 GPU hours, against 67.6% in 17,920 GPU hours for reinforcement learning and 55.0% for off-policy distillation alone.

Sources

  1. Agarwal et al. (2023). On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes.
  2. Kevin Lu (Thinking Machines Lab) (2025). On-Policy Distillation.

Cite this entry

Protologue. (2026). On-Policy Distillation. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.2, PTL-0277). https://protologue.com/t/on-policy-distillation/

BibTeX
@misc{protologue_on_policy_distillation,
  title = {On-Policy Distillation},
  author = {{Protologue}},
  year = {2026},
  howpublished = {Protologue: A Taxonomy of Prompting and LLM Techniques, v1.9.2},
  note = {Entry PTL-0277},
  url = {https://protologue.com/t/on-policy-distillation/}
}

Markdown JSON