atlas

Research map / Large language models / Instruction and fine-tuning

Understanding the Effects of RLHF on LLM Generalisation and Diversity

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 14 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.

Analyses how SFT, best-of-N, and RLHF (PPO) affect OOD generalisation and output diversity for LLaMa-7B on summarisation and instruction following, finding RLHF generalises better but yields substantially less output diversity than SFT.

Problem

Understanding how each stage of the RLHF pipeline (SFT, reward modelling, RL) affects out-of-distribution generalisation and output diversity of LLMs, which has been underexplored.

Approach

Systematically compares SFT, best-of-N, and RLHF policies on ID vs OOD test sets (TL;DR to CNN/DailyMail; AlpacaEval and Sequential Instructions) using GPT-4 simulated preferences and multiple diversity metrics (EAD, Sentence-BERT, NLI) measured per-input and across-input.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RLHF instead of SFTLLaMa 7B summarisation · TL;DR and CNN/DailyMailpreference vs reference (PvR)Helped
Use Bo16 instead of SFTLLaMa 7B summarisation · TL;DR and CNN/DailyMailpreference vs reference (PvR)Helped
Use RLHF instead of SFTLLaMa 7B instruction following · AlpacaFarm Self-Instruct, AlpacaEval, and Sequential Instructionspreference vs reference (PvR)Helped
Use RLHF instead of SFTLLaMa 7B instruction following · Sequential Instructionsgeneralisation gapHelped
Use RLHF instead of SFTLLaMa 7B instruction following · AlpacaEvalhead-to-head winrate change from ID to OOD: approximately 3.5%Helped
Use Bo16 instead of SFTLLaMa 7B instruction following · AlpacaEvalhead-to-head winrate change from ID to OOD: approximately 3.5%Helped
Use RLHF instead of SFTLLaMa 7B summarisation · Per-input output diversityEAD and Sentence-BERT diversityHurt
Use RLHF instead of SFTLLaMa 7B summarisation · Across-input output diversityEAD and Sentence-BERT diversityHurt
Use RLHF instead of SFTLLaMa 7B summarisation · Per-input and across-input output diversityNLI diversityNo clear effect
Increase the KL penalty coefficient (ablation)RLHF summarisation policy · TL;DR and CNN/DailyMailGPT-4 preference vs referenceHurt
Increase the KL penalty coefficient (ablation)RLHF summarisation policy · Summarisation per-input diversityper-input diversityHurt
Use Bo16 temperature 1 instead of temperature 0.7 (ablation)Bo16 summarisation · TL;DR and CNN/DailyMailGPT-4 win rate vs referenceHurt

Surprising findings

Limitations

Experimental setup

Datasets: TL;DR CNN/DailyMail AlpacaFarm Self-Instruct AlpacaEval

Benchmarks: TL;DR CNN/DailyMail AlpacaEval Sequential Instructions AlpacaFarm Self-Instruct

Metrics: GPT-4 win rate vs reference generalisation gap head-to-head win rate expectation-adjusted distinct n-grams Sentence-BERT cosine similarity NLI diversity

Baselines: SFT Best-of-N (N=16)

Builds on: PPO Stiennon et al. 2020 RLHF summarisation AlpacaFarm Self-Instruct

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