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
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Scaling Laws for Reward Model Overoptimization cites Training language models to follow instructions with human feedback
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback cites Scaling Laws for Reward Model Overoptimization
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback cites Training language models to follow instructions with human feedback
- Unbiased Principles, Robust Rewards cites Scaling Laws for Reward Model Overoptimization
- Unbiased Principles, Robust Rewards cites Inference-Time Reward Hacking in Large Language Models
- Factored Causal Representation Learning for Robust Reward Modeling in RLHF cites Scaling Laws for Reward Model Overoptimization
- Factored Causal Representation Learning for Robust Reward Modeling in RLHF cites Reward Model Ensembles Help Mitigate Overoptimization
- Factored Causal Representation Learning for Robust Reward Modeling in RLHF cites Training language models to follow instructions with human feedback
- Reward Model Ensembles Help Mitigate Overoptimization cites Scaling Laws for Reward Model Overoptimization
- Reward Model Ensembles Help Mitigate Overoptimization cites AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
- Reward Model Ensembles Help Mitigate Overoptimization cites Training language models to follow instructions with human feedback
- Inference-Time Reward Hacking in Large Language Models cites Scaling Laws for Reward Model Overoptimization
- Inference-Time Reward Hacking in Large Language Models cites AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
- Inference-Time Reward Hacking in Large Language Models cites Reward Model Ensembles Help Mitigate Overoptimization
Cited by top-tier papers7
- Inference-Time Reward Hacking in Large Language ModelsHadi Khalaf, Claudio Mayrink Verdun, Alex Oesterling, Himabindu Lakkaraju et al.NeurIPS 2025 · 38 citations
- On the Effect of Negative Gradient in Group Relative Deep Reinforcement OptimizationWenlong Deng, Yi Ren, Muchen Li, Danica J. Sutherland et al.NeurIPS 2025 · 36 citations
- Factored Causal Representation Learning for Robust Reward Modeling in RLHFYupei Yang, Lin Yang, Wanxi Deng, Lin Qu et al.ICML 2026 · 1 citation
- Formalizing and Mitigating Structural Distortion in LLM Attention for Graph ReasoningDonald Loveland, Puja Trivedi, Ari Weinstein, Edward W. Huang et al.KDD 2026
- Unbiased Principles, Robust RewardsQingnan Ren, Zhen Fang, Shiting Huang, Yu Zeng et al.ICML 2026
Builds on16
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 citations
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human FeedbackYann Dubois, Chen Xuechen Li, Rohan Taori, Tianyi Zhang et al.NeurIPS 2023 · 948 citations
- The Linear Representation Hypothesis and the Geometry of Large Language ModelsKiho Park, Yo Joong Choe, Victor VeitchICML 2024 · 461 citations
- Reward Model Ensembles Help Mitigate OveroptimizationThomas Coste, Usman Anwar, Robert Kirk, David KruegerICLR 2024 · 208 citations
Related papers
- ODIN: Disentangled Reward Mitigates Hacking in RLHFLichang Chen, Chen Zhu, Jiuhai Chen, Davit Soselia et al.ICML 2024 · 119 citations
- 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 et al.ICML 2024 · 145 citations
- Scaling Laws for Reward Model Overoptimization in Direct Alignment AlgorithmsRafael Rafailov, Yaswanth Chittepu, Ryan Park, Harshit Sikchi et al.NeurIPS 2024 · 169 citations
- Bradley-Terry and Multi-Objective Reward Modeling Are ComplementaryZhiwei Zhang, Hui Liu, Xiaomin Li, Zhenwei Dai et al.ICLR 2026 · 8 citations
