atlas

Research map / Reinforcement learning / RL from feedback

ODIN: Disentangled Reward Mitigates Hacking in RLHF

ICML 2024 · Reinforcement learning › RL from feedback · approach: Theory of RLHF · 1 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 ODIN, a reward model with two linear heads trained to disentangle response length from content quality, using only the quality head during PPO/ReMax to mitigate length-based reward hacking in RLHF.

Problem

Reward hacking in RLHF where policies increase response verbosity to exploit length bias in reward models and LLM/human evaluators, and lack of reliable evaluation for comparing mitigation methods.

Approach

Train a reward model with two linear heads on shared features: a length head correlated with length (Pearson loss) and a quality head decorrelated from length plus an orthogonality constraint between head weights; discard the length head during RL so the policy is optimized only on content quality.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train the reward model with ODIN's disentangled quality head instead of a vanilla reward modelVicuna-7B policy trained with ReMax or PPO · LIMA test set, evaluated across response lengthsGPT-4 Win Score versus response lengthHelped
Train the policy using ODIN rather than the vanilla reward modelVicuna-7B RL policy · TruthfulQA (mc1)accuracy: 32.68 -> 34.64; 33.90 -> 34.64; 33.89 -> 34.67; 33.66 -> 34.63Helped
Add the ODIN length loss to reward-model training (ablation)ODIN reward model · OpenAssistant test setPearson correlation with response length: 0.451 -> -0.05Helped
Add the ODIN length loss to reward-model training (ablation)ODIN reward model · OpenAssistant test setvalidation accuracy: 70.1 -> 70.1No clear effect
Add the orthogonality loss to ODIN reward-model training (ablation)ODIN with length loss · OpenAssistant test setPearson correlation with response length: -0.05 -> -0.03No clear effect
Add the orthogonality loss to ODIN reward-model training (ablation)ODIN with length loss · OpenAssistant test setvalidation accuracy: 70.1 -> 69.2Hurt
Use a smaller PPO policy-update clipping threshold (ablation)PPO with vanilla reward model · LIMA test setWin Score Pareto front: around 2.5 pointsHelped
Increase KL regularization strength (ablation)PPO with vanilla reward model · LIMA test setWin ScoreHurt
Increase the degree of off-policy sampling (N > b) (ablation)PPO with vanilla reward model · LIMA test setWin Score near the SFT response lengthHurt
Apply a suitably tuned reward-clipping threshold (ablation)PPO with vanilla reward model · LIMA test setWin Score near the SFT response lengthHelped
Apply aggressive reward clipping (e.g., c = 1) (ablation)ReMax with vanilla reward model · LIMA test setlearning effectivenessHurt
Add a tunable response-length penalty (ablation)ReMax or PPO with vanilla reward model · LIMA test setWin Score Pareto frontHelped

Surprising findings

Limitations

Experimental setup

Datasets: OpenAssistant LIMA test set BBH MMLU DROP TruthfulQA

Benchmarks: LIMA test set BBH MMLU DROP TruthfulQA

Metrics: Win Score vs SFT baseline Pareto front of win score vs response length Pearson, Spearman, Kendall correlation with length reward model validation accuracy human preference win/tie/loss

Baselines: Vanilla reward model Length penalty Reward clipping DPO tulu-2-dpo-7b GPT-3.5-turbo

Builds on: PPO ReMax Bradley-Terry reward modeling DPO DeepSpeed-Chat

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