arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.13134cs.AI
收藏

当正确与错误相遇:基于奖励-信心校正的双侧上下文条件化GRPO

When Right Meets Wrong: Bilateral Context Conditioning with Reward-Confidence Correction for GRPO

Yu Li, Tian Lan, Zhengling Qi

AI总结:

本文提出BICC和RCC机制,通过对比正确与错误推理轨迹提升GRPO性能,无需额外采样或辅助模型,实验证明在数学推理基准上表现更优。

摘要:

组相对策略优化(GRPO)已成为训练推理模型的有效方法。尽管GRPO基于组均值计算优势,但其在优化过程中将每个输出视为独立样本,忽略了同一组内正确与错误解法之间的自然对比信号。为此,本文提出GRPO的对比重述形式,证明GRPO目标隐含最大化正确与错误样本策略比的边际。基于此,我们提出双侧上下文条件化(BICC)机制,使模型在优化过程中可交叉参考成功与失败的推理轨迹,实现样本间的直接信息流。我们进一步引入奖励-信心校正(RCC)以稳定训练,通过从方差最小化估计子一阶近似中获得的奖励-信心协方差动态调整GRPO中的优势基线。这两种机制无需额外采样或辅助模型,可适用于所有GRPO变体。在数学推理基准上的实验表明,全面模型和算法均表现出一致的改进。代码可在https://github.com/Skylanding/BiCC获取。

英文摘要:

Group Relative Policy Optimization (GRPO) has emerged as an effective method for training reasoning models. While it computes advantages based on group mean, GRPO treats each output as an independent sample during the optimization and overlooks a vital structural signal: the natural contrast between correct and incorrect solutions within the same group, thus ignoring the rich, comparative data that could be leveraged by explicitly pitting successful reasoning traces against failed ones. To capitalize on this, we present a contrastive reformulation of GRPO, showing that the GRPO objective implicitly maximizes the margin between the policy ratios of correct and incorrect samples. Building on this insight, we propose Bilateral Context Conditioning (BICC), a mechanism that allows the model to cross-reference successful and failed reasoning traces during the optimization, enabling a direct information flow across samples. We further introduce Reward-Confidence Correction (RCC) to stabilize training by dynamically adjusts the advantage baseline in GRPO using reward-confidence covariance derived from the first-order approximation of the variance-minimizing estimator. Both mechanisms require no additional sampling or auxiliary models and can be adapted to all GRPO variants. Experiments on mathematical reasoning benchmarks demonstrate consistent improvements across comprehensive models and algorithms. Code is available at \href{https://github.com/Skylanding/BiCC}{https://github.com/Skylanding/BiCC}.

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

↑