mlsanityData to 14 Oct 2026

Learning Goal-Conditioned Representations for Language Reward Models

arXiv 2407.13887 ↗First posted 18 Jul 2024cs.CLcited by 2

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

  1. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
  2. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback12 Apr
  3. 2021WebGPT: Browser-assisted question-answering with human feedback17 Dec
  4. 2019Fine-Tuning Language Models from Human Preferences18 Sep

Other references · 54

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  9. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  10. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  11. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  12. 2020Learning to summarize from human feedbackcited by 2,588
38 more
  1. 2024Mixtral of Expertscited by 1,823
  2. 2017Hindsight Experience Replaycited by 1,136
  3. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
  4. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  5. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
  6. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
  7. 2022PAL: Program-aided Language Modelscited by 652
  8. 2020Contrastive Learning with Hard Negative Samplescited by 628
  9. 2020A Survey on Contrastive Self-supervised Learningcited by 554
  10. 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 459
  11. 2018Data-Efficient Hierarchical Reinforcement Learningcited by 455
  12. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
  13. 2016Reinforcement Learning with Unsupervised Auxiliary Taskscited by 404
  14. 2016Successor Features for Transfer in Reinforcement Learningcited by 340
  15. 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
  16. 2022Teaching language models to support answers with verified quotescited by 292
  17. 2024Is DPO Superior to PPO for LLM Alignment? A Comprehensive Studycited by 262
  18. 2023Reward Design with Language Modelscited by 261
  19. 2022Contrastive Learning as Goal-Conditioned Reinforcement Learningcited by 253
  20. 2023Pretraining Language Models with Human Preferencescited by 247
  21. 2023Self-Evaluation Guided Beam Search for Reasoningcited by 196
  22. 2015Deep Spatial Autoencoders for Visuomotor Learningcited by 153
  23. 2024OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Datasetcited by 143
  24. 2023HelpSteer: Multi-attribute Helpfulness Dataset for SteerLMcited by 142
  25. 2021Goal-Conditioned Reinforcement Learning with Imagined Subgoalscited by 134
  26. 2019Learning with Good Feature Representations in Bandits and in RL with a Generative Modelcited by 127
  27. 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
  28. 2020Invariant Causal Prediction for Block MDPscited by 105
  29. 2018Universal Successor Features Approximatorscited by 103
  30. 2020Impact of Representation Learning in Linear Banditscited by 52
  31. 2022Critic-Guided Decoding for Controlled Text Generationcited by 45
  32. 2016Learning to Act by Predicting the Futurecited by 36
  33. 2021Return-Based Contrastive Representation Learning for Reinforcement Learningcited by 36
  34. 2022Learning New Skills after Deployment: Improving open-domain internet-driven dialogue with human feedbackcited by 36
  35. 2023LLF-Bench: Benchmark for Interactive Learning from Language Feedbackcited by 33
  36. 2020Representations for Stable Off-Policy Reinforcement Learningcited by 31
  37. 2022On the Generalization of Representations in Reinforcement Learningcited by 28
  38. 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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Reusing Embeddings: Reproducible Reward Model Research in Large Language Model Alignment without GPUs
  2. 2024RM-Bench: Benchmarking Reward Models of Language Models with Subtlety and Style
  3. 2024Improving Reinforcement Learning from Human Feedback Using Contrastive Rewards
  4. 2025GRAM: A Generative Foundation Reward Model for Reward Generalization
  5. 2024Cross-lingual Transfer of Reward Models in Multilingual Alignment
  6. 2024Improving Reward Models with Synthetic Critiques
  7. 2024Sequence to Sequence Reward Modeling: Improving RLHF by Language Feedback
  8. 2024West-of-N: Synthetic Preferences for Self-Improving Reward Models