DiffGate: Difficulty-Gated Teacher Guidance for On-Policy Distillation

Karn Tiwari, Varnith Chordia, Prathosh A P

Indian Institute of Science · Snap Inc.

Published October 3, 2026 · on the feed October 7, 2026 · ▲ 20 · arXiv 2610.04596

LLM training & RL No code arXiv ↗Hugging Face ↗

The abstract

On-policy distillation (OPD) has emerged as a widely used paradigm for post-training large language models, reducing the train--test mismatch of conventional distillation by supervising the student on its own generated trajectories. However, existing OPD objectives remain largely token-local and outcome-agnostic, optimizing teacher--student agreement at each prefix despite reasoning quality being determined at the trajectory level. Reinforcement learning with verifiable rewards (RLVR), particularly Group Relative Policy Optimization (GRPO), provides complementary outcome-level supervision but suffers from sparse rewards and coarse credit assignment. We show that OPD and RLVR exhibit complementary blind spots: teacher signals provide dense local guidance but are weakly aligned with rollout correctness, whereas group-relative rewards capture task success but provide coarse token-level credit and vanish on all-failure groups. We introduce DiffGate, an outcome-gated objective that combines GRPO with selective, bounded teacher guidance. Teacher supervision is applied only to failed trajectories, scaled by group difficulty, and smoothly bounded to prevent extreme teacher--student discrepancies from dominating optimization. The verifier therefore determines which trajectories receive teacher guidance, while the teacher provides dense token-level update directions within those trajectories. Across Qwen3-0.6B and Qwen3-1.7B students, DiffGate improves code avg@8 over matched GRPO by +1.7 and +1.8 points and pass@8 by +1.6 and +5.7 points, respectively. On mathematics, avg@8 remains within 0.5 points of GRPO while pass@8 improves by +1.1 and +3.9 points. Overall, DiffGate improves pass@8 across all four model--domain settings, demonstrating improved solution coverage under our evaluation protocol.

The Brief

2:43

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

Transcript

DiffGate. Difficulty-Gated Teacher Guidance for On-Policy Distillation. By Karn Tiwari and two others, from the Indian Institute of Science and Snap. Published on the third of October. No code repository is linked to it.

On-policy distillation, or OPD, has become a widely used way to post-train large language models. It supervises the student on trajectories the student generated itself, which reduces the mismatch between training and testing that conventional distillation suffers. But its objectives stay largely token-local and blind to outcomes. They optimize agreement between teacher and student at each prefix, even though the quality of a piece of reasoning is decided at the level of the whole trajectory.

Reinforcement learning with verifiable rewards, and Group Relative Policy Optimization in particular, supplies the outcome-level signal that OPD lacks. It has its own weaknesses: rewards are sparse and credit assignment is coarse. The authors show the two approaches have complementary blind spots. Teacher signals give dense local guidance but line up only weakly with whether a rollout is correct. Group-relative rewards capture task success, but give coarse credit at the level of tokens, and vanish entirely when every rollout in a group fails.

DiffGate is an objective gated by outcome. It keeps GRPO and adds teacher guidance that is selective and bounded. The division of labour is clean: the verifier decides which trajectories receive teacher guidance at all, and the teacher then supplies dense, token-level update directions inside those trajectories.

Three rules shape the teacher's part. Supervision is applied only to trajectories that failed. It is scaled by how difficult the group was. And it is smoothly bounded, so that extreme disagreements between teacher and student cannot come to dominate the optimization. Successful trajectories are left to the reward signal alone.

The students are Qwen3-0.6B and Qwen3-1.7B, compared against matched GRPO. On code, avg at eight improves by one point seven points for the smaller student and one point eight for the larger. Pass at eight improves by one point six and five point seven points, in the same order.

On mathematics the picture is different. Avg at eight stays within half a point of GRPO, while pass at eight improves by one point one and three point nine points. Across all four combinations of model and domain, pass at eight goes up, which the authors read as improved solution coverage under their evaluation protocol.

Pass at eight, the measure the authors tie to coverage, is the one that rises in every setting, while average performance on mathematics barely moves. DiffGate gives the teacher a voice only on failed trajectories, including the all-failure groups where the group reward vanishes, and leaves it to the verifier to decide which trajectories those are.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
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.