Beyond Reward Hacking: Causal Rewards for Large Language Model Alignment
Chaoqi Wang, Zhuokai Zhao, Yibo Jiang, Zhaorun Chen, Chen Zhu, Yuxin Chen, Jiayi Liu, Lizhu Zhang, Xiangjun Fan, Hao Ma, Sinong Wang
TL;DR
This work tackles spurious correlations in reward modeling within RLHF that hinder true causal alignment of LLMs. It introduces Causal Reward Modeling (CRM), which enforces counterfactual invariance by using an MMD-based regularizer to decouple reward signals from spurious factors like length, sycophancy, concepts, and demographic biases. Through synthetic and real-world datasets, CRM reduces bias across sycophancy, length, concept, and discrimination while maintaining or improving alignment utility, and it can be integrated as a drop-in component in existing RLHF pipelines. The results demonstrate increased reliability and fairness in LLM fine-tuning, with conditional and unconditional CRM approaches offering trade-offs between bias reduction and predictive performance. Overall, CRM advances trustworthy LLM alignment by directly addressing irreducible spurious correlations in reward modeling.
Abstract
Recent advances in large language models (LLMs) have demonstrated significant progress in performing complex tasks. While Reinforcement Learning from Human Feedback (RLHF) has been effective in aligning LLMs with human preferences, it is susceptible to spurious correlations in reward modeling. Consequently, it often introduces biases-such as length bias, sycophancy, conceptual bias, and discrimination-that hinder the model's ability to capture true causal relationships. To address this, we propose a novel causal reward modeling approach that integrates causality to mitigate these spurious correlations. Our method enforces counterfactual invariance, ensuring reward predictions remain consistent when irrelevant variables are altered. Through experiments on both synthetic and real-world datasets, we show that our approach mitigates various types of spurious correlations effectively, resulting in more reliable and fair alignment of LLMs with human preferences. As a drop-in enhancement to the existing RLHF workflow, our causal reward modeling provides a practical way to improve the trustworthiness and fairness of LLM finetuning.
