Thinking Machines Lab Introduces On-Policy Distillation for Dense LLM Post-Training
Summary:Thinking Machines Lab has introduced On-Policy Distillation, a post-training method that samples trajectories from the student and asks a strong teacher to score every token at the states the student actually visits. The approach combines the state relevance of on-policy learning with dense supervision. Its reference implementation uses a per-token reverse-KL objective on top of Tinker and is accompanied by a step-by-step training cookbook. The lab says it reproduced the Qwen3 report's result o
Thinking Machines Lab has published On-Policy Distillation, together with an implementation built on the Tinker training API and cookbook. This is not a new foundation model; it is a post-training method in which the student generates its own trajectories and a teacher provides token-level supervision at the states the student actually visits. The goal is to combine the state relevance of on-policy learning with the dense feedback available from distillation. ## How the three training signals differ | Method | Trajectory source | Feedback density | Main weakness | |---|---|---|---| | Supervised fine-tuning | Offline teacher or human data | Dense | The student learns mainly from the teacher's trajectory distribution | | Reinforcement learning | Online student rollouts | Sparse | A training episode returns only a limited number of reward bits | | On-policy distillation | Online student rollouts | Dense | Every token requires teacher scoring | Conventional SFT and off-policy distillation expose the student to states commonly visited by the teacher. If the student makes an early mistake, it can enter a region absent from the training data, with the error compounding over longer sequences. On-policy distillation asks the teacher to evaluate the states where the student actually goes. This resembles DAgger, which aggregates teacher labels at student-visited states, but OPD aligns token-level teacher distributions rather than merely adding teacher-labeled examples to an SFT dataset. RL has the opposite limitation. Although its trajectories come directly from the student, the reward is usually available only at the end of an episode. If a mathematics answer is wrong, a single failure signal does not reveal whether the cause was operation ordering, arithmetic, or an earlier reasoning step. OPD attempts to supply finer-grained teacher distributions or scores at each student-generated prefix. This dense signal should not be confused with a verified environment reward: it is still teacher supervision and can inherit the teacher's errors. ## How per-token reverse KL works For an input`x`, let the student generate a trajectory`y₁…yT`. At step`t`, the student samples from its own prefix: `y_t ~ π_θ(· | x, y_ **Source**: [Thinking Machines Lab Blog](https://thinkingmachines.ai/blog/on-policy-distillation/) (2026-11-29) — END —
Tags: #On-Policy Distillation #LLM Post-Training #Dense Supervision #Reverse KL #Tinker
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments