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

灾难性古德哈特:用KL散度正则化RLHF并不能缓解重尾奖励误设定

Catastrophic Goodhart: regularizing RLHF with KL divergence does not mitigate heavy-tailed reward misspecification

FAR Labs(FAR实验室);Anthropic(Anthropic公司);FAR AI(FAR AI公司)

Thomas Kwa, Drake Thomas, Adrià Garriga-Alonso

AI总结:

该研究揭示RLHF中KL正则化无法缓解重尾奖励误设定,提出灾难性古德哈特现象,并实证奖励模型误差呈轻尾,但警示未来重尾风险。

摘要:

在应用基于人类反馈的强化学习(RLHF)时,奖励是从数据中学习得到的,因此总是存在一定的误差。通常通过使用KL散度将策略从基础模型进行正则化来缓解这一问题,期望在平衡奖励与正则化的情况下,尽管存在奖励误设定,仍能实现理想的结果。我们证明,当奖励函数具有轻尾误差时,在较不严格的KL惩罚下的最优策略能够实现任意高的效用。然而,如果误差是重尾的,一些策略尽管获得的效用并不比基础模型更高,却能获得任意高的奖励——我们将这一现象称为灾难性古德哈特。我们采用一种离散优化方法来度量奖励模型的尾部特征,发现它们与轻尾误差一致。然而,重尾分布在许多现实世界应用中的普遍性表明,未来RL奖励的来源可能具有重尾误差,这增加了即使在KL正则化下出现奖励黑客行为的可能性。

英文摘要:

When applying reinforcement learning from human feedback (RLHF), the reward is learned from data and, therefore, always has some error. It is common to mitigate this by regularizing the policy with KL divergence from a base model, with the hope that balancing reward with regularization will achieve desirable outcomes despite this reward misspecification. We show that when the reward function has light-tailed error, optimal policies under less restrictive KL penalties achieve arbitrarily high utility. However, if error is heavy-tailed, some policies obtain arbitrarily high reward despite achieving no more utility than the base model--a phenomenon we call catastrophic Goodhart. We adapt a discrete optimization method to measure the tails of reward models, finding that they are consistent with light-tailed error. However, the pervasiveness of heavy-tailed distributions in many real-world applications indicates that future sources of RL reward could have heavy-tailed error, increasing the likelihood of reward hacking even with KL regularization.

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

↑