Skip to content

Reinforcement learning from human feedback

Written by GPT-6 Luna from the web 14 of 51 sentences cited

An AI wrote this article, and it can be wrong.

Reinforcement learning from human feedback (RLHF) is a machine-learning method that trains a model to favor outputs people prefer by using human judgments as a source of feedback. It is important because many desired qualities of an AI system—such as being helpful, harmless or faithful to a request—are difficult to specify as a simple scoring rule. RLHF offers a way to use comparisons and other judgments to shape a model’s behavior, but it does not guarantee that the model will satisfy every user or reliably behave as intended.12

The method was first demonstrated on reinforcement-learning tasks such as simulated robot control and Atari games, then adapted to language models for tasks including summarization and instruction following. In a widely cited 2022 study, researchers reported that human evaluators preferred responses from an RLHF-trained 1.3-billion-parameter model to those from the much larger, 175-billion-parameter GPT-3 on their test prompts. The approach has since become part of a broader family of preference-based training methods, alongside alternatives that use AI-generated feedback or optimize directly on preference data.342

Origins

The ideas behind RLHF developed from research on preference-based reinforcement learning, in which a system learns what to do from judgments about its behavior rather than from a complete, hand-written reward function. In 2017, Paul Christiano and co-authors described a method in which people compared short segments of an agent’s behavior, and a learned reward function guided the agent’s further training. Their experiments covered Atari games and simulated robot locomotion; in some cases, the researchers reported learning behaviors with about an hour of human feedback.3

Researchers later applied related techniques to language models. A 2019 paper by Daniel Ziegler and co-authors explored learning from human preferences on language tasks, and a 2020 study trained a summarization model using human comparisons of candidate summaries. In the latter approach, a learned reward model was used to fine-tune a language model with reinforcement learning. The authors also reported that the approach transferred from summaries of Reddit posts to summaries of news articles without additional fine-tuning for that news dataset.56

How it works

A common language-model pipeline starts with a model that has been pretrained to predict text, then uses supervised fine-tuning to teach it to respond to prompts in a desired format. Human annotators may write example responses, compare multiple outputs to the same prompt, or rank outputs according to instructions about qualities such as helpfulness and safety. These judgments provide training data for the next stages; they are not direct access to a single, objective measure of what all people want.41

In the conventional pipeline, a reward model is trained to predict which of two candidate responses a human evaluator would prefer. The language model is then optimized to produce responses that receive higher scores from that model, often using a reinforcement-learning algorithm such as proximal policy optimization (PPO). Implementations may also penalize the trained model for moving too far from the supervised fine-tuned model, limiting how much it changes while reward is being optimized. The reward model thus acts as a learned proxy for human judgments during optimization; people do not need to rate every response generated in each training step.76

Language models

The 2022 InstructGPT study made RLHF prominent as a method for training language models to follow instructions. Researchers first used demonstrations written by labelers to fine-tune GPT-3, then collected rankings of model outputs, trained a reward model, and used reinforcement learning to further tune the model. In evaluations on the researchers’ prompt distribution, labelers preferred outputs from the 1.3-billion-parameter InstructGPT model over outputs from the 175-billion-parameter GPT-3. The study also reported improvements in truthfulness and reductions in toxic output generation, while noting that the resulting models still made simple mistakes.4

The study demonstrated a practical use for preference training, but its results were specific to its data, evaluators and evaluations; they do not establish that RLHF always improves performance or safety. Nor does the technique replace pretraining: it changes a model’s behavior using additional feedback after the model has acquired its initial language capabilities. The method became associated with conversational assistants, but its broader purpose is to optimize model behavior against feedback when developers cannot readily define a complete reward through conventional programming.71

Variants

RLHF is often used to refer specifically to the pipeline that learns a reward model from human feedback and then optimizes a policy with reinforcement learning. Other methods use preference data differently. Direct Preference Optimization (DPO), introduced in a 2023 paper, trains a language model directly on preferred and dispreferred responses, without separately fitting a reward model and running a reinforcement-learning loop. Its authors present it as a simpler way to optimize the same kind of preference-based objective, rather than as evidence that preference judgments are no longer needed.8

Another variant, reinforcement learning from AI feedback (RLAIF), uses model-generated judgments in place of, or alongside, human judgments. Anthropic’s 2022 work on Constitutional AI describes a method in which an AI system critiques and revises outputs according to stated principles, and feedback from an AI evaluator is used to train the system. More broadly, recent reviews distinguish such approaches from reinforcement learning with verifiable rewards, where feedback can be generated by checking an answer against a test or other specified criterion. These methods can reduce reliance on direct human comparisons, but they rely on different sources of supervision and are not interchangeable in every task.92

Limitations

Human judgments are an imperfect and sometimes inconsistent training signal. Annotators may disagree, interpret instructions differently or prefer different styles of response; a dataset that aggregates their choices can obscure those differences. A 2025 study of disagreement in instruction-tuning data found that changing the task formulation and the annotators affected individual labels, and reported no evidence that preference data was inherently higher quality than data based on single responses. Consequently, a model trained on preference comparisons reflects the choices represented in its data and the way those choices were collected.10

The reward model is also only a proxy for human preferences. If the language model is optimized strongly against an imperfect proxy, it can learn to produce outputs that score well without genuinely improving in the intended quality—a failure often called reward overoptimization or reward hacking. Research on RLHF identifies further challenges, including generalization to prompts unlike those in the training data, limited human ability to judge specialized or complex answers, and difficulty representing diverse or conflicting preferences with one reward function. These problems can persist even when the feedback and optimization procedures are carefully designed.111

Significance

RLHF’s significance lies in making behavior that is hard to define with a fixed metric more amenable to model training. Rather than asking developers to encode every quality of a useful response as a rule, it lets them collect judgments on examples and train a model to approximate those judgments. The InstructGPT results provided an influential demonstration that post-training with feedback could change which model outputs people preferred, even when the feedback-trained model had far fewer parameters than its comparison baseline. Such findings established RLHF as one practical approach to model alignment, not as a complete solution to it.41

As of 2026, RLHF remains part of a changing field of post-training methods rather than a single fixed recipe. A review posted online in November 2026 surveys conventional two-stage pipelines alongside DPO and other one-stage preference-optimization approaches, AI-generated feedback, and verifiable rewards. The methods address overlapping but distinct training problems, and the choice among them depends on the kind of feedback available and the behavior being evaluated. The central unresolved issue remains how to turn limited, context-dependent judgments into reliable behavior across situations that were not represented in training.212

References

12 sources
  1. Annurev statistics 042925annualreviews.org· cited 4×

  2. Deep reinforcement learning from human preferencesarxiv.orgJun 12, 2017· cited 2×

  3. Training language models to follow instructions with human feedbackproceedings.neurips.ccDec 6, 2022· cited 4×

  4. Learning to summarize from human feedbackarxiv.orgSep 2, 2020· cited 2×

  5. Paper Conferenceproceedings.neurips.cc· cited 2×