atlas

Research map / Reinforcement learning / RL from feedback

Dense Reward for Free in Reinforcement Learning from Human Feedback

ICML 2024 · Reinforcement learning › RL from feedback · approach: Theory of RLHF · 2 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.

Proposes Attention Based Credit (ABC), which redistributes a reward model's scalar output across tokens using its last-layer attention weights, densifying the RLHF reward without extra compute and shown to preserve the optimal policy via potential-based shaping.

Problem

Standard RLHF gives a single sparse reward at the end of an autoregressive completion, which makes credit assignment and PPO optimisation difficult and unstable, especially for long generations.

Approach

Use the reward model's last-layer attention weights (averaged over heads, renormalised over generated tokens) to split the final scalar reward across generated tokens, so each token receives a share proportional to how much the reward prediction attends to it; this is shown to equal potential-based reward shaping and so leaves the optimal policy unchanged.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Redistribute the completion reward using reward-model attention instead of sparse terminal rewardRLHF on Positive Generation · Positive Generationaverage reward: 7.21±0.39 -> 8.32±0.16Helped
Redistribute the completion reward using reward-model attention instead of sparse terminal rewardRLHF on Summarisation · Summarisationaverage reward: 9.03±0.13 -> 9.18±0.17Helped
Redistribute the completion reward using reward-model attention instead of sparse terminal rewardRLHF on Single-turn Dialogue · Single-turn Dialogueaverage reward: 5.78±0.14 -> 6.55±0.04Helped
Redistribute reward using reward-model attention rather than uniform smoothingReward redistribution on Positive Generation · Positive Generationaverage reward: 6.60±0.19 -> 8.32±0.16Helped
Redistribute reward using reward-model attention rather than uniform smoothingReward redistribution on Summarisation · Summarisationaverage reward: 9.03±0.15 -> 9.18±0.17Helped
Redistribute reward using reward-model attention rather than uniform smoothingReward redistribution on Single-turn Dialogue · Single-turn Dialogueaverage reward: 6.44±0.06 -> 6.55±0.04Helped
Use generator-model attention instead of reward-model attention (ABC-D) (ablation)ABC on Positive Generation · Positive Generationaverage rewardMixed
Use generator-model attention while predicting the final token (ABC-D2) (ablation)ABC-D on Positive Generation · Positive Generationaverage rewardMixed
Increase the ABC reward mixture weight β (ablation)ABC on Positive Generation · Positive Generationmean rewardHelped
Use ABC instead of RLHFDialogue policy evaluated on AlpacaEval 2.0 · AlpacaEval 2.0ABC response preference rate: 69.32 ± 1.62%Helped
Use token-level dense rewards instead of sparse terminal rewardRLHF on longer Positive Generation completions · Positive Generation, enforced lengths 20-30, 40-60, 90-110, 140-160mean reward stabilityHelped

Surprising findings

Limitations

Experimental setup

Datasets: IMDb TL;DR summarize_from_feedback Anthropic HH-RLHF (helpful split) RedPajama

Benchmarks: IMDb positive generation reward TL;DR summarisation reward Anthropic HH single-turn dialogue reward AlpacaEval 2.0

Metrics: average reward reward vs KL frontier PPO value loss win rate

Baselines: RLHF (sparse reward) Uniform reward smoothing ABC-D (decoder attention)

Builds on: PPO potential-based reward shaping RLHF TRL

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