VOPD: How Verifiable On-Policy Distillation Fills the Sparse Reward Gap

VOPD projects verifier preferences into the teacher's implicit reward and applies Rao-Blackwellization to achieve dense verifiable supervision.
The article discusses the complementarity and conflict between verifiable rewards (RLVR) and on-policy distillation (OPD): the former is verifiable but sequence-level sparse, the latter is dense but decoupled from task outcomes, and simple joint optimization cannot truly couple them. Verifiable On-Policy Distillation (VOPD) is proposed: it interprets teacher supervision in OPD as an implicit reward, projects verifier preferences onto the teacher's implicit reward direction to bring both signals into the same reward space, then performs Rao-Blackwellization over the full vocabulary to extend verifiable supervision to unsampled actions and reduce variance. This objective can also be understood as adaptively extrapolating the distillation objective based on teacher-verifier agreement. On two teacher-student configurations and eight mathematical reasoning benchmarks, VOPD consistently outperforms original OPD and other on-policy distillation baselines in final performance and learning efficiency; the code is open-sourced. The article concludes that the method can transfer to tasks with reliable verifiers such as code generation and structured output, but verifier quality is the key limiting variable.
Reinforcement learning with verifiable rewards (RLVR) is the mainstream approach to improving language model reasoning, but its supervision signal is inherently sparse: a sequence-level verifier reward can only be propagated back along sampled trajectories, and cannot directly tell the model whether "the path not taken" is good or bad. On-policy distillation (OPD) provides complementary dense supervision—the teacher model gives feedback over the full next-token distribution—but it is decoupled from whether the task is actually completed. Simply adding the two objectives together does not solve the problem: the verification signal remains sparse, and it does not in turn influence the teacher's dense supervision.
To address this tension, researchers propose Verifiable On-Policy Distillation (VOPD), whose core idea is to "project" sparse verifier feedback into the dense space of teacher supervision, so that every token action receives a verifiable signal.

Why the Two Kinds of Supervision Are Hard to Truly Couple
The advantage of RLVR is that rewards are verifiable and do not rely on human annotation, so it performs well on tasks with clear answers such as mathematical reasoning. The problem lies in granularity: the verifier only gives feedback on the complete sequence, and what the model learns from it is "this trajectory is good overall," rather than "changing an action at some intermediate step would be better." When the sampling distribution does not cover certain candidate actions, those actions never receive a verification signal.
OPD fills the gap from another direction. The teacher model gives a next-token distribution over the full vocabulary, that is, dense guidance for every possible token. This supervision covers all actions, but it is "what the teacher thinks is right," not "what the verifier confirms is right." The two are complementary in form, yet each operates independently in optimization, and simple joint optimization cannot make the verifier's preferences permeate the teacher's dense supervision.
On-policy distillation (OPD) differs from traditional offline distillation: the student model samples trajectories itself during training, and the teacher model gives a next-token distribution token by token for these student-generated trajectories (rather than a fixed dataset), and the student learns by minimizing the KL divergence from the teacher distribution, among other means. Because supervision occurs on the state distribution that the student itself visits, OPD alleviates the distribution shift problem in offline distillation. However, OPD's supervision signal comes entirely from the teacher, and tokens the teacher considers "reasonable" may not lead to correct results, so it cannot guarantee task completion—this is precisely the root of its complementarity and conflict with verifiable rewards.
VOPD's Key Observation: Viewing OPD as Implicit Reward
VOPD starts from a shift in perspective: teacher supervision in OPD can be interpreted as a kind of implicit reward. From this perspective, teacher supervision and verifier feedback are placed in the same reward space—the former preserves the reward signal available at each token action, while the latter carries the verification information of "whether the task truly succeeds."
With a common space, the two signals can be mapped to each other. VOPD projects the verifier's preferences onto the direction of the teacher's implicit reward, so that verification information propagates along the dense path already laid out by the teacher, rather than remaining at sequence-level sparse backpropagation.
Implicit reward originates from inverse reinforcement learning and preference optimization: if the policy (here, the teacher distribution) is regarded as the optimal response to some reward function, then the reward can be inferred from the log ratio of the policy to the reference policy, in a form like ( r(x,a) \propto \log \frac{\pi_{\text{teacher}}(a\mid s)}{\pi_{\text{ref}}(a\mid s)} ). In OPD, the deviation of the teacher distribution relative to the student or reference distribution can be interpreted precisely as the teacher's implicit preference strength at each token action. The value of this interpretation is that it converts the seemingly task-outcome-irrelevant objective of "distribution matching" into a reward signal in the same unit as the verifier reward, so that the two kinds of supervision can undergo algebraic operations and projection in the same space, rather than being independently weighted and summed.
Rao-Blackwellization: Spreading the Verification Signal Across the Entire Vocabulary
After projection, there is another key step: performing Rao-Blackwellization on the resulting signal over the full vocabulary. Intuitively, this uses the distributional structure over the vocabulary to take a conditional expectation of the reward signal, thereby reducing variance and extending verifiable supervision to actions that were never sampled.
In other words, the model does not need to actually try a token to know its value under that verification objective—the signal has already been generalized from the sampled trajectory to the entire action space. This is exactly what plain RLVR cannot do: sparse rewards only propagate along sampled trajectories, whereas VOPD gives unsampled actions supervision grounded in verification.
In terms of the objective function, VOPD can also be understood as adaptively extrapolating the distillation objective according to the degree of agreement between the teacher and the verifier: when the teacher's judgment is consistent with the verification result, the distillation objective is reinforced and extrapolated; when inconsistent, the verification signal serves as a correction. This adaptive mechanism makes dense supervision no longer blindly follow the teacher, but anchored by task outcomes.
The Rao-Blackwell theorem is a standard tool in statistics for reducing estimation variance: for a function ( f(X) ) of some random variable ( X ), if ( Y ) is a sufficient statistic of ( X ), then the conditional expectation ( \mathbb{E}[f(X)\mid Y] ) has the same expectation as ( f(X) ), but variance no greater than the latter. In reinforcement learning, this idea is often used to replace reward estimates based on a single sample with expectations over the action distribution, for example in the design of GAE or baseline functions. VOPD carries it over to the vocabulary dimension: instead of using only the reward of the actually sampled token, it takes a conditional expectation over the full vocabulary distribution, both reducing the variance of the gradient estimate and giving unsampled actions value estimates in the expectation sense.
Experimental Performance and Engineering Value
The paper evaluates on two teacher-student configurations and eight mathematical reasoning benchmarks. Results show that VOPD consistently outperforms original OPD and other on-policy distillation baselines in both final performance and learning efficiency. The improvement in learning efficiency is especially noteworthy: once the verification signal is densified, the model learns more information from the same interactions, and the sampling cost required for convergence decreases accordingly.
The code is open-sourced at https://github.com/juntongshi48/VOPD .
A Brief Assessment of the On-Policy Distillation Route
The question VOPD raises is more illuminating than its specific method: the bottleneck of on-policy distillation is not that the teacher is insufficiently strong, but that the teacher signal lacks anchoring to task outcomes. Wiring verifier feedback into dense supervision is essentially adding the constraint of "correct outcome" to "distribution matching."
The transferability of this idea is also worth noting. The paper's validation focuses on mathematical reasoning benchmarks, but any task with a reliable verifier—code generation, structured output, executable planning—is in principle suitable for the same framework. The real limiting condition lies in the quality of the verifier itself: densification amplifies the bias of the verification signal, and when the verifier is unreliable, the operation of projecting onto the teacher's implicit reward direction may also spread erroneous preferences to more actions. This has not yet been a problem within the paper's evaluation scope, but on more open-ended tasks it will be a key variable for deployment.
One-line Summary
VOPD projects verifier preferences into the teacher's implicit reward and performs Rao-Blackwellization to achieve dense verifiable supervision.
Paragraph Summary
The article discusses the complementarity and conflict between two supervision signals in reinforcement learning: verifiable rewards (RLVR) and on-policy distillation (OPD)—the former is verifiable but sequence-level sparse, while the latter is dense but decoupled from task outcomes, and simple joint optimization cannot truly couple them. To this end, Verifiable On-Policy Distillation (VOPD) is proposed, whose core is to interpret teacher supervision in OPD as an implicit reward, project verifier preferences onto the direction of the teacher's implicit reward, and bring the two signals into the same reward space; then perform Rao-Blackwellization over the full vocabulary to extend verifiable supervision to actions never sampled and reduce variance. This objective can also be understood as adaptively extrapolating the distillation objective according to the degree of agreement between the teacher and the verifier. On two teacher-student configurations and eight mathematical reasoning benchmarks, VOPD consistently outperforms original OPD and other on-policy distillation baselines in both final performance and learning efficiency, and the code is open-sourced. The article concludes by noting that the method can be transferred to tasks with reliable verifiers such as code generation and structured output, but verifier quality is the key limiting variable.
Related articles

Michael Nielsen Takes Down His Classic Neural Network Textbook, Sparking Community Discussion
Michael Nielsen's classic free textbook Neural Networks and Deep Learning has been taken offline, sparking discussion on Hacker News about the reasons and impact.

Inside the AI Training Data Market: The Trade-off Between Exclusivity and Discounts
G2i founder Gabe Greenberg reveals the dual-track pricing of the AI training data market: labs pay a premium for exclusive data or accept discounts that allow others to buy it.

SessionGraph: Unifying All Coding Agent Sessions in One Interactive Graph
SessionGraph aggregates coding agent sessions into an interactive graph, helping developers review, debug, and manage AI coding workflows across sessions. This article examines its positioning, value, and open questions.