ODIN: Disentangled Reward Mitigates Hacking in RLHF

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Lichang, Zhu, Chen, Soselia, Davit, Chen, Jiuhai, Zhou, Tianyi, Goldstein, Tom, Huang, Heng, Shoeybi, Mohammad, Catanzaro, Bryan
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913231213166592
author Chen, Lichang
Zhu, Chen
Soselia, Davit
Chen, Jiuhai
Zhou, Tianyi
Goldstein, Tom
Huang, Heng
Shoeybi, Mohammad
Catanzaro, Bryan
author_facet Chen, Lichang
Zhu, Chen
Soselia, Davit
Chen, Jiuhai
Zhou, Tianyi
Goldstein, Tom
Huang, Heng
Shoeybi, Mohammad
Catanzaro, Bryan
contents In this work, we study the issue of reward hacking on the response length, a challenge emerging in Reinforcement Learning from Human Feedback (RLHF) on LLMs. A well-formatted, verbose but less helpful response from the LLMs can often deceive LLMs or even human evaluators to achieve high scores. The same issue also holds for some reward models in RL. To address the challenges in both training and evaluation, we establish a more reliable evaluation protocol for comparing different training configurations, which inspects the trade-off between LLM evaluation score and response length obtained by varying training hyperparameters. Based on this evaluation, we conduct large-scale studies, where the results shed insights into the efficacy of hyperparameters and tricks used in RL on mitigating length bias. We further propose to improve the reward model by jointly training two linear heads on shared feature representations to predict the rewards, one trained to correlate with length, and the other trained to decorrelate with length and therefore focus more on the actual content. We then discard the length head in RL to prevent reward hacking on length. Experiments demonstrate that our approach almost eliminates the reward correlation with length, and improves the obtained policy by a significant margin.
format Preprint
id arxiv_https___arxiv_org_abs_2402_07319
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ODIN: Disentangled Reward Mitigates Hacking in RLHF
Chen, Lichang
Zhu, Chen
Soselia, Davit
Chen, Jiuhai
Zhou, Tianyi
Goldstein, Tom
Huang, Heng
Shoeybi, Mohammad
Catanzaro, Bryan
Machine Learning
Artificial Intelligence
Computation and Language
In this work, we study the issue of reward hacking on the response length, a challenge emerging in Reinforcement Learning from Human Feedback (RLHF) on LLMs. A well-formatted, verbose but less helpful response from the LLMs can often deceive LLMs or even human evaluators to achieve high scores. The same issue also holds for some reward models in RL. To address the challenges in both training and evaluation, we establish a more reliable evaluation protocol for comparing different training configurations, which inspects the trade-off between LLM evaluation score and response length obtained by varying training hyperparameters. Based on this evaluation, we conduct large-scale studies, where the results shed insights into the efficacy of hyperparameters and tricks used in RL on mitigating length bias. We further propose to improve the reward model by jointly training two linear heads on shared feature representations to predict the rewards, one trained to correlate with length, and the other trained to decorrelate with length and therefore focus more on the actual content. We then discard the length head in RL to prevent reward hacking on length. Experiments demonstrate that our approach almost eliminates the reward correlation with length, and improves the obtained policy by a significant margin.
title ODIN: Disentangled Reward Mitigates Hacking in RLHF
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2402.07319