arXiv(opens in a new tab)cs.LGAug 2026Cited by 8 papers on PaperVantage

Manuscript Offprint

arXiv:2608.24696

On-policy Distillation with Verifiable Reward

Wenze Lin, Jiale Zhao, Xitai Jiang, Songde Rao, Yining Li, Shenzhi Wang, Bingxiang He, Gao Huang

Wenze Lin 1∗†^{1*\dagger}, Jiale Zhao 1,2∗^{1,2*}, Xitai Jiang 1∗^{1*}, Songde Rao 3^{3}, Yining Li 1^{1}, Shenzhi Wang 1^{1}, Bingxiang He 4^{4}, and Gao Huang 1⊗^{1\otimes}

1^{1}LeapLab, Tsinghua University 2^{2}Beihang University 3^{3}SMS, Peking University 4^{4}NLPLab, Tsinghua University

  • Equal Contribution †\dagger Project Lead ⊗\otimes Corresponding Author

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.

1. Introduction

Reinforcement Learning with Verifiable Rewards (RLVR) has become a prevalent and effective post-training paradigm for reasoning tasks (Guo et al., 2025; Shao et al., 2024; Jaech et al., 2024; Trinh et al., 2024; Yang et al., 2024). RLVR delivers explicit reward signals based on task outcomes, such as correct mathematical final answers or compilable code, which directly align model optimization with core task objectives. However, these rewards are typically sparse, providing little supervision for intermediate steps and making credit assignment challenging. Recently, On-policy Distillation (OPD) has emerged as a promising post-training paradigm (Xu et al., 2026a; Xiao et al., 2026; Yang et al., 2025a; Zeng et al., 2026). Unlike RLVR, which relies on sparse outcome-level rewards, OPD leverages a teacher model to provide dense token-level guidance. However, OPD's objective is purely distributional—it drives the student to mimic the teacher's output distribution without considering whether the generated response is correct or incorrect, limiting the student's performance to that of the teacher.

The complementary limitations of RLVR and OPD make combining them a natural and promising direction, where OPD provides fine-grained dense guidance and RLVR offers reliable task-level correctness supervision. Existing approaches typically treat OPD and RLVR as two separate methods, either

Correspond to: linwz25@mails.tsinghua.edu.cn, gaohuang@tsinghua.edu.cn.

combining them explicitly or selectively applying one based on heuristic criteria. Despite their empirical effectiveness, such designs often introduce extra hyperparameters and heuristic trade-offs (Cai et al., 2026; Yang et al., 2026a; Li et al., 2026a; Wang et al., 2026).

In this work, we propose On-policy Distillation with Verifiable Reward (OPDVR). We apply an extremely simple ReLU gating mechanism to sampled-token OPD, seamlessly combining OPD and RLVR without introducing any hyperparameters. We first revisit sampled-token OPD from an RLVR perspective and provide a mathematical reformulation of sample-token OPD's reward. From the RLVR view, if we separate by trajectory correctness, sampled-token OPD can be viewed as applying token-level supervision by weighting binary task correctness rewards with teacher-student distribution discrepancies. Specifically, for sampled tokens that constitute correct reasoning trajectories, the model is assigned a token-level reward +1 weighted by log⁡(πT/πθ)\log(\pi_T/\pi_\theta); for tokens leading to incorrect trajectories, the model receives a reward -1 weighted by log⁡(πθ/πT)\log(\pi_\theta/\pi_T). However, we identify a critical limitation of this inherent reward design: both log⁡(πT/πθ)\log(\pi_T/\pi_\theta) and log⁡(πθ/πT)\log(\pi_\theta/\pi_T) are unbounded and can be either positive or negative. However, a key empirical principle shared by mainstream RLVR algorithms (Schulman et al., 2017; Guo et al., 2025; Shao et al., 2024) is that all tokens leading to a correct final outcome should receive non-negative advantages, while tokens leading to an incorrect outcome should receive non-positive advantages. This principle ensures that every token in a correct trajectory is treated as a valid prediction and reinforced accordingly, while every token in an incorrect trajectory is treated as an erroneous prediction and suppressed accordingly. Sampled-token OPD violates this principle: on correct trajectories, a negative value of log⁡(πT/πθ)\log(\pi_T/\pi_\theta) penalizes valid token behaviors, while on incorrect trajectories, a negative value of log⁡(πθ/πT)\log(\pi_\theta/\pi_T) encourages erroneous token predictions.

Motivated by this gap, we use a ReLU gating mechanism to standardize the reward signs according to trajectory correctness: it enforces non-negative log⁡(πT/πθ)\log(\pi_T/\pi_\theta) values for all verified correct trajectories and ensures non-negative log⁡(πθ/πT)\log(\pi_\theta/\pi_T) values for all incorrect trajectories. This minimal correction directly converts conventional sampled-token OPD into a valid RLVR method while preserving the guidance from the teacher model. Specifically, for correct trajectories, larger log⁡(πT/πθ)\log(\pi_T/\pi_\theta) values—indicating accurate student predictions where the teacher is more confident than the student—yield stronger rewards. For incorrect trajectories, larger log⁡(πθ/πT)\log(\pi_\theta/\pi_T) values—corresponding to wrong student predictions where the student is more confident than the teacher—incur heavier penalties. This learning paradigm aligns well with human learning intuition, which reinforces reliable correct behaviors and suppresses overconfident erroneous predictions. Furthermore, by reformulating sampled-token OPD into an RLVR formulation, our OPDVR supports seamless integration with existing prominent RL algorithms, such as GRPO, DAPO and PPO. To instantiate this, we combine OPDVR with GRPO to obtain a new variant, which we call Group Relative Policy Distillation (GRPD). Overall, our method endows the model with dual supervisory signals: the rigorous task-level verifiable correctness from RLVR and the dense token-level distributional guidance from teacher distillation, leading to more robust and effective post-training optimization for reasoning tasks. Our experiments show that both OPDVR and GRPD consistently outperform OPD across all benchmarks.

References (40)