Verifiable On-Policy Distillation (VOPD)
Read first: On-Policy Distillation (Thinking Machines) · On-policy distillation: a map · DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
TL;DR. Verifiable On-Policy Distillation (VOPD, Shi et al., Nov 23, 2026) bridges on-policy distillation, fixed teacher extrapolation (ExOPD/G-OPD), and verifier-based RL (GRPO). For each prompt group, VOPD computes the correlation between the GRPO verifier advantage and the teacher’s cumulative implicit reward relative to a frozen reference model, then uses as a per-prompt extrapolation weight in a Rao–Blackwellized token-level loss. Across eight math benchmarks, a Qwen3-4B student reaches 66.38 — surpassing its own 64.16 RL-trained teacher — at the extra cost of one frozen reference-model forward pass.
Why it matters. Standard OPD is sample-efficient because every token receives a dense teacher grade, yet it is capped near the teacher and cannot tell when the teacher’s preferred continuation diverges from a ground-truth verifier. Fixed teacher extrapolation (ExOPD) pushes past the teacher uniformly on every prompt, even when the teacher is wrong. VOPD turns the verifier into a per-prompt gate on extrapolation: push past the teacher where teacher and verifier agree, stay at OPD where they are uncorrelated, and pull back toward the reference where they disagree.
Key idea
Section titled “Key idea”Implicit teacher reward. Let be the RL-trained teacher and be the frozen reference policy — in the paper’s experimental setup (2611.30325v1), is the student’s frozen initialization (which is distinct from the teacher’s pre-RL SFT ancestor in cross-size 4B→1.7B transfer). Define the token-level implicit teacher reward as
Expanding the reverse KL between the student and the teacher shows that standard reverse-KL OPD already optimizes this implicit reward under a reference-KL constraint:
Within-group verifier–teacher correlation. For a prompt , sample a group of on-policy student rollouts. Rollout receives a cumulative implicit teacher reward , standardized within the group to , alongside its GRPO-style standardized verifier advantage . VOPD computes the projection coefficient
which is the within-group correlation between verifier success and the teacher’s implicit reward. When the within-group verifier variance is zero (all rollouts pass or all fail, leaving undefined), VOPD sets the effective extrapolation coefficient directly to .
Rao–Blackwellized loss and adaptive ExOPD equivalence. VOPD evaluates the extrapolation term in expectation over the vocabulary (Rao–Blackwellized, approximated over the student’s top-16 tokens in practice):
Grouping the log-probability terms gives an exact equivalence to reverse-KL distillation toward an extrapolated target distribution :
Three familiar regimes appear as special cases:
- (fixed ExOPD): extrapolates past away from with constant strength .
- (plain OPD): , recovering standard reverse-KL on-policy distillation.
- (teacher–verifier conflict): , interpolating back toward instead of amplifying a teacher preference that the verifier penalized.
The only added model evaluation compared to plain OPD is one frozen forward pass through per rollout (plus verifier grading).
Key results
Section titled “Key results”Setup. Experiments train on DAPO-Math-17k with a top-16 token approximation using verl + FSDP + vLLM on 8×A100 GPUs per run, evaluated via avg@n across eight math benchmarks. The teacher is an RL-trained Qwen3-4B (paper full text verified; Tables 1 and 2).
| Setting | Teacher | OPD | OPD+GRPO | ExOPD | VOPD |
|---|---|---|---|---|---|
| Qwen3-4B student (avg over 8 benchmarks) | 64.16 | 64.71 | 64.75 | 65.25 | 66.38 |
| Qwen3-1.7B student (avg over 8 benchmarks) | 64.16 | 50.88 | 50.97 | 52.34 | 53.32 |
- Surpassing the teacher. On Qwen3-4B, VOPD exceeds its own RL-trained teacher by +2.22 points overall (66.38 vs. 64.16), whereas naive OPD+GRPO adds only +0.04 over OPD (64.75 vs. 64.71).
- Per-benchmark wins. VOPD wins 6 of 8 benchmarks in both the 4B and 1.7B settings. On 4B, AIME24 rises to 73.33 vs. 69.58 for OPD (+3.75), and AIME25 reaches 68.12 vs. 65.83 (+2.29). On 1.7B, AIME24 reaches 57.29 vs. 50.62 for OPD (+6.67).
- Agreement dynamics. Mean stays positive throughout training, yet agreement varies widely across prompt groups — empirically motivating per-prompt scaling rather than fixed ExOPD.
Ablation on extrapolation strength (Qwen3-4B, AIME24 / AIME25):
| AIME24 | AIME25 | Interpretation | |
|---|---|---|---|
| 70.02 | 65.42 | Reverses extrapolation when | |
| 69.58 | 65.83 | Standard reverse-KL OPD | |
| 73.33 | 68.12 | Sweet spot; peak on both benchmarks | |
| 72.91 | 67.91 | Slight degradation | |
| 71.88 | 66.67 | Over-amplifies teacher modes |
Limitations
Section titled “Limitations”- Narrow evaluation domain and scale. All results are on math benchmarks with small students (1.7B and 4B) and a single RL-trained Qwen3-4B teacher.
- Converged checkpoints only. The paper evaluates converged final checkpoints rather than intermediate RL teachers or multi-teacher mixes.
- Reference-model requirement. Computing requires retaining and evaluating the frozen reference model alongside the teacher.
Connections
Section titled “Connections”- Direct predecessors: On-Policy Distillation and the OPD map cover the reverse-KL student-rollout recipe that VOPD generalizes; GRPO supplies the group-normalized verifier advantage .
- Companion Nov 2026 theory: OPD Theory, Learning Dynamics & Limits analyzes when OPD updates fail (EOS spurious agreement, vanishing reverse-KL gradients, and OOD generalization gaps).
- Multi-teacher consolidation: MOPD adds an uncoupled outcome-reward term to break past a teacher; VOPD offers a principled alternative that uses the verifier to modulate teacher extrapolation directly.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Starting from the VOPD token loss l_VOPD = KL(p_θ ‖ p_T) − λ · c_x · E_{a ~ p_θ}[log(p_T(a|s) / p_ref(a|s))], show step by step that minimizing l_VOPD is equivalent to minimizing KL(p_θ ‖ q) for an extrapolated target distribution q(a|s) proportional to p_T(a|s)^(1 + λ c_x) · p_ref(a|s)^(−λ c_x). Then evaluate the exponents on p_T and p_ref at λ = 0.25 for three cases: c_x = +1 (perfect verifier–teacher agreement), c_x = 0 (uncorrelated), and c_x = −0.8 (teacher rewards wrong rollouts).
What a strong answer covers
- Expand KL(p_θ ‖ p_T) = E_{p_θ}[log p_θ − log p_T] and combine terms: l_VOPD = E_{p_θ}[log p_θ − (1 + λ c_x) log p_T + λ c_x log p_ref].
- Define q(a|s) = p_T(a|s)^(1 + λ c_x) · p_ref(a|s)^(−λ c_x) / Z(s). Then log q = (1 + λ c_x) log p_T − λ c_x log p_ref − log Z(s), so l_VOPD = KL(p_θ ‖ q) − log Z(s), where log Z(s) does not depend on θ.
- At λ = 0.25 and c_x = +1: q ∝ p_T^1.25 · p_ref^(−0.25), recovering standard fixed ExOPD extrapolation beyond the teacher.
- At c_x = 0: q = p_T^1 · p_ref^0 = p_T, reducing cleanly to standard reverse-KL OPD with no extrapolation.
- At c_x = −0.8: λ c_x = −0.20, so q ∝ p_T^0.80 · p_ref^0.20 — instead of extrapolating past the teacher, VOPD interpolates back toward the reference model on prompts where the teacher misaligns with the verifier.
- Mechanism
Explain why naive OPD+GRPO (Table 1: 64.75 vs. OPD 64.71 on Qwen3-4B) barely improves over plain OPD, whereas VOPD reaches 66.38 and surpasses its own 64.16 teacher. Focus on how the within-group correlation c_x = (1/n) Σ A_i^V · A_i^D and Rao–Blackwellization over the vocabulary change the gradient.
What a strong answer covers
- Plain OPD optimizes reverse KL toward p_T, which equals KL(p_θ ‖ p_ref) − E[d] for implicit teacher reward d(s,a) = log(p_T/p_ref); without extrapolation or verifier steering, the student is anchored near the teacher distribution.
- Adding a sparse scalar GRPO advantage directly to dense per-token OPD grades (OPD+GRPO) mixes a noisy episode-level signal with dense token-level distillation without telling the update when the teacher's own log-ratio direction is trustworthy.
- VOPD instead projects the verifier advantage A_i^V onto the standardized cumulative teacher reward A_i^D within each prompt group to form c_x in [−1, 1], then applies that scalar to the dense token-level log-ratio log(p_T/p_ref) rather than using noisy sequence-level RL gradients directly.
- Rao–Blackwellization replaces single-sample estimates of the extrapolation term with the expectation over the vocabulary (approximated over the student's top-16 tokens in the experiments), lowering gradient variance while preserving dense per-token supervision.
- Because c_x varies substantially across prompt groups even when its mean stays positive, VOPD extrapolates past the teacher on prompts where verifier and teacher agree and pulls back toward p_ref where they disagree, letting the 4B student beat its 64.16 teacher.
- What if…
In VOPD's λ ablation on Qwen3-4B (AIME24 / AIME25), λ = −0.25 gives 70.02 / 65.42, λ = 0 gives 69.58 / 65.83, λ = 0.25 gives 73.33 / 68.12, λ = 0.5 gives 72.91 / 67.91, and λ = 0.75 gives 71.88 / 66.67. Interpret the shape of this curve and explain what fails at both ends (λ ≤ 0 and λ ≥ 0.75), as well as the role of the zero-variance fallback.
What a strong answer covers
- λ = 0 turns off the extrapolation term completely, reducing VOPD to plain reverse-KL OPD (69.58 / 65.83); λ = −0.25 flips the sign when c_x > 0, pulling toward p_ref instead of extrapolating past the teacher.
- λ = 0.25 hits the peak (73.33 / 68.12), a +3.75 point jump on AIME24 and +2.29 on AIME25 over OPD.
- At λ = 0.5 and 0.75 performance declines (down to 71.88 / 66.67) because overly large λ c_x sharpens p_T^(1 + λ c_x) p_ref^(−λ c_x) too aggressively, over-amplifying teacher modes and harming exploration/generalization.
- When all rollouts in a group receive the same verifier score, verifier variance is zero and A_i^V (hence c_x) is undefined; setting the effective extrapolation coefficient directly to 0.25 keeps updates defined without dropping the prompt, though it temporarily loses prompt-specific calibration.
- Critique
VOPD shows a Qwen3-4B student reaching 66.38 across eight math benchmarks versus its RL-trained Qwen3-4B teacher at 64.16. Identify the main methodological and scope limitations in this evaluation and design an experiment that would test whether VOPD's advantage persists outside the paper's setup.
What a strong answer covers
- Domain and scale scope: experiments cover math only (DAPO-Math-17k and eight math benchmarks), small models (1.7B and 4B), a single RL-trained Qwen3-4B teacher, and converged final checkpoints.
- Same-size teacher vs. cross-size transfer: the 4B student beats its 4B teacher, whereas the 1.7B student reaches 53.32 (still +2.44 over OPD and +0.98 over ExOPD, but well below the 64.16 teacher); capacity limits still bound cross-size extrapolation.
- Top-16 approximation and zero-variance fallback: the Rao–Blackwellized expectation is approximated over top-16 tokens, and prompts where all rollouts pass or fail revert to fixed λ = 0.25 — an unablated interaction with prompt difficulty.
- Validation experiment: test on a non-math verifiable domain (e.g., coding or multi-turn tool use) with a weaker or partially miscalibrated teacher, logging the fraction of groups hitting the zero-variance fallback and comparing VOPD against matched-compute ExOPD and pure RLVR across multiple seeds.
- Connect
Show precisely how VOPD connects three existing post-training objectives: standard reverse-KL OPD, fixed teacher extrapolation (ExOPD/G-OPD), and GRPO. What extra compute does VOPD pay over plain OPD, and why does it require access to p_ref?
What a strong answer covers
- Reverse-KL OPD minimizes KL(p_θ ‖ p_T) = KL(p_θ ‖ p_ref) − E[d(s,a)], where d(s,a) = log(p_T/p_ref) is the implicit teacher reward relative to the reference model; VOPD recovers OPD when λ = 0 or c_x = 0.
- ExOPD extrapolates from p_ref past p_T using a constant strength across all prompts, which equals VOPD when c_x is fixed to 1.
- GRPO supplies the group-standardized verifier advantage A_i^V across n rollouts per prompt, but instead of driving policy updates directly via sparse outcomes, VOPD uses A_i^V only to estimate the group correlation c_x with the standardized cumulative teacher reward A_i^D.
- Compute overhead over plain OPD is one additional frozen forward pass per rollout through p_ref (the student's frozen initialization in the paper's setup, plus verifier scoring and group rollouts), because d(s,a) = log(p_T/p_ref) cannot be computed without evaluating p_ref.
- Design
You have an RL-trained 32B coding teacher, a unit-test verifier, and a 7B student you want to train on 8×A100-class hardware. Explain how you would configure VOPD (including how to set p_ref per the paper's setup vs. a teacher-ancestor variant), how you would handle prompts where all student rollouts fail unit tests, and what diagnostics you would log to decide between VOPD and fixed ExOPD.
What a strong answer covers
- Reference checkpoint p_ref: to reproduce the paper's experimental setup, set p_ref to the 7B student's frozen initialization (confirming a shared tokenizer with the 32B teacher). Using the 32B teacher's own pre-RL SFT ancestor is a distinct proposed variant that changes implicit rewards, group correlations c_x, target distributions, and forward-pass memory/compute budget (running a second frozen 32B model instead of a frozen 7B model).
- Cost control: compute Rao–Blackwellized expectations over the student's top-16 tokens for teacher and reference log-probs, caching frozen p_T and p_ref prefill passes alongside vLLM rollouts in verl/FSDP.
- Zero-variance handling: on hard coding prompts where all n rollouts fail tests (zero verifier variance, so c_x is undefined), VOPD sets the effective extrapolation coefficient directly to 0.25; monitor how often this triggers, because if 80% of prompts hit the fallback, VOPD collapses toward fixed ExOPD.
- Diagnostics: track the distribution (not just the mean) of c_x across prompt groups, token entropy, and held-out pass rates across λ in {0, 0.25, 0.5}; prefer VOPD over ExOPD when c_x shows wide spread (including negative-agreement groups where fixed extrapolation over-amplifies bad teacher modes).