Dense Reward for Free in Reinforcement Learning from Human Feedback
Alex James Chan, Hao Sun, Samuel Holt, Mihaela van der Schaar
Abstract
Reinforcement Learning from Human Feedback (RLHF) has been credited as the key advance that has allowed Large Language Models (LLMs) to effectively follow instructions and produce useful assistance. Classically, this involves generating completions from the LLM in response to a query before using a separate reward model to assign a score to the full completion. As an auto-regressive process, the LLM has to take many "actions" (selecting individual tokens) and only receives a single, sparse reward at the end of an episode, a setup that is known to be difficult to optimise in traditional reinforcement learning. In this work we leverage the fact that the reward model contains more information than just its scalar output, in particular, it calculates an attention map over tokens as part of the transformer architecture. We use these attention weights to redistribute the reward along the whole completion, effectively densifying the signal and highlighting the most important tokens, all without incurring extra computational cost or requiring any additional modelling. We demonstrate that, theoretically, this approach is equivalent to potential-based reward shaping, ensuring that the optimal policy remains unchanged. Empirically, we show that it stabilises training, accelerates the rate of learning, and, in practical cases, may lead to better local optima.
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.
26 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
- Discovering Preference Optimization Algorithms with and for Large Language Models cites The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- Discovering Preference Optimization Algorithms with and for Large Language Models cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Discovering Preference Optimization Algorithms with and for Large Language Models cites Let's Verify Step by Step
- Scaling Laws for Reward Model Overoptimization cites Language Models are Few-Shot Learners
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning cites Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Language Models are Few-Shot Learners
- Selective Preference Optimization via Token-Level Reward Function Estimation cites Scaling Laws for Reward Model Overoptimization
- Let's Verify Step by Step cites Scaling Laws for Reward Model Overoptimization
- Curiosity-Driven Reinforcement Learning from Human Feedback cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMs cites Scaling Laws for Reward Model Overoptimization
- Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMs cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMs cites Language Models are Few-Shot Learners
Cited by top-tier papers26
- Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMsRui Yang, Ruomeng Ding, Yong Lin, Huan Zhang et al.NeurIPS 2024 · 157 citations
- Discovering Preference Optimization Algorithms with and for Large Language ModelsChris Lu, Samuel Holt, Claudio Fanconi, Alex J. Chan et al.NeurIPS 2024 · 41 citations
- SRPO: Self-Referential Policy Optimization for Vision-Language-Action ModelsSenyu Fei, Siyin Wang, Li Ji, Ao Li et al.CVPR 2026 · 28 citations
- Selective Preference Optimization via Token-Level Reward Function EstimationKailai Yang, Zhiwei Liu, Qianqian Xie, Jimin Huang et al.EMNLP 2025 · 18 citations
- Curiosity-Driven Reinforcement Learning from Human FeedbackHaoran Sun, Yekun Chai, Shuohuan Wang, Yu Sun et al.ACL 2025 · 17 citations
Builds on22
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards et al.ICLR 2024 · 3,045 citations
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 citations
- The Flan Collection: Designing Data and Methods for Effective Instruction TuningShayne Longpre, Le Hou, Tu Vu, Albert Webson et al.ICML 2023 · 908 citations
Related papers
- RED: Unleashing Token-Level Rewards from Holistic Feedback via Reward RedistributionJiahui Li, Lin Li, Tai-Wei Chang, Kun Kuang et al.EMNLP 2025
- TIPS: Turn-level Information-Potential Reward Shaping for Search-Augmented LLMsYutao Xie, Nathaniel Thomas, Nicklas Hansen, Yang Fu et al.ICLR 2026 · 29 citations
- Navigating Noisy Feedback: Enhancing Reinforcement Learning with Error-Prone Language ModelsMuhan Lin, Shuyang Shi, Yue Guo, Behdad Chalaki et al.EMNLP Findings 2024 · 1 citation
- Real-Time Aligned Reward Model beyond SemanticsZixuan Huang, Xin Xia, Yuxi Ren, Jianbin Zheng et al.ICML 2026 · 18 citations
- AlignDistil: Token-Level Language Model Alignment as Adaptive Policy DistillationSongming Zhang, Xue Zhang, Tong Zhang, Bojie Hu et al.ACL 2025
