基于可验证奖励的在线策略蒸馏

·

研究论文 · 2026/08/26

本文提出了一种名为 OPDVR 的新方法,将基于可验证奖励的强化学习(RLVR)与同策略蒸馏(OPD)无缝结合,无需额外超参数。通过基于轨迹正确性重新表述采样令牌 OPD 的隐式奖励,并应用 ReLU 门控机制,确保正确轨迹获得非负奖励、错误轨迹获得非正奖励,从而将蒸馏信号与任务成功对齐,同时保留教师的分布指导。该方法将采样令牌 OPD 转化为一种合适的 RLVR 方法,可与任何策略梯度算法(如 GRPO)结合。在六个推理基准上的实验表明,OPDVR 始终优于标准 OPD。

该文提出了一种简洁有效的结合 RLVR 与 OPD 的方法,解决了现有方法需要额外超参数和权衡的问题,实验验证了其有效性,对 LLM 后训练领域有实际参考价值。

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.

阅读原文

参与讨论