arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.08696cs.LG
收藏

不要浪费错误:通过置信度重加权利用负强化学习组

Don't Waste Mistakes: Leveraging Negative RL-Groups via Confidence Reweighting

Meta Superintelligence Labs(Meta超智能实验室);New York University(纽约大学)

Yunzhen Feng, Parag Jain, Anthony Hartshorn, Yaqi Duan, Julia Kempe

AI总结:

本文提出LENS方法,通过置信度重加权为错误响应分配非零奖励,利用负RL组提升GRPO效率,在MATH基准上显著优于基线。

摘要:

带可验证奖励的强化学习(RLVR)已成为提升大型语言模型(LLM)推理任务表现的标准方法,其中组相对策略优化(GRPO)在实践中被广泛使用。然而,GRPO在负组上浪费了大量计算:在没有采样响应正确的组中,优势为零,因此没有梯度。我们提出疑问:能否在没有额外监督的情况下利用负组?从奖励建模中的最大似然(MLE)目标出发,我们证明MLE梯度等价于针对修正值函数的策略梯度。该值函数对错误响应施加了置信度加权惩罚,对更自信的错误施加更大的惩罚。我们将其称为带负样本的似然估计(LENS)。LENS修改GRPO,为错误生成分配非零、依赖置信度的奖励,使负组变得信息丰富,并将先前浪费的样本转化为有用的梯度更新。在MATH基准上,使用Llama-3.1-8B和Qwen-2.5-3B,所提出的变体持续优于GRPO基线,在更难的题目上取得显著提升。这些结果展示了一种有原则且实用的“拯救”负组的方法,提高了RLVR中的效率和性能。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) has become a standard recipe for improving large language models (LLMs) on reasoning tasks, with Group Relative Policy Optimization (GRPO) widely used in practice. Yet GRPO wastes substantial compute on negative groups: groups in which no sampled response is correct yield zero advantage and thus no gradient. We ask whether negative groups can be leveraged without extra supervision. Starting from a maximum-likelihood (MLE) objective in reward modeling, we show that the MLE gradient is equivalent to a policy gradient for a modified value function. This value function adds a confidence-weighted penalty on incorrect responses, imposing larger penalties on more confident mistakes. We refer to this as \textbf{L}ikelihood \textbf{E}stimation with \textbf{N}egative \textbf{S}amples (\textbf{LENS}). LENS modifies GRPO to assign non-zero, confidence-dependent rewards to incorrect generations, making negative groups informative and converting previously wasted samples into useful gradient updates. On the MATH benchmark with Llama-3.1-8B and Qwen-2.5-3B, the proposed variant consistently outperforms GRPO baseline, with significant gains on harder items. These results demonstrate a principled and practical way to "rescue" negative groups, improving efficiency and performance in RLVR.

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

↑