Lost in the Context: Insufficient and Distracted Attention to Contexts in Preference Modeling
Shihan Dou, Jiayi Chen, Chenhao Huang, Feng Chen, Wei Chengzhi, Huiyuan Zheng, Shichun Liu, Yan Liu, Chenxiao Liu, Chao Xin, Lin Yan, Zongzhang Zhang
Abstract
In Reinforcement Learning from Human Feedback (RLHF), the reward model (RM) evaluates the response quality based on the given context and assigns a reward. It plays a crucial role in aligning RLHF with human preferences. Although the current RM training paradigm concatenates the context and response while amplifying the reward difference between good and bad response pairs, we demonstrate that the RM faces two significant issues: i) it often allocates only a small proportion of attention to the context, and ii) it frequently ignores segments of the context that are relevant for evaluating the response quality. These issues undermine the RM's effectiveness in modeling human preferences. To further address these challenges, we propose AttnRM, a novel optimization framework that enables the RM to concentrate on crucial segments of the context. Experimental results demonstrate that At-tnRM significantly improves preference modeling by increasing attention to relevant information within the context. It also enhances the RM's generalizability and achieves better performance in aligning with human preferences. 0.35 0.39 Reward = 2.87 (High) 0.17 Total attention score: 0.09 RM Relevant segments Irrelevant segments Normalized Attention Score Distribution Containing key information for evaluating response quality Noise segments that is irrelevant to response Segment attention score: > 0.06 Segment attention score: < 0.03 … <BOS> <EOS> <EOS> Response Context 0.31 0.42 Reward = 2.95 (Remain high) 0.20
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.
Lineage
- WARM: On the Benefits of Weight Averaged Reward Models cites Learning to summarize with human feedback
- WARM: On the Benefits of Weight Averaged Reward Models cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Builds on11
- 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
- Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han et al.ICLR 2024 · 1,714 citations
- Is ChatGPT a General-Purpose Natural Language Processing Task Solver?Chengwei Qin, Aston Zhang, Zhuosheng Zhang, Jiaao Chen et al.EMNLP 2023 · 449 citations
- WARM: On the Benefits of Weight Averaged Reward ModelsAlexandre Ramé, Nino Vieillard, Léonard Hussenot, Robert Dadashi et al.ICML 2024 · 145 citations
- Learning to summarize with human feedbackNisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel M. Ziegler et al.NeurIPS 2020 · 124 citations
Related papers
- ReflectRM: Boosting Generative Reward Models via Self-Reflection within a Unified Judgment FrameworkKai Qin, Liangxin Liu, Yu Liang, Longzheng Wang et al.ACL 2026
- Reward Modeling Requires Automatic Adjustment Based on Data QualityBinghai Wang, Rui Zheng, Lu Chen, Zhiheng Xi et al.EMNLP Findings 2024 · 2 citations
- Alleviating Shifted Distribution in Human Preference Alignment through Meta-LearningShihan Dou, Yan Liu, Enyu Zhou, Songyang Gao et al.AAAI 2025 · 2 citations
- DARM: Distribution-Aware Reward Modeling by Alleviating Biases from Low Preference-Context Dependency DataShaofan Liu, Guoqiang Zhang, Shihan Dou, Huiyuan Zheng et al.ACL 2026
- Rethinking Reward Model Evaluation Through the Lens of Reward OveroptimizationSunghwan Kim, Dongjin Kang, Taeyoon Kwon, Hyungjoo Chae et al.ACL 2025
