arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.12969cs.LGcs.AI
收藏

从对比视角重新审视基于可验证奖励的强化学习

Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspective

Beijing Institute of Technology(北京理工大学);Qwen Business Unit of Alibaba(阿里巴巴Qwen业务部);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Feng Zhang, Xinhong Ma, Ziqiang Dong, Xi Leng, Jianfei Zhao, Xin Sun, Yang Yang, Guanjun Jiang

AI总结:

本文提出ConSPO方法,通过对比序列级策略优化,解决GRPO在目标函数上的似然错配和信用分配不敏感问题,在推理任务上超越强基线。

摘要:

组相对策略优化(GRPO)是目前最广泛采用的RLVR算法之一,用于对大型语言模型进行推理任务的后训练。我们首先证明GRPO存在等价的判别式重新表述,其中策略优化最大化验证的正负rollout之间的期望得分差距。这种重新表述揭示了两个目标层面的局限性:似然错配的替代得分(优化的是基于裁剪比率的得分而非控制生成的序列似然)和得分不敏感的信用分配(rollout级别的信用不反映当前正负rollout之间的得分差距)。为了解决这些局限性,我们提出ConSPO,一种对比序列级策略优化方法,它使用长度归一化的序列对数概率作为rollout得分,并在同一组内对比验证的正rollout与负干扰项。ConSPO优化一个组级别的InfoNCE风格目标,以自适应地增强对分离不佳的正样本和高分负样本的更新,同时结合课程调度的边界,在训练过程中保持分离压力。在多种设置下的实验表明,ConSPO在具有挑战性的推理基准上优于强基线。代码将在论文被接收后发布。

英文摘要:

Group Relative Policy Optimization (GRPO) is one of the most widely adopted RLVR algorithms for post-training large language models on reasoning tasks. We first show that GRPO admits an equivalent discriminative reformulation, in which policy optimization maximizes the expected score gap between verified positive and negative rollouts. This reformulation reveals two objective-level limitations: likelihood-misaligned surrogate scores, in which clipped ratio-based scores are optimized rather than the sequence likelihoods that govern generation, and score-insensitive credit assignment, in which rollout-level credit does not reflect the current score gaps between positive and negative rollouts. To address these limitations, we propose ConSPO, a Contrastive Sequence-level Policy Optimization method that uses length-normalized sequence log-probabilities as rollout scores and contrasts verified positive rollouts against negative distractors within the same group. ConSPO optimizes a group-wise InfoNCE-style objective to adaptively strengthen updates for poorly separated positives and high-scoring negatives, together with a curriculum-scheduled margin that preserves separation pressure as training progresses. Experiments across diverse settings show that ConSPO outperforms strong baselines on challenging reasoning benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑