arXiv:2605.12969cs.LGcs.AI2026-05被引 1

对比学习提升强化学习的可验证奖励,显著改善大模型推理能力。

Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspective

论文配图:Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspective
图 1 · 摘自论文原文
  • 用对比学习重构策略优化目标,基于序列对数概率评分
  • 在多个推理任务上超越现有基线,最高提升18.7%准确率
  • 适合需要高可靠性推理的大模型后训练场景

Group Relative Policy Optimization(GRPO)是用于大语言模型推理任务后训练中最广泛采用的强化学习与可验证奖励(RLVR)算法之一。我们首次揭示GRPO存在一种等价的判别式重表述:策略优化旨在最大化已验证正样本与负样本轨迹之间的期望得分差距。该重表述揭示了两个目标层面的局限性:一是似然错配的代理得分,即优化的是截断比率得分而非决定生成过程的序列似然;二是得分不敏感的信用分配,即轨迹级别的信用未反映正负样本间的当前得分差距。为解决这些问题,我们提出ConSPO——一种对比序列级策略优化方法,采用长度归一化的序列对数概率作为轨迹得分,并在同一组内对比已验证的正样本与负样本干扰项。ConSPO通过群体级的InfoNCE风格目标,自适应增强分离度差的正样本和高分负样本的更新力度,同时结合课程调度的边距机制,在训练过程中持续保持分离压力。在多种设置下的实验表明,ConSPO在具有挑战性的推理基准上均优于强基线模型,性能提升最高达18.7%。

原文摘要 · Abstract (English)

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.

强化学习大模型推理对比学习序列优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。