Shaping the model: data and training
Learning from feedback (RLHF)
Score the model on human or AI preference judgements so its behaviour tracks what raters wanted.
Learning from feedback trains a model on people's judgements of its outputs, so that its behaviour moves toward what those people prefer. Its best-known form, reinforcement learning from human feedback (RLHF), is the standard way chat models are made helpful and less harmful today, so most deployed safety behaviour rests on it.
How it works
Raters see two or more answers to the same prompt and pick the better one. A second model, the reward model, learns to predict those choices. The language model then practises answering prompts, and reinforcement learning nudges it toward answers the reward model scores highly. A penalty keeps it from drifting too far from its starting behaviour.
OpenAI's InstructGPT (March 2022) is the classic example. Labelers first wrote example answers, then ranked model outputs, and the model was tuned on those rankings. On OpenAI's own prompt set, raters preferred answers from a 1.3-billion-parameter InstructGPT model to answers from the 175-billion-parameter GPT-3.
Newer variants skip parts of this pipeline. Direct Preference Optimization (DPO, May 2023) trains on the preference pairs directly, with no separate reward model or reinforcement-learning loop. Other variants replace human raters with an AI judge that follows written rules (see Constitutional AI).
Where research stands
The core idea goes back to a 2017 paper that trained agents on Atari games and simulated robots from human comparisons of short video clips, using feedback on less than 1% of the agent's interactions. The method has since matured into the central way state-of-the-art language models are fine-tuned, and open recipes now exist. In November 2024 the Allen Institute for AI released Tulu 3 with its full post-training data, code and evaluation tools, including preference tuning and reinforcement learning on checkable answers.
The model learns what raters approve of, which is not always what is true or good. Studies show models learn to agree with users (sycophancy) and to sound convincing when wrong. In April 2025 OpenAI rolled back a GPT-4o update that was overly flattering or agreeable; the company said the update had added a reward signal based on users' thumbs-up and thumbs-down feedback, and had focused too much on short-term feedback. Pushing hard against an imperfect reward model also lowers real quality, a pattern called reward-model overoptimisation. Critics argue that people cannot properly judge models more capable than themselves, so learning from feedback should be one part of a wider safety approach.
Key results
- Agents learned Atari games and simulated robot movement from human comparisons of short clips, needing feedback on less than 1% of their interactions. Paul Christiano, Jan Leike, Tom B. Brown, Miljan Martic, Shane Legg, Dario Amodei, 2017
- Raters preferred outputs from a 1.3-billion-parameter model tuned with human feedback over the 175-billion-parameter GPT-3, about 100 times larger. Long Ouyang et al. (OpenAI), 2022
- Optimising a policy hard against a learned reward model first raises and then lowers true quality, with a regular shape that depends on reward-model size. Leo Gao, John Schulman, Jacob Hilton, 2022
- Both humans and preference models sometimes prefer convincingly written sycophantic answers over correct ones, which pushes models trained on them toward telling users what they want to hear. Mrinank Sharma et al. (19 authors), 2023
- With time-limited human judges, RLHF made models more persuasive without making them more accurate, raising judges' false-positive rate by 24.1% on a reading task and 18.3% on a coding task. Jiaxin Wen, Ruiqi Zhong, Akbir Khan, Ethan Perez, Jacob Steinhardt, Minlie Huang, Samuel R. Bowman, He He, Shi Feng, 2024
- Direct Preference Optimization reaches the RLHF objective with a simple classification loss and matched or beat reinforcement-learning-based tuning in the authors' tests. Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn, 2023
Open problems
- Human raters cannot reliably judge outputs that are long, technical or beyond their own expertise, so the training signal weakens as models get stronger. source
- Reward models are imperfect proxies, and optimising against them too hard degrades real quality. source
- Feedback from raters can reward agreeable, flattering answers over correct ones, which pushes models toward sycophancy. source
- Whose preferences to collect, and how to combine disagreeing raters into one signal, remains unsettled. source
See all open problems in this group
Criticisms
- RLHF has fundamental limits, not just fixable flaws, so it should be one layer in a wider safety approach and its use should be disclosed and audited. Stephen Casper and 31 co-authors
- Training on human approval can teach a model to persuade its judges rather than to be right, which makes errors harder to catch. Jiaxin Wen, Ruiqi Zhong, Samuel R. Bowman, Shi Feng and co-authors
- OpenAI said its April 2025 GPT-4o update focused too much on short-term feedback, and that an added reward signal from users' thumbs-up and thumbs-down weakened the signal that had been holding sycophancy in check. OpenAI
Who works on it
- OpenAI: Built the InstructGPT recipe that made RLHF the standard for chat models. Training language models to follow instructions with human feedback (2022)
- Anthropic: Trained a helpful and harmless assistant with RLHF, updating its preference models and policies weekly with new human feedback. Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback (2022)
- Google DeepMind: Trained the Sparrow dialogue agent with RLHF and separate per-rule human judgements. Improving alignment of dialogue agents via targeted human judgements (2022)
- Allen Institute for AI (Ai2): Released Tulu 3, an open post-training recipe with preference tuning and reinforcement learning on checkable answers. Tülu 3 opens language model post-training up to more tasks and more people (2024)
- Stanford University: Researchers introduced Direct Preference Optimization, a simpler alternative to the RLHF pipeline. Direct Preference Optimization: Your Language Model is Secretly a Reward Model (2023)
Status
Crowded; the field's default method.
Start reading
- Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback, Stephen Casper et al. (2023). The standard map of what RLHF cannot do and how to complement it.
- Reinforcement Learning from Human Feedback (book), Nathan Lambert (2025). Free, practical guide to the full post-training recipe.
- AI Alignment: A Comprehensive Survey, Jiaming Ji, Tianyi Qiu et al. (2023). Places learning from feedback within the wider alignment field.
- Training language models to follow instructions with human feedback, Long Ouyang et al. (2022). The paper that set the modern recipe.
- Deep reinforcement learning from human preferences, Paul Christiano et al. (2017). The origin of the idea, before language models.
Related approaches
- Constitutional AI and rule-based rewards AI feedback replaces human labels
- Scalable oversight helping raters judge hard outputs
- Monitoring training runs for reward hacking catching reward hacking in training
- Process supervision rewarding steps, not answers
- Model specs and constitutions the spec raters judge against
In their own words
For sophisticated reinforcement learning (RL) systems to interact usefully with real-world environments, we need to communicate complex goals to these systems. In this work, we explore goals defined in terms of (non-expert) human preferences between pairs of trajectory segments.
Paul Christiano, Jan Leike, Tom B. Brown, Miljan Martic, Shane Legg, Dario Amodei, Deep reinforcement learning from human preferences, 2017
Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outputs, which we use to further fine-tune this supervised model using reinforcement learning from human feedback.
Long Ouyang et al. (OpenAI), Training language models to follow instructions with human feedback, 2022
Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).