On-policy distillation: How a model learns from a teacher grading its own work
On-policy distillation has a small model write its own answers while a stronger teacher scores every word. Here is how it works, where it came from, and why Xiaomi's MiMo models use it.

On-policy distillation is a way to train a small or newly built AI model by letting it write its own answers while a stronger “teacher” model scores every word. The student practices on its own attempts, and it gets detailed feedback instead of a single pass or fail at the end.
The term appears in the news because Xiaomi’s newest MiMo checkpoint, which carries the MOPD suffix, was trained with a multi-teacher version of it. Our report on that release covers the price and the listing. This guide covers the technique.
Practice on your own essays, graded line by line
Picture a student learning to write essays. There are three ways to teach.
- Hand over the best essays ever written and say “imitate these.” The student never sees feedback on their own work.
- Let the student write essays and give only a final grade. The grade says little about which sentences were weak.
- Let the student write essays, then have an expert mark every sentence. The feedback is about the student’s own work, and it is specific.
The third option is on-policy distillation. “On-policy” means the practice material comes from the model being trained. “Distillation” means a bigger or more skilled model passes its knowledge down.
Why the model’s own mistakes are the useful ones

The common methods each miss one thing. Supervised fine-tuning (SFT) trains a model on finished examples written by others. That is dense feedback, but the examples reach situations a weak model rarely ends up in. Reinforcement learning (RL) trains on the model’s own attempts, but usually rewards only the final result. That is sparse feedback.
Kevin Lu and colleagues at Thinking Machines Lab, in an October 2025 post, summarized this as a grid: SFT is off-policy and dense, RL is on-policy and sparse, and on-policy distillation is on-policy and dense. They used a chess comparison. RL is playing games with no coaching. SFT is watching a grandmaster. The goal is a coach who rates each of your own moves from blunder to brilliant.
How the scoring works, token by token
A language model writes one token (a word or word piece) at a time. At each step it has a probability for every possible next token. The method runs in a loop:
- The student writes an answer to a prompt.
- The teacher reads that answer and computes what it would have predicted at each position.
- The student is nudged toward the teacher’s choices, position by position.
The measure of disagreement is called reverse KL divergence (KL stands for Kullback-Leibler). In plain words, it penalizes the student for putting probability on tokens the teacher considers unlikely. Thinking Machines reports using it as a per-token reward, with the teacher queried only for token probabilities. No separate reward model is needed, and they describe it as a small change to existing RL code.
Where it came from, and what the numbers say
The idea has academic roots. Rishabh Agarwal and colleagues at Google DeepMind published “On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes” in 2023 (ICLR 2024). Their method, generalized knowledge distillation, trains the student on its own outputs with token-level teacher labels. They tested it on T5 models for summarization, translation and reasoning.
Thinking Machines’ 2025 post made it popular with practitioners. In its math-reasoning test, a Qwen3-8B-Base student that scored 60% on the AIME 2024 exam after SFT reached 70% in about 150 training steps. The post also cites the Qwen3 technical report, where on-policy distillation reached 74.4% on that exam at 1,800 GPU hours, against 67.6% for RL at 17,920 GPU hours. The 74.4% figure is the Qwen team’s, not Thinking Machines’ own. The authors also note that the exact cost ratio depends on how compute is counted.
The post also tested personalization. After a model was fine-tuned on internal documents, its instruction-following score on IF-eval dropped. Distillation from the original model recovered most of it: 83%, against 85% for the base model.
One student, several teachers: Xiaomi’s MOPD
Xiaomi’s version, multi-teacher on-policy distillation (MOPD), targets a different problem. A lab may train separate expert models for math, coding, instruction following and agent tasks. Merging those skills into one model is hard, because mixing all the training together can make skills interfere.
According to the MOPD paper (Wenhan Ma, Fuli Luo and colleagues at Xiaomi, arXiv 2606.30406, June 2026), the recipe has three stages:
- Fine-tune a base model on broad data.
- Train one expert per domain with RL, independently and in parallel.
- Train the student on its own answers. Each prompt is routed to the teacher for its domain, and the student is pushed toward that teacher’s token choices.
There is no mixing of teachers within one answer. On a Qwen3-30B-A3B test, the authors report that MOPD kept a normalized 0.937 of the teachers’ gains, against 0.882 for mixed-domain RL, their strongest baseline. They also report that it reached teacher-level instruction-following after about 25,000 samples, while mixed RL needed 150,000 to 180,000 per domain. These are the authors’ own results, and each setup appears to be a single run.
Xiaomi says MOPD was used for MiMo-V2-Flash, a 309B-parameter model with teachers for math, code, instruction following, software engineering and tool use. There the student matched or beat its teachers on most benchmarks, with small drops on IFBench (2.2 points) and SWE-bench Verified (0.8 points). The idea first appeared in the MiMo-V2-Flash technical report in January 2026. Nvidia’s NeMo RL library also documents MOPD as a training mode.
Limits, and what to watch
The technique needs a good teacher, and the teacher has to resemble the student. The MOPD authors report that swapping in a larger Qwen3-235B-A22B teacher for math made results worse, and training with one loss variant diverged. They link this to a larger gap between the two models’ token predictions. Thinking Machines also notes that its cost comparisons are sensitive to how compute is counted, and that combining token-level scores with whole-answer rewards is open research.
One caution for the news story. The OpenRouter listing says the MOPD checkpoint reduces repeated, near-identical tool calls. Baseten describes the method as distilling several domain-specialized teachers into the model. Neither the MOPD paper nor the parts of the MiMo-V2-Flash report that were checked for this guide discuss looping tool calls. No published benchmark shows how much the loop problem improved.
Worth watching: independent tests of the new checkpoint on long agent runs, whether other labs adopt per-prompt teacher routing, and whether open training libraries make the method routine for small teams.
Sign Up for the Daily AI Pulse
One email a day. All the stories that matter.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Daniel ReedAI Research, Safety & Ethics AnalystDaniel Reed currently works as an AI Research, Safety & Ethics Analyst at Aiholics, writing about how changes in artificial intelligence are affecting and will affect scholarship,…



