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

奖励模型的对抗训练

Adversarial Training of Reward Models

NVIDIA(英伟达);Georgia Institute of Technology(佐治亚理工学院)

Alexander Bukharin, Haifeng Qian, Shengyang Sun, Adithya Renduchintala, Soumye Singhal, Zhilin Wang, Oleksii Kuchaiev, Olivier Delalleau, Tuo Zhao

AI总结:

针对奖励模型(RMs)因鲁棒性不足导致奖励黑客攻击的问题,提出Adv-RM对抗训练框架,通过强化学习生成对抗样本提升RMs鲁棒性,在合成与真实数据中均优于传统训练,增强RLHF性能。

摘要:

奖励建模已成为语言模型可扩展对齐的一种有前景的方法。然而,当代奖励模型(RMs)通常缺乏鲁棒性,会给低质量、分布外(OOD)样本授予高奖励。这可能导致奖励黑客攻击,即策略利用非预期的捷径来最大化奖励,从而破坏对齐。为应对这一挑战,我们引入Adv-RM,一种新颖的对抗训练框架,可自动识别对抗样本——即从目标RM获得高奖励但属于OOD且质量低的响应。通过利用强化学习,Adv-RM训练一个策略来生成对抗样本,这些样本能可靠地暴露大型最先进奖励模型(如Nemotron 340B RM)的漏洞。将这些对抗样本纳入奖励训练过程可提高RMs的鲁棒性,减轻奖励黑客攻击并增强RLHF中的下游性能。我们证明,Adv-RM显著优于传统RM训练,在合成和真实数据设置中均提高了稳定性并实现了更有效的RLHF训练。

英文摘要:

Reward modeling has emerged as a promising approach for the scalable alignment of language models. However, contemporary reward models (RMs) often lack robustness, awarding high rewards to low-quality, out-of-distribution (OOD) samples. This can lead to reward hacking, where policies exploit unintended shortcuts to maximize rewards, undermining alignment. To address this challenge, we introduce Adv-RM, a novel adversarial training framework that automatically identifies adversarial examples -- responses that receive high rewards from the target RM but are OOD and of low quality. By leveraging reinforcement learning, Adv-RM trains a policy to generate adversarial examples that reliably expose vulnerabilities in large state-of-the-art reward models such as Nemotron 340B RM. Incorporating these adversarial examples into the reward training process improves the robustness of RMs, mitigating reward hacking and enhancing downstream performance in RLHF. We demonstrate that Adv-RM significantly outperforms conventional RM training, increasing stability and enabling more effective RLHF training in both synthetic and real-data settings.

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

↑