{
  "id": "on-policy-distillation",
  "code": "PTL-0277",
  "term": "On-Policy Distillation",
  "aliases": [
    "GKD",
    "Generalized Knowledge Distillation",
    "on-policy knowledge distillation"
  ],
  "category": "foundations",
  "definition": "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.",
  "example": null,
  "broader": [
    "knowledge-distillation"
  ],
  "narrower": [],
  "related": [
    "rlvr",
    "group-relative-policy-optimization",
    "reasoning-model",
    "fine-tuning",
    "rlhf"
  ],
  "introduced": 2023,
  "added": "2026-12-01",
  "sources": [
    {
      "title": "On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes",
      "authors": "Agarwal et al.",
      "year": 2023,
      "url": "https://arxiv.org/abs/2306.13649"
    },
    {
      "title": "On-Policy Distillation",
      "authors": "Kevin Lu (Thinking Machines Lab)",
      "year": 2025,
      "url": "https://www.thinkingmachines.ai/blog/on-policy-distillation/"
    }
  ],
  "url": "https://protologue.com/t/on-policy-distillation/",
  "citation": "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/"
}