攀登雕刻的智慧比顶峰更深:论学习推理中的噪声奖励
The Climb Carves Wisdom Deeper Than the Summit: On the Noisy Rewards in Learning to Reason
AI总结:
研究RL后训练中奖励噪声对LLM推理的影响,发现模型对噪声具强鲁棒性,且仅奖励关键推理模式(RPR)即可媲美严格验证的效果,结合RPR能校准噪声奖励模型并提升开放式任务表现。
摘要:
近期关于通过强化学习(RL)对大型语言模型(LLMs)进行后训练以实现推理的研究,通常聚焦于可被准确验证和奖励的任务,如解答数学问题。相比之下,我们的研究调查了奖励噪声的影响,这是在使用奖励模型对LLMs进行后训练的现实场景中一个更实际的考量。我们发现LLMs对大量奖励噪声展现出强大的鲁棒性。例如,在数学任务中手动翻转40%奖励函数的输出,仍允许Qwen-2.5-7B模型实现快速收敛,将其在数学任务上的表现从5%提升至72%,相比之下,使用无噪声奖励训练的模型达到了75%的准确率。令人惊讶的是,仅通过奖励关键推理短语的出现(即推理模式奖励,RPR),如“首先,我需要”——而不验证答案的正确性,模型便达到了峰值下游性能(Qwen-2.5-7B超过70%的准确率),可与使用严格正确性验证和准确奖励训练的模型相媲美。认识到推理过程比最终结果更重要,我们将RPR与噪声奖励模型结合。RPR帮助校准了噪声奖励模型,减轻了潜在的假阴性并增强了LLM在开放式任务上的性能。这些发现表明了在预训练阶段提升模型基础能力的重要性,同时为推进后训练技术提供了见解。我们的代码和脚本可在https://github.com/trestad/Noisy-Rewards-in-Learning-to-Reason获取。
英文摘要:
Recent studies on post-training large language models (LLMs) for reasoning through reinforcement learning (RL) typically focus on tasks that can be accurately verified and rewarded, such as solving math problems. In contrast, our research investigates the impact of reward noise, a more practical consideration for real-world scenarios involving the post-training of LLMs using reward models. We found that LLMs demonstrate strong robustness to substantial reward noise. For example, manually flipping 40% of the reward function's outputs in math tasks still allows a Qwen-2.5-7B model to achieve rapid convergence, improving its performance on math tasks from 5% to 72%, compared to the 75% accuracy achieved by a model trained with noiseless rewards. Surprisingly, by only rewarding the appearance of key reasoning phrases (namely reasoning pattern reward, RPR), such as ``first, I need to''-without verifying the correctness of answers, the model achieved peak downstream performance (over 70% accuracy for Qwen-2.5-7B) comparable to models trained with strict correctness verification and accurate rewards. Recognizing the importance of the reasoning process over the final results, we combined RPR with noisy reward models. RPR helped calibrate the noisy reward models, mitigating potential false negatives and enhancing the LLM's performance on open-ended tasks. These findings suggest the importance of improving models' foundational abilities during the pre-training phase while providing insights for advancing post-training techniques. Our code and scripts are available at https://github.com/trestad/Noisy-Rewards-in-Learning-to-Reason.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。