atlas

Research map / Large language models / Alignment and preferences

ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Models

ICML 2024 · Large language models › Alignment and preferences · approach: Reward modeling for diverse preferences · 7 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 ReMax, a PPO-free RLHF method that adapts REINFORCE with a greedy-decoding reward baseline, cutting memory and training time while reaching SOTA 7B AlpacaEval/MT-Bench scores.

Problem

RLHF for LLMs with PPO is computationally expensive and hyper-parameter heavy because of the trainable value model, and REINFORCE is cheap but has high gradient variance at LLM scale.

Approach

Exploits RLHF properties (fast simulation, deterministic transitions, trajectory-level rewards) to drop the value model and use the reward of a greedily decoded response as a baseline in REINFORCE, giving an unbiased, lower-variance, online policy gradient.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ReMax instead of the SFT baselineMistral-7B-Instruct-v0.2 · AlpacaEvalwin rate: 92.78% -> 94.78%Helped
Use ReMax instead of the SFT baselineMistral-7B-Instruct-v0.2 · MT-Benchscore: 7.516 -> 7.739Helped
Use ReMax instead of PPOLlama-2-7B on full-hh-rlhf · AlpacaEvalwin rate over SFT: +31.4 pointsHelped
Initialize ReMax from a DPO-trained modelLlama-2-7B on full-hh-rlhf · AlpacaEvalwin rate: 84.7%Helped
Use ReMax instead of PPO with 4 GPUs and optimizer offloadLlama-2-7B · A800-80GB, 4 GPUs, optimizer offloadepoch training time: 2.9h -> 2.0hHelped
Use ReMax instead of PPO with 4 GPUs and optimizer offloadLlama-2-7B · A800-80GB, 4 GPUs, optimizer offloadmaximum batch size: 112 -> 152Helped
Increase ultrafeedback prompt count from 10k to 40k (ablation)Mistral-7B ReMax · AlpacaEvalwin rate: 94.29% -> 93.11%Hurt
Increase ultrafeedback prompt count from 10k to 40k (ablation)Mistral-7B ReMax · MT-Benchscore: 7.578 -> 7.538Hurt
Increase lmsys-chat-1m prompt count from 10k to 40k (ablation)Mistral-7B ReMax · AlpacaEvalwin rate: 94.40% -> 92.86%Hurt
Increase sharegpt-en prompt count from 20k to 40k (ablation)Mistral-7B ReMax · MT-Benchscore: 7.739 -> 7.534Hurt
Subtract the greedy-response reward as a baseline (ablation)ReMax versus REINFORCE · OPT-1.3B fine-tuninggradient normHelped
Subtract the greedy-response reward as a baseline (ablation)ReMax versus REINFORCE · OPT-1.3B fine-tuningevaluation rewardHelped

Surprising findings

Limitations

Experimental setup

Datasets: full-hh-rlhf ultrafeedback lmsys-chat-1m sharegpt-en

Benchmarks: AlpacaEval MT-Bench full-hh-rlhf evaluation reward

Metrics: win rate MT-Bench score evaluation reward GPU memory training time per epoch gradient norm

Baselines: PPO DPO SFT Llama-2-Chat Zephyr-7B-beta Mistral-7B-Instruct-v0.2 GPT-3.5-turbo GPT-4-turbo

Builds on: REINFORCE PPO REINFORCE with baseline DPO

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