atlas

Research map / Reinforcement learning / RL from feedback

Learning Goal-Conditioned Representations for Language Reward Models

NeurIPS 2024 · Reinforcement learning › RL from feedback · approach: RL for LLM reasoning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Trains LM reward models with an added goal-conditioned contrastive loss on hidden representations (Q-function-like), improving math and HH reward AUROC/accuracy and enabling Q-value filtering and guided-decoding steering.

Problem

Reward models for RLHF on language models are trained only with a sequence-level preference loss, so their intermediate representations do not encode how likely a partial generation is to reach a good goal state; it is unclear how representation learning can help RLHF for LMs.

Approach

Jointly train the reward model with a contrastive goal-conditioned loss that pulls together representations of a source state and a future state from the preferred completion while pushing apart a source state and a state from the dispreferred completion, so the cosine similarity approximates a goal-conditioned Q-function usable for filtering and steering.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add goal-conditioned contrastive training to the reward modelLlama 3-8B-Instruct reward model · Helpful-Harmless test setaccuracy: 68.2 -> 70.5Helped
Filter generations with negative Q-values before majority voting50-generation majority vote · GSM8kaccuracy: 84.8 -> 86.0Helped
Filter generations with negative Q-values before majority voting50-generation majority vote · MATHaccuracy: 55.6 -> 59.6Helped
Use Q-Function reward model instead of preference-ranking reward model for PPOCodellama PPO · GSM8k, MATH, algebra222, GSM-Hard, Asdiv, mawps, svampaccuracy: 79.3 -> 80.5; 43.4 -> 45.1; 65.8 -> 70.9; 61.1 -> 62.7; 77.4 -> 79.5; 91.6 -> 93.6; 78.5 -> 81.2Helped
Steer guided decoding with the Q-Function prototype instead of SFTLlama-3-8B-Instruct · HelpSteer helpfulnesswinrate vs. SFT (%): 45.2 -> 54.8Helped
Steer guided decoding with the Q-Function prototype instead of SFTLlama-3-8B-Instruct · HelpSteer correctnesswinrate vs. SFT (%): 43.9 -> 56.1Helped
Steer guided decoding with the Q-Function prototype instead of SFTLlama-3-8B-Instruct · HelpSteer coherencewinrate vs. SFT (%): 41.8 -> 58.3Helped
Steer guided decoding with the Q-Function prototype instead of SFTLlama-3-8B-Instruct · HelpSteer complexitywinrate vs. SFT (%): 39.2 -> 60.8Helped
Replace preferred/dispreferred paired goal sampling with random goal-state sampling (ablation)Q-Function reward model · GSM8k and MATHAUROC: 0.852 -> 0.801; 0.708 -> 0.626Hurt
Use batch-averaged positive and negative goal states instead of SGS (ablation)Q-Function reward model · GSM8k and MATHAUROC: 0.852 -> 0.835; 0.708 -> 0.707Hurt
Use a randomly sampled completion token rather than the last token as goal state (ablation)Q-value filtering · GSM8k and MATHaccuracy: 86.0 -> 85.9; 59.6 -> 57.3Hurt
Use a randomly sampled completion token rather than the last token as goal state (ablation)Q-value filtering · GSM8k and MATHproportion correct: 84.0 -> 81.8; 52.0 -> 45.3Hurt

Surprising findings

Limitations

Experimental setup

Datasets: OpenMathInstruct-1 GSM8k MATH MathQA Helpful-Harmless HelpSteer

Benchmarks: GSM8k MATH algebra222 GSM-Hard Asdiv mawps svamp Helpful-Harmless HelpSteer

Metrics: AUROC accuracy majority-vote accuracy win rate proportion correct tokens saved

Baselines: Codellama 7b Reward Llama 8b Reward DPO PPO with preference-ranking reward model SFT guided decoding

Builds on: Bradley-Terry preference reward modeling proximal policy optimization direct preference optimization OpenMath-CodeLlama

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy