On-policy Distillation with Verifiable Reward

Wenze Lin, Jiale Zhao, Xitai Jiang, Songde Rao, Yining Li +3 more
8/25/2026
cs.LGcs.AI

Official code: LeapLabTHU/OPDVR (9 stars, last commit 2026-08-25).

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.

View on arXivView PDF

Code Implementations(1)

LeapLabTHU/OPDVROfficial100%

Official repository for OPDVR: On-policy Distillation with Verifiable Reward.

91Jinja, ShellAug 25, 20261 months ago

Similar Papers

Cite this paper

@article{lin2026onpolicy,
  title  = {On-policy Distillation with Verifiable Reward},
  author = {Wenze Lin and Jiale Zhao and Xitai Jiang and Songde Rao and Yining Li and Shenzhi Wang and Bingxiang He and Gao Huang},
  year   = {2026},
  eprint = {2608.24696},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.24696v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.24696.svg)](https://codeofpaper.com/paper/2608.24696)

Discussion