arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.05613cs.CLcs.AI
收藏

Cooper:在大语言模型强化学习中协同优化策略与奖励模型

Cooper: Co-Optimizing Policy and Reward Models in Reinforcement Learning for Large Language Models

Zhejiang University(浙江大学)

Haitao Hong, Yuchen Yan, Xingyu Wu, Guiyang Hou, Wenqi Zhang, Weiming Lu, Yongliang Shen, Jun Xiao

AI总结:

针对强化学习奖励模型易受奖励黑客攻击和规则奖励鲁棒性不足的问题,提出Cooper框架,协同优化策略与奖励模型,并引入混合标注和基于参考的奖励建模,实验证明其缓解奖励黑客并提升性能。

摘要:

大型语言模型(LLMs)在推理任务中展现出卓越的性能,其中强化学习(RL)是增强其推理能力的关键算法。目前,存在两种主流的奖励范式:基于模型的奖励和基于规则的奖励。然而,这两种方法都存在局限性:基于规则的奖励缺乏鲁棒性,而基于模型的奖励则容易受到奖励黑客(reward hacking)攻击。为了解决这些问题,我们提出了Cooper(协同优化策略模型与奖励模型),这是一个联合优化策略模型和奖励模型的强化学习框架。Cooper利用基于规则的奖励在识别正确响应时的高精度,并动态构建和选择正负样本对,用于持续训练奖励模型。这种设计增强了鲁棒性,并降低了奖励黑客攻击的风险。为了进一步支持Cooper,我们引入了一种混合标注策略,能够高效且准确地为奖励模型生成训练数据。我们还提出了一种基于参考的奖励建模范式,其中奖励模型将参考答案作为输入。基于这一设计,我们训练了一个名为VerifyRM的奖励模型,在VerifyBench基准上,其准确率高于其他同尺寸模型。我们使用VerifyRM和Cooper进行了强化学习实验。实验结果表明,Cooper不仅缓解了奖励黑客问题,还提升了端到端的强化学习性能,例如,在Qwen2.5-1.5B-Instruct上平均准确率提升了0.54%。我们的研究结果表明,动态更新奖励模型是应对奖励黑客的有效方法,为更好地将奖励模型整合到强化学习中提供了参考。

英文摘要:

Large language models (LLMs) have demonstrated remarkable performance in reasoning tasks, where reinforcement learning (RL) serves as a key algorithm for enhancing their reasoning capabilities. Currently, there are two mainstream reward paradigms: model-based rewards and rule-based rewards. However, both approaches suffer from limitations: rule-based rewards lack robustness, while model-based rewards are vulnerable to reward hacking. To address these issues, we propose Cooper(Co-optimizing Policy Model and Reward Model), a RL framework that jointly optimizes both the policy model and the reward model. Cooper leverages the high precision of rule-based rewards when identifying correct responses, and dynamically constructs and selects positive-negative sample pairs for continued training the reward model. This design enhances robustness and mitigates the risk of reward hacking. To further support Cooper, we introduce a hybrid annotation strategy that efficiently and accurately generates training data for the reward model. We also propose a reference-based reward modeling paradigm, where the reward model takes a reference answer as input. Based on this design, we train a reward model named VerifyRM, which achieves higher accuracy on VerifyBench compared to other models of the same size. We conduct reinforcement learning using both VerifyRM and Cooper. Our experiments show that Cooper not only alleviates reward hacking but also improves end-to-end RL performance, for instance, achieving a 0.54% gain in average accuracy on Qwen2.5-1.5B-Instruct. Our findings demonstrate that dynamically updating reward model is an effective way to combat reward hacking, providing a reference for better integrating reward models into RL.

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

↑