arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.18037cs.LGcs.AIcs.CL
收藏

梯度正则化减轻基于人类反馈和可验证奖励的强化学习中的奖励作弊

Gradient Regularization Mitigates Reward Hacking in Reinforcement Learning from Human Feedback and Verifiable Rewards

The University of Tokyo(东京大学);RIKEN AIP(理化学研究所AIP);Mila(蒙特利尔大学Mila)

Johannes Ackermann, Michael Noukhovitch, Takashi Ishida, Masashi Sugiyama

AI总结:

研究基于人类反馈或可验证奖励的强化学习中奖励作弊问题,提出用梯度正则化使训练偏向奖励更准确区域,理论推导并实证验证,还改进方法,结果显示其比KL惩罚表现更好。

摘要:

从人类反馈(RLHF)或可验证奖励(RLVR)进行强化学习是现代语言模型(LMs)训练后的两个关键步骤。常见问题是奖励作弊。多数先前工作用KL惩罚解决。本文提出不同框架,通过梯度正则化使训练偏向奖励更准确区域,推导理论联系并实证验证,还改进方法,在多种实验中表现优于KL惩罚。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) or Verifiable Rewards (RLVR) are two key steps in the post-training of modern Language Models (LMs). A common problem is reward hacking, where the policy may exploit inaccuracies of the reward and learn an unintended behavior. Most previous works address this by limiting the policy update with a Kullback-Leibler (KL) penalty towards a reference model. We propose a different framing: Train the LM in a way that biases policy updates towards regions in which the reward is more accurate. First, we derive a theoretical connection between the accuracy of a reward model and the flatness of an optimum at convergence. Gradient regularization (GR) can then be used to bias training to flatter regions and thereby maintain reward model accuracy. We confirm these results by showing that the gradient norm and reward accuracy are empirically correlated in RLHF. We then empirically show that Reference Resets of the KL penalty find flatter regions with a higher reward accuracy. We further improve on this by proposing to use explicit GR with an efficient finite-difference estimate. Empirically, GR performs better than a KL penalty across a diverse set of RL experiments with LMs. GR achieves a higher GPT-judged win-rate in RLHF, avoids overly focusing on the format in rule-based math rewards, and prevents hacking the judge in LLM-as-a-Judge math tasks.

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

↑