arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.03971cs.LGcs.AI
收藏

当强化学习过程中奖励为零时,你能做什么?

What Can You Do When You Have Zero Rewards During RL?

New York University(纽约大学);Mila, Université de Montréal(蒙特利尔大学米拉实验室)

Jatin Prakash, Anirudh Buvanesh

AI总结:

本研究探讨强化学习训练中零奖励屏障问题,发现添加简单样本的数据干预可让模型从零奖励出发解决困难任务,无需修改算法,并开源了基线实现。

摘要:

基于结果奖励的强化学习(RL)已被证明能有效提升大型语言模型(LLMs)在复杂推理任务上的表现。然而,其成功往往依赖于基础模型偶尔能采样到正确的解决方案。当没有采样到任何正确解决方案时,训练会遇到零奖励屏障,此时由于梯度为零,学习陷入停滞。我们通过Bachmann等人(2024)提出的图搜索任务来研究这一场景,并评估了近期引入的多种方法,这些方法包含了诸如密集奖励、多样性激励和改进的信用分配等可取组件。我们的实验表明,如果基础模型从未产生过正确答案,这些方法均无法克服零奖励屏障。相反,我们发现一种简单的以数据为中心的干预措施——向训练集中添加更简单的样本——能够使模型最终解决原本困难的任务,尽管它从零奖励开始。重要的是,这一成功无需修改RL算法本身。由于几个基线的官方实现不可用,我们自行开发了这些实现,这使我们能够对其失败模式进行详细分析。我们公开发布这些实现,以支持进一步研究,地址为:https://github.com/rl4reasoning/rl-baselines

英文摘要:

Reinforcement learning (RL) with outcome-based rewards has proven effective for improving large language models (LLMs) on complex reasoning tasks. However, its success often depends on the base model occasionally sampling correct solutions. When no correct solutions are sampled, training encounters a zero-reward barrier where learning stalls due to zero gradients. We study this scenario through the graph search task introduced in Bachmann et al. (2024) and evaluate recent methods that incorporate desirable components such as dense rewards, diversity incentives, and improved credit assignment. Our experiments show that none of these approaches overcome the zero-reward barrier if the base model never produces a correct answer. In contrast, we find that a simple data-centric intervention of adding easier samples to the training set enables the model to eventually solve the original hard task despite starting from zero reward. Importantly, this succeeds without modifying the RL algorithm itself. Because official implementations of several baselines were unavailable, we developed our own, which allowed us to conduct a detailed analysis of their failure modes. We release these implementations to support further research at: https://github.com/rl4reasoning/rl-baselines

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

↑