The Energy Loss Phenomenon in RLHF: A New Perspective on Mitigating Reward Hacking
Yuchun Miao, Sen Zhang, Liang Ding, Yuqi Zhang, Lefei Zhang, Dacheng Tao
摘要
This work identifies the Energy Loss Phenomenon in Reinforcement Learning from Human Feedback (RLHF) and its connection to reward hacking. Specifically, energy loss 2 in the final layer of a Large Language Model (LLM) gradually increases during the RL process, with an excessive increase in energy loss characterizing reward hacking. Beyond empirical analysis, we further provide a theoretical foundation by proving that, under mild conditions, the increased energy loss reduces the upper bound of contextual relevance in LLMs, which is a critical aspect of reward hacking as the reduced contextual relevance typically indicates overfitting to reward model-favored patterns in RL. To address this issue, we propose an Energy loss-aware PPO algorithm (EPPO) which penalizes the increase in energy loss in the LLM's final layer during reward calculation to prevent excessive energy loss, thereby mitigating reward hacking. We theoretically show that EPPO can be conceptually interpreted as an entropy-regularized RL algorithm, which provides deeper insights into its effectiveness. Extensive experiments across various LLMs and tasks demonstrate the commonality of the energy loss phenomenon, as well as the effectiveness of EPPO in mitigating reward hacking and improving RLHF performance. Code will be available at Energy-Loss-Phenomenon.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaling Laws for Reward Model Overoptimization 引用了 Training language models to follow instructions with human feedback
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback 引用了 Scaling Laws for Reward Model Overoptimization
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback 引用了 Training language models to follow instructions with human feedback
- Unbiased Principles, Robust Rewards 引用了 Scaling Laws for Reward Model Overoptimization
- Unbiased Principles, Robust Rewards 引用了 Inference-Time Reward Hacking in Large Language Models
- Factored Causal Representation Learning for Robust Reward Modeling in RLHF 引用了 Scaling Laws for Reward Model Overoptimization
- Factored Causal Representation Learning for Robust Reward Modeling in RLHF 引用了 Reward Model Ensembles Help Mitigate Overoptimization
- Factored Causal Representation Learning for Robust Reward Modeling in RLHF 引用了 Training language models to follow instructions with human feedback
- Reward Model Ensembles Help Mitigate Overoptimization 引用了 Scaling Laws for Reward Model Overoptimization
- Reward Model Ensembles Help Mitigate Overoptimization 引用了 AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
- Reward Model Ensembles Help Mitigate Overoptimization 引用了 Training language models to follow instructions with human feedback
- Inference-Time Reward Hacking in Large Language Models 引用了 Scaling Laws for Reward Model Overoptimization
- Inference-Time Reward Hacking in Large Language Models 引用了 AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
- Inference-Time Reward Hacking in Large Language Models 引用了 Reward Model Ensembles Help Mitigate Overoptimization
引用它的顶会 Paper7
- Inference-Time Reward Hacking in Large Language ModelsHadi Khalaf, Claudio Mayrink Verdun, Alex Oesterling, Himabindu Lakkaraju 等NeurIPS 2025 · 38 次引用
- On the Effect of Negative Gradient in Group Relative Deep Reinforcement OptimizationWenlong Deng, Yi Ren, Muchen Li, Danica J. Sutherland 等NeurIPS 2025 · 36 次引用
- Factored Causal Representation Learning for Robust Reward Modeling in RLHFYupei Yang, Lin Yang, Wanxi Deng, Lin Qu 等ICML 2026 · 1 次引用
- Formalizing and Mitigating Structural Distortion in LLM Attention for Graph ReasoningDonald Loveland, Puja Trivedi, Ari Weinstein, Edward W. Huang 等KDD 2026
- Unbiased Principles, Robust RewardsQingnan Ren, Zhen Fang, Shiting Huang, Yu Zeng 等ICML 2026
它引用的 Paper16
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 次引用
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human FeedbackYann Dubois, Chen Xuechen Li, Rohan Taori, Tianyi Zhang 等NeurIPS 2023 · 948 次引用
- The Linear Representation Hypothesis and the Geometry of Large Language ModelsKiho Park, Yo Joong Choe, Victor VeitchICML 2024 · 461 次引用
- Reward Model Ensembles Help Mitigate OveroptimizationThomas Coste, Usman Anwar, Robert Kirk, David KruegerICLR 2024 · 208 次引用
相关 Paper
- ODIN: Disentangled Reward Mitigates Hacking in RLHFLichang Chen, Chen Zhu, Jiuhai Chen, Davit Soselia 等ICML 2024 · 119 次引用
- Correlated Proxies: A New Definition and Improved Mitigation for Reward HackingCassidy Laidlaw, Shivam Singhal, Anca D. DraganICLR 2025
- WARM: On the Benefits of Weight Averaged Reward ModelsAlexandre Ramé, Nino Vieillard, Léonard Hussenot, Robert Dadashi 等ICML 2024 · 145 次引用
- Scaling Laws for Reward Model Overoptimization in Direct Alignment AlgorithmsRafael Rafailov, Yaswanth Chittepu, Ryan Park, Harshit Sikchi 等NeurIPS 2024 · 169 次引用
- Bradley-Terry and Multi-Objective Reward Modeling Are ComplementaryZhiwei Zhang, Hui Liu, Xiaomin Li, Zhenwei Dai 等ICLR 2026 · 8 次引用
