Learning Goal-Conditioned Representations for Language Reward Models
On the map: LLM alignment / RLHF / preference optimisation → Reward modeling and RLHF
Abstract (arXiv)
Techniques that learn improved representations via offline data or self-supervised objectives have shown impressive results in traditional reinforcement learning (RL). Nevertheless, it is unclear how improved representation learning can benefit reinforcement learning from human feedback (RLHF) on language models (LMs). In this work, we propose training reward models (RMs) in a contrastive, textitgoal-conditioned fashion by increasing the representation similarity of future states along sampled preferred trajectories and decreasing the similarity along randomly sampled dispreferred trajectories. This objective significantly improves RM performance by up to 0.09 AUROC across challenging benchmarks, such as MATH and GSM8k. These findings extend to general alignment as well -- on the Helpful-Harmless dataset, we observe 2.3% increase in accuracy. Beyond improving reward model performance, we show this way of training RM representations enables improved textitsteerability because it allows us to evaluate the likelihood of an action achieving a particular goal-state (e.g., whether a solution is correct or helpful). Leveraging this insight, we find that we can filter up to 55% of generated tokens during majority voting by discarding trajectories likely to end up in an "incorrect" state, which leads to significant cost savings. We additionally find that these representations can perform fine-grained control by conditioning on desired future goal-states. For example, we show that steering a Llama 3 model towards helpful generations with our approach improves helpfulness by 9.6% over a supervised-fine-tuning trained baseline. Similarly, steering the model towards complex generations improves complexity by 21.6% over the baseline. Overall, we find that training RMs in this contrastive, goal-conditioned fashion significantly improves performance and enables model steerability.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reward modeling and RLHF, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 58 of its 74 references that are in the map. First posted on arXiv 18 Jul 2024.
Builds on
58 of 74 references.
Closest ancestors · 4
Same direction, newest first
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback12 Apr
- 2021WebGPT: Browser-assisted question-answering with human feedback17 Dec
- 2019Fine-Tuning Language Models from Human Preferences18 Sep
Other references · 54
- 2017Attention Is All You Needcited by 60,361
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020Learning to summarize from human feedbackcited by 2,588
38 more
- 2024Mixtral of Expertscited by 1,823
- 2017Hindsight Experience Replaycited by 1,136
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
- 2022PAL: Program-aided Language Modelscited by 652
- 2020Contrastive Learning with Hard Negative Samplescited by 628
- 2020A Survey on Contrastive Self-supervised Learningcited by 554
- 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 459
- 2018Data-Efficient Hierarchical Reinforcement Learningcited by 455
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2016Reinforcement Learning with Unsupervised Auxiliary Taskscited by 404
- 2016Successor Features for Transfer in Reinforcement Learningcited by 340
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
- 2022Teaching language models to support answers with verified quotescited by 292
- 2024Is DPO Superior to PPO for LLM Alignment? A Comprehensive Studycited by 262
- 2023Reward Design with Language Modelscited by 261
- 2022Contrastive Learning as Goal-Conditioned Reinforcement Learningcited by 253
- 2023Pretraining Language Models with Human Preferencescited by 247
- 2023Self-Evaluation Guided Beam Search for Reasoningcited by 196
- 2015Deep Spatial Autoencoders for Visuomotor Learningcited by 153
- 2024OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Datasetcited by 143
- 2023HelpSteer: Multi-attribute Helpfulness Dataset for SteerLMcited by 142
- 2021Goal-Conditioned Reinforcement Learning with Imagined Subgoalscited by 134
- 2019Learning with Good Feature Representations in Bandits and in RL with a Generative Modelcited by 127
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
- 2020Invariant Causal Prediction for Block MDPscited by 105
- 2018Universal Successor Features Approximatorscited by 103
- 2020Impact of Representation Learning in Linear Banditscited by 52
- 2022Critic-Guided Decoding for Controlled Text Generationcited by 45
- 2016Learning to Act by Predicting the Futurecited by 36
- 2021Return-Based Contrastive Representation Learning for Reinforcement Learningcited by 36
- 2022Learning New Skills after Deployment: Improving open-domain internet-driven dialogue with human feedbackcited by 36
- 2023LLF-Bench: Benchmark for Interactive Learning from Language Feedbackcited by 33
- 2020Representations for Stable Off-Policy Reinforcement Learningcited by 31
- 2022On the Generalization of Representations in Reinforcement Learningcited by 28
- 2015State of the Art Control of Atari Games Using Shallow Reinforcement Learningcited by 23
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Reusing Embeddings: Reproducible Reward Model Research in Large Language Model Alignment without GPUs
- 2024RM-Bench: Benchmarking Reward Models of Language Models with Subtlety and Style
- 2024Improving Reinforcement Learning from Human Feedback Using Contrastive Rewards
- 2025GRAM: A Generative Foundation Reward Model for Reward Generalization
- 2024Cross-lingual Transfer of Reward Models in Multilingual Alignment
- 2024Improving Reward Models with Synthetic Critiques
- 2024Sequence to Sequence Reward Modeling: Improving RLHF by Language Feedback
- 2024West-of-N: Synthetic Preferences for Self-Improving Reward Models