Training language models to follow instructions with human feedback

arXiv:2203.02155 · PDF · 68 pp. · its place among the papers

One paper, several tellings. The big picture states the paper’s own thesis and contributions in its own terms; Inside the paper follows the paper’s own arc; Across the corpus traces how it connects to the other papers; The concepts lists everything the paper uses, in reading order. Pick a tab, then use the +/− toggles to open it level by level, or set a granularity to read the whole thing at that zoom.

By 2022 the largest language models could do remarkable things, yet still fabricated facts, produced toxic text, and ignored what users asked. InstructGPT locates the fault not in insufficient scale but in the training objective itself: predicting the next token of internet text is not the same task as following a person's instructions.

The argument runs from that diagnosis through a three-step remedy to a pointed headline: human evaluators prefer a 1.3-billion-parameter model trained this way over the 175-billion-parameter original. The closing chapters weigh what the paper itself weighs — the measured costs of the method, the failures that remain, and whose preferences the new objective actually encodes.

Read at

InstructGPT's argument: the objective was wrong, and feedback beats scale (5 chapters)

The paper's thesis has two halves. Diagnostic: large language models misbehave because their objective — next-token prediction — is misaligned with what users want, so scale alone cannot fix them. Constructive: fine-tuning on human feedback realigns the objective, and does so with striking economy — a 1.3B model trained this way is preferred by people to the 175B GPT-3. The evidence is win rates on real user prompts, truthfulness and toxicity benchmarks, and generalization to labelers who contributed no training data; the accounting includes an alignment tax, residual failures, and an unusually explicit answer to the question of who defined the target.

Chapter 1The diagnosis: the objective is wrong (3 concepts)

The paper argues that GPT-3's misbehavior is not a symptom of insufficient scale but of a misaligned objective: predicting the next token of internet text rewards continuing text, not doing what the user intended. 'Aligned' is given an operational definition borrowed from Askell et al. — helpful, honest, harmless — and following instructions is treated as a training objective in its own right, something to be optimized directly rather than coaxed out with clever prompts.

The misaligned objective concept (1 connection)

Next-token prediction on internet text is the paper's named culprit: a pretraining objective different from — and misaligned with — helpfully and safely following instructions.

connections
The objective it should have concept (4 connections)

Carrying out natural-language instructions across an open-ended range of tasks, trained and measured directly on what real users asked for.

connections
What 'aligned' means here concept (2 connections)

Helpful, honest, harmless — adopted from prior work and made empirical, with honesty deliberately operationalized as measurable truthfulness.

connections
Chapter 2The remedy: three steps of human feedback (4 concepts)

The construction is a pipeline: demonstrate, compare, optimize. Labelers write demonstrations of good behavior and a pretrained model is fine-tuned on them; labelers then rank model outputs and a reward model learns to predict their preferences; finally the policy is optimized against that reward model. The consequential choice is the training distribution — prompts submitted by real API users rather than a fixed compilation of NLP tasks — which is what lets the paper claim alignment to user intent rather than to a benchmark.

The inherited technique concept (6 connections)

RLHF — a learned model of human preferences used as the reward for RL — applied here to the open-ended distribution of things people actually ask a language model to do.

connections
Step one: demonstrations concept (3 connections)

A GPT-3 model fine-tuned on labeler-written demonstrations — both a baseline in its own right and the initialization everything else builds on.

connections
Step two: comparisons concept (11 connections)

A model trained on labeler rankings to predict which output a human would prefer — the cheap, dense stand-in for human judgment that step three optimizes.

connections
Step three: optimization concept (3 connections)

PPO fine-tunes the policy to maximize the reward model's score, with a per-token KL penalty holding it near the supervised model.

connections
Chapter 3The evidence: preferred, more truthful, and not just by its own judges (4 concepts)

Nearly every headline claim is denominated in win rate — how often labelers prefer one model's output over a fixed baseline on matched prompts — and the headline itself is the 1.3B-beats-175B comparison: alignment fine-tuning buys more human preference than a hundredfold increase in parameters. Around that sit the checks: held-out labelers who contributed no training data agree, truthfulness improves on TruthfulQA, toxicity drops on RealToxicityPrompts, and comparisons against FLAN, T0, and prompted GPT-3 argue that real user instructions are a different — and harder — target than NLP task compilations.

The currency of the claims concept (4 connections)

The primary human-evaluation metric: the fraction of matched-prompt contests a model wins against the 175B SFT baseline in labelers' judgment.

connections
  • Elo Score (helpfulness/harmlessness) — generalizesWin rate (preference against baseline) hindsight
  • F1 score (span-overlap QA metric) — diverges under rlhf fromWin rate (preference against baseline)
  • Inter-labeler agreement rate — caps the resolution ofWin rate (preference against baseline)
  • Likert overall-quality rating — corroboratesWin rate (preference against baseline)
Judges who didn't train it concept (1 connection)

Labelers who contributed no training data prefer InstructGPT at similar rates — the paper's answer to the worry that the model merely learned forty people's tastes.

connections
Truthfulness, benchmarked concept (1 connection)

On a benchmark built from questions people commonly get wrong, the fine-tuned models improve on GPT-3 — honesty made into a number.

connections
The rival recipe, outperformed concept (2 connections)

GPT-3 fine-tuned on the FLAN task compilation loses to InstructGPT on API prompts — evidence that instruction following, as users mean it, is not what NLP task suites teach.

connections
Chapter 4The price, paid and named (5 concepts)

The paper coins a name for its method's cost — the alignment tax, measurable regressions on public NLP benchmarks — and argues that keeping it low is itself a safety concern, since a technique that makes models worse will not be adopted. The mitigation, mixing pretraining gradients into the RL updates, pays most of the tax down. What it cannot pay down are the qualitative residues, from hallucination — halved but present — to failures the paper traces to its own training choices and to over-optimizing the reward model.

The alignment tax concept (3 connections)

Alignment fine-tuning degrades some public-benchmark performance as a side effect — named, measured, and treated as a bill that must be kept small.

connections
Paying it down concept (2 connections)

Mixing language-modeling gradients on the pretraining distribution into PPO updates recovers most of the regressions — the paper's default model is this variant.

connections
Hallucination, halved concept (4 connections)

Closed-domain fabrication drops from 41% of outputs to 21% — an improvement the paper declines to call a solution.

connections
Over-learned caution concept (5 connections)

Long, noncommittal answers to questions with a clear answer — plausibly the model learning the labeling instructions' reward for epistemic humility too well.

connections
Swallowed premises concept (1 connection)

Told to do something that assumes a falsehood, the model plays along rather than pushing back.

connections
Chapter 5Aligned to whom (3 concepts)

The paper's closing honesty is about the target itself. What the models are aligned to is not 'human values' but a documented process: the judgments of roughly forty screened contractors, applied to prompts from API users, under instructions the researchers wrote. The paper presents this specificity as both the method's strength — the target is auditable — and its open problem, since different labelers, users, and instructions would define a different alignment.

Forty screened judges concept (3 connections)

A four-criterion screening process selected the contractors whose preferences became the training signal — the alignment target has names and a hiring filter.

connections
Whose questions count concept (2 connections)

The training prompts come from early API users — so the distribution of tasks the model is aligned on is also a specific population's.

connections
How much judges agree concept (3 connections)

Labelers agree with each other roughly three times in four — measured, reported, and a quiet ceiling on how sharp any preference-based claim can be.

connections