Information-Theoretic Reward Decomposition for Generalizable RLHF
Liyuan Mao, Haoran Xu, Amy Zhang, Weinan Zhang, Chenjia Bai
TL;DR
Addressing generalization gaps in RLHF reward models, the paper proposes a novel information-theoretic decomposition of the reward into a prompt-free component $r_2$ and a prompt-related component $r_1$, derived without extra models via a mutual-information objective. It demonstrates the existence of feasible $r_1^*$ and $r_2^*$ with $\Delta r_\theta = \Delta r_1^* + \Delta r_2^*$ and provides a practical approach to estimate $\Delta r_2^*(y_1,y_2)$ using binary search and importance sampling over $P(X|Y_1,Y_2)$. Reward learning is then guided by prioritizing data with small prompt-free gaps $\Delta r_2$, encouraging the model to focus on prompt-related information while reducing prompt-free prejudice. Empirical results on toy scenarios and standard RLHF benchmarks show improved reward-model alignment and better generalization of the induced policy across base models such as $\text{LLaMA-3-8B-Instruct}$ and $\text{Mistral-7B-Instruct}$.
Abstract
A generalizable reward model is crucial in Reinforcement Learning from Human Feedback (RLHF) as it enables correctly evaluating unseen prompt-response pairs. However, existing reward models lack this ability, as they are typically trained by increasing the reward gap between chosen and rejected responses, while overlooking the prompts that the responses are conditioned on. Consequently, when the trained reward model is evaluated on prompt-response pairs that lie outside the data distribution, neglecting the effect of prompts may result in poor generalization of the reward model. To address this issue, we decompose the reward value into two independent components: prompt-free reward and prompt-related reward. Prompt-free reward represents the evaluation that is determined only by responses, while the prompt-related reward reflects the reward that derives from both the prompt and the response. We extract these two components from an information-theoretic perspective, which requires no extra models. Subsequently, we propose a new reward learning algorithm by prioritizing data samples based on their prompt-free reward values. Through toy examples, we demonstrate that the extracted prompt-free and prompt-related rewards effectively characterize two parts of the reward model. Further, standard evaluations show that our method improves both the alignment performance and the generalization capability of the reward model.
