Verify Before You Distill: Prompt-Level Teacher Gating for On-Policy Distillation

Zhiwei Zhang, Zechen Sun, Fei Zhao, Kang Peng, Bin Liang, Huayu Deng, Yao Hu, Kam-Fai Wong and 1 others

AllSpark Team

Published September 2, 2026 · on the feed September 8, 2026 · ▲ 16 · arXiv 2609.02998

LLM training & RLInterpretability & analysis No code arXiv ↗Hugging Face ↗

The abstract

On-policy distillation (OPD) accelerates post-training by providing dense token-level supervision from a frozen teacher on the student's own rollouts. Vanilla OPD applies this supervision uniformly across prompts, without checking whether the teacher is reliable for each prompt. Because reverse KL is mode-seeking, a confidently wrong teacher can induce a strong yet misleading update. Distributional proxies, such as entropy or teacher-student likelihood agreement, measure uncertainty or agreement but do not directly verify outcome correctness. We introduce Teacher-Gated On-Policy Distillation (TGOPD), built on the principle that teacher reliability should be verified at the prompt level before dense supervision is admitted. TGOPD estimates reliability from a small set of verifier-scored teacher probes and routes each prompt exclusively to dense OPD when the reliability check passes or to verifier-grounded GRPO otherwise. Across 4B and 35B students in mathematics, code, and instruction following, TGOPD outperforms Vanilla OPD in all six single-domain settings and achieves higher seven-benchmark averages at both scales under multi-domain training. By using otherwise-idle teacher capacity for reliability estimation, TGOPD also reduces teacher-side compute waste in asynchronous OPD, increasing teacher-node GPU utilization from 9.8% to 78.9% in the measured 4B single-domain run.

The Brief

2:25

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Verify Before You Distill. Prompt-Level Teacher Gating for On-Policy Distillation. By Zhiwei Zhang and eight others, from the AllSpark Team. Published on the second of September. No code repository is linked to it.

On-policy distillation, or OPD, speeds up post-training by having a frozen teacher supervise the student densely, token by token, on the student's own rollouts. Vanilla OPD applies that supervision to every prompt alike. It never asks whether the teacher is reliable on the prompt in front of it. That matters because of how the loss behaves: reverse KL is mode-seeking, so a teacher that is confidently wrong does not produce a weak update. It produces a strong one, pointed the wrong way. The obvious checks do not close the gap either. Distributional proxies such as entropy, or how closely teacher and student likelihoods agree, measure uncertainty or agreement. None of them verifies whether the teacher's answer is actually correct.

Teacher-Gated On-Policy Distillation, TGOPD, rests on one principle: verify the teacher's reliability at the level of the prompt before admitting its dense supervision at all. The teacher has to earn the right to teach each prompt.

Reliability is estimated from a small set of teacher probes, each scored by a verifier. Every prompt is then routed exclusively down one of two paths. If the reliability check passes, the prompt gets dense OPD from the teacher. If it fails, the prompt goes to verifier-grounded GRPO instead, so learning still happens, but it is anchored to checked outcomes rather than to a teacher that may be wrong.

There is a systems angle too. In asynchronous OPD, teacher capacity otherwise sits idle, and TGOPD uses that idle capacity to run its reliability estimation.

Students at two scales were tested, four billion and thirty-five billion parameters, across mathematics, code and instruction following. TGOPD beats Vanilla OPD in all six single-domain settings. Under multi-domain training it reaches higher averages over seven benchmarks at both scales. On the compute side, in the measured single-domain run at four billion parameters, GPU utilization on the teacher node rises from nine point eight percent to seventy-eight point nine percent.

The fix is a gate, placed before the loss rather than inside it. A teacher that can be wrong with confidence is dangerous under a mode-seeking objective, so each prompt is checked first and sent where the signal can be trusted. And the checking pays for itself in hardware that was sitting unused.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

A fast teacher is a gift until it is wrong. Start there.

You are post-training a small student model. A frozen teacher scores every token of the student's own answers, giving dense feedback that trains far faster than a single reward per answer.

The road ahead

  1. 1 · The problem ~6 min A frozen teacher that scores every token speeds up training, but a confidently wrong teacher pushes the student hard in the wrong direction.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Test the teacher on each prompt with verifier-scored probe answers, then give that prompt either dense teacher feedback or verifier-grounded GRPO.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Per prompt: sample teacher probes, score them with a verifier, compare the pass rate to a threshold, then route to OPD or GRPO.
  6. 6 · The experiment ~6 min You’ll guess: Across single-domain settings in mathematics, code and instruction following, how often did TGOPD beat Vanilla OPD?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.