On-policy Distillation with Verifiable Reward
Reading guide · Based on sections of the original paper
Why read this
Practitioners already running sampled-token OPD on math reasoning can use it to judge whether a near-free gating change is worth adopting.
What the authors found
- In the same-architecture setting (Qwen3-4B student, GRPO-trained Qwen3-4B teacher, DeepMath data), OPDVR reaches an avg@16 mean of 49.1 across six math benchmarks. ExOPD scores 47.9, sampled-token OPD 47.8, and the teacher 50.4. In the cross-architecture setting (1.7B-Base student, 4B-Base-RL teacher), OPDVR scores 22.8 against 21.7 for Top-64 OPD. 5.2 Main Results
- Training on DAPO-Math-17K with G=8, GRPD averages 49.4. Distilled RL scores 48.7, OPD 48.4, and GRPO 44.8. The authors say GRPD beats every baseline on every benchmark, but Table 3 shows it trailing Distilled RL on MATH500 and tying OPD on AIME25. 5.3 Group Relative Policy Distillation
- An ablation that reverses the gate while keeping the masking ratio fixed drops the average to 44.6. It falls below plain OPD on all six benchmarks, which supports gate direction as the cause of the gains rather than masking alone. 5.4 Ablation Study: Inverse-Gated Experiment
Main limitation
The average gains are about one point, and the supplied sections report no variance across runs. OPDVR is not uniformly best: ExOPD beats it on MATH500 (86.6 vs 84.7) and Minerva (35.9 vs 33.2). All evaluation is on math reasoning. The theory depends on a soft-value-teacher assumption that the authors say is not implied by higher teacher accuracy. 5.2 Main Results
Where to start
5.4 Ablation Study: Inverse-Gated Experiment · How the inverse-gated control is built, and whether the training-reward curves separate early and consistently enough to trust the roughly one-point margin.
Abstract
Reinforcement Learning with Verifiable Rewards (RLVR) and on-policy distillation (OPD) have become two widely adopted paradigms for post-training large language models. However, RLVR suffers from sparse task-level feedback, while OPD provides dense token-level guidance but ignores trajectory correctness, limiting its performance to that of the teacher. Combining them is a promising direction: OPD supplies dense supervisory signals, while RLVR provides task-level correctness. Nevertheless, existing integrations often rely on weighted combination or heuristic switching, introducing extra hyperparameters and trade-offs. We propose On-policy Distillation with Verifiable Reward (OPDVR), a simple yet effective method that seamlessly combines OPD and RLVR without adding any hyperparameters. We first reformulate the implicit reward of sampled-token OPD based on trajectory correctness, then apply a ReLU gating mechanism to ensure that correct trajectories receive non-negative rewards and incorrect ones receive non-positive rewards---thereby aligning the distillation signal with task success while preserving the teacher's distributional guidance. Furthermore, our modification transforms sampled-token OPD into a proper RLVR method, making it readily combinable with any policy gradient algorithm, such as GRPO. Experiments on six reasoning benchmarks show that OPDVR consistently outperforms standard OPD. Our code is available at https://github.com/LeapLabTHU/OPDVR.