InstructGPT: Training Language Models to Follow Instructions with Human Feedback
An AI-generated review of InstructGPT, the paper that introduced instruction fine-tuning with human feedback (RLHF) and defined how aligned LLMs are built.
Primary source: Training Language Models to Follow Instructions with Human Feedback (arXiv:2203.02155)
GPT-3 could do impressive things in-context, but it was also unhelpful, untruthful, and prone to repeating harmful language — it was a next-token predictor, not an assistant. OpenAI's InstructGPT paper showed how to fix that without inventing new model capabilities: fine-tune a pre-trained GPT-3 with human preferences, using a three-stage pipeline of supervised fine-tuning, reward modeling, and reinforcement learning. The resulting models were preferred over GPT-3 by human raters, more truthful, less toxic — and the approach, now known as RLHF, became the standard recipe for building every major chatbot.
The core idea
Align the model with human intent through human feedback, in three stages:
- Supervised fine-tuning (SFT): collect a small set of human-written demonstration responses to prompts and fine-tune GPT-3 on them, so the model produces plausible assistant-style answers.
- Reward model (RM): collect pairs of model outputs for the same prompt, have humans rank them, and train a reward model to predict which output humans prefer.
- Reinforcement learning (PPO): optimize the SFT model's policy against the reward model, with a KL penalty to keep the policy from drifting too far from the SFT model.
The result: a model optimized for being helpful, honest, and harmless — the three H's the paper operationalizes — rather than for raw text probability.
How it works
- Data: a labeler-written prompt dataset with demonstrations and ranked outputs; prompts cover open-ended generation, brainstorming, QA, and classification. The paper is transparent about using labelers and about the distribution of prompt types.
- Models: InstructGPT variants of GPT-3 sizes (1.3B to 175B). The 1.3B InstructGPT model was preferred over the 175B GPT-3 by human raters — alignment beats scale for usefulness.
- Evaluation: human preference ratings, plus automatic metrics: truthfulness (TruthfulQA-style), toxicity (RealToxicityPrompts), and helpfulness on held-out prompts.
- Results: raters preferred InstructGPT outputs ~85% of the time over GPT-3; truthfulness improved (though models still hallucinate), toxicity reduced, and performance on public NLP benchmarks degraded only slightly.
Why it matters
- RLHF became the industry standard. Every major chatbot (ChatGPT, Claude, Gemini, and open models like Llama-2-chat) uses this pipeline or its variants — it is the defining method of the aligned-LLM era.
- Helpfulness over raw capability. The paper showed that a smaller, well-aligned model beats a larger unaligned one in practice — reframing the field's goals around user value.
- A methodology template. The three-stage recipe, the KL-regularized PPO objective, and the human-preference reward model are reused, adapted (DPO, RLAIF), and studied across the industry.
- Honest reporting of limits. The paper explicitly documents residual hallucination, prompt-distribution dependence, and the subjectivity of "good" answers — a rare level of candor that shaped safety research.
Limitations and open questions
RLHF has well-documented problems: reward hacking (the policy finds ways to score well that humans wouldn't endorse), distribution shift between reward-model training and deployment, and the cost and subjectivity of human labels. The paper's alignment is narrow — it aligns with labeler preferences, which may not match the general population, and it does not solve deeper safety issues like deception or goal misgeneralization. The KL penalty constrains but doesn't eliminate drift, and instruction-following models still hallucinate confidently.
Key takeaways
- InstructGPT = SFT → reward model → PPO, aligning a pre-trained LLM with human preferences.
- A 1.3B aligned model beat a 175B unaligned one in human preference — alignment beats scale.
- RLHF became the universal recipe for building assistants (ChatGPT and most open models).
- Reward hacking, labeler bias, and residual hallucination remain open problems.
Want the next review in your inbox? The briefing collects them — at most one email a week. Read signup data and removal options.
Cite this report
@misc{knowyourml-instructgpt-aligning-language-instructions
title = {InstructGPT: Training Language Models to Follow Instructions with Human Feedback},
author = {{Know Your ML}},
year = {2022},
howpublished = {\url{https://knowyourml.yunusemrevurgun.com/report.php?slug=instructgpt-aligning-language-instructions}},
note = {AI-generated review of arXiv:2203.02155. Primary sources are listed on the page.}
}
Machine Learning Decision Toolkit
Turn this review into a decision: the Machine Learning Decision Toolkit packages the evaluation scorecards, workload templates and deployment checks behind model, provider and architecture choices.
References
- Training Language Models to Follow Instructions with Human Feedback (arXiv:2203.02155) — https://arxiv.org/abs/2203.02155
Part of
Beyond the paper
How to Remain Valuable When Intelligence Becomes Cheap
This report covered one more way the machine gets smarter. The companion eBook asks the question on the other side: which human advantages stay scarce — and valuable — when intelligence itself is cheap?