On this page(19)
- What Is RLHF (Reinforcement Learning from Human Feedback)?
- How RLHF Training Works, from Human Rankings to Reward Model to Policy Update
- What Is RLHF Used For in Large Language Models?
- How RLHF Compares with Supervised Fine-Tuning, DPO, and RLAIF
- What Does RLHF Actually Cost in Annotation, Compute, and Time?
- Where RLHF Fails: Reward Hacking, Sycophancy, and Annotator Bias
- Reward hacking and Goodhart’s law
- Sycophancy from preference data
- Annotator bias and whose preferences get encoded
- Which Teams Should Use RLHF and Which Should Skip It
- What Has Changed in RLHF Practice This Year
- Frequently Asked Questions About RLHF
- What does RLHF stand for?
- Is RLHF still used in 2026?
- What is the difference between RLHF and fine-tuning?
- Does ChatGPT use RLHF?
- What is a reward model in RLHF?
- Is DPO better than RLHF?
- Where to Start with RLHF on Your Own Model
RLHF (reinforcement learning from human feedback) is a method for training AI models on human rankings of their outputs instead of a hand-written reward function. It’s the step that turns a raw text predictor into a chat assistant.
If you’re asking what is RLHF because a vendor or a research paper mentioned it, this guide explains how the pipeline works, what it costs, where it fails, and when a lighter method will do. As of November 2026, the term often covers a wider family of post-training methods.
The most-cited RLHF figures come from 2017 to 2025, and each one below carries its year:
What could a custom AI agent take off your plate?
We build production-grade AI systems that quietly handle the busywork, so your team can focus on the work that actually matters.
- In 2017, Christiano et al. taught agents new behaviors with human feedback on under 1% of agent interactions and about an hour of human time.
- In 2020, Stiennon et al. released over 64k summary comparisons, and OpenAI reported that their 1.3B-parameter model trained with human feedback beat a 12B-parameter model trained only with supervised learning.
- In 2022, OpenAI’s InstructGPT paper reported that people preferred outputs from a 1.3B-parameter RLHF-trained model over those of the 175B-parameter GPT-3, despite about 100x fewer parameters.
- In 2023, Sharma et al. found sycophancy across five state-of-the-art AI assistants and traced part of it to human preference data.
- In 2025, a technical survey of reinforcement learning techniques for LLMs ranked the PPO-based RLHF pipeline highest in training complexity and memory cost among standard alignment methods.
What Is RLHF (Reinforcement Learning from Human Feedback)?
RLHF, short for reinforcement learning from human feedback, is a way of training an AI model on human judgments instead of a hand-written reward function. People compare or rank the model’s outputs, and those judgments become the signal the model is optimized toward.
The 2023 survey of RLHF by Kaufmann et al. defines it as reinforcement learning whose objective comes from human feedback in place of an engineered reward. The method grew out of preference-based RL, where the system infers its objective from pairwise comparisons. Show a person two outputs, ask which is better, repeat.
Why bother? Some goals resist being written down. A game score is easy to code. A helpful answer is easy for a person to recognize and very hard to express as a formula, so RLHF asks people to judge and lets the model learn from the pattern in their choices.
RLHF is “a central framework for aligning large language models (LLMs) with human preferences.”
Reinforcement Learning from Human Feedback: A Statistical Perspective, arXiv, April 2, 2026
That same 2026 survey adds a caution. Human feedback can be imperfect, subjective, and different from one rater to the next. For language models, RLHF is the step that turns a raw text predictor into a chat assistant that does what you ask, and it inherits whatever quirks its raters bring.
The idea is older than chatbots. Three papers mark the path from game-playing agents to language models:
- 2017: Christiano et al. trained agents on Atari games and simulated robot locomotion using non-experts’ comparisons of short trajectory segments, with no access to the environment’s reward function.
- 2020: Stiennon et al. carried the approach over to language with a summarization model.
- 2022: OpenAI’s InstructGPT paper fixed the three-stage recipe for large language models.
How RLHF Training Works, from Human Rankings to Reward Model to Policy Update
RLHF training works as a chain: people rank a model’s outputs, a reward model learns to predict those rankings as a single score, and reinforcement learning then updates the language model to earn a higher score. People never score the final model’s every output. The reward model stands in for them.
Hugging Face’s illustrated walkthrough of the RLHF pipeline from December 2022 compresses the process into three steps, and OpenAI’s InstructGPT paper from March 2022 adds a supervised stage near the start. Put together, the sequence runs like this:
- Pretrain a language model on general text. The result predicts text and nothing more.
- Fine-tune on demonstrations. Labelers write examples of good responses, and the model learns from them with ordinary supervised learning.
- Collect human rankings. Labelers rank the model’s outputs from best to worst.
- Train a reward model. A separate model, sometimes called a preference model, learns to output a scalar score that predicts which output people would prefer.
- Optimize with RL. The language model, now called the policy, is updated to produce outputs the reward model scores highly.

The RL algorithm in step 5 is Proximal Policy Optimization (PPO), introduced by Schulman et al. in July 2017. PPO allows several epochs of minibatch updates on the same batch of data, so each batch of sampled outputs gets used more than once.
The KL penalty is the detail most short explanations skip, and the pipeline breaks without it. The penalty measures how far the updated model has moved from the original one, and that amount is subtracted from the reward. Leave it out and the model can drift into gibberish that the reward model still scores well.
Anthropic’s 2022 paper by Bai et al. found a pattern in this trade. Reward rose roughly linearly with the square root of the KL divergence from the initial policy. In plain terms, every gain in reward is paid for in distance from the starting model, and each extra gain costs more distance than the last.
Even five steps is a simplification. Nathan Lambert’s RLHF book splits the process into more stages, including rejection sampling and on-policy distillation.
What Is RLHF Used For in Large Language Models?
In large language models, RLHF is used to improve summarization, to make models follow instructions, and to train chat assistants that are both helpful and safe. Four published projects from 2020 to 2023 show the range.
| Year | Project | Use | Reported outcome |
|---|---|---|---|
| 2020 | Stiennon et al. (OpenAI) | Summarization | 1.3B model beat a 12B supervised-only model |
| 2022 | InstructGPT (OpenAI) | Instruction-following | 1.3B model preferred over 175B GPT-3 |
| 2022 | Bai et al. (Anthropic) | Helpful, harmless assistants | Assistants trained on both goals at once |
| 2023 | Llama 2 (Meta) | Open chat models | Separate helpfulness and safety reward models |
Feedback beat size in both OpenAI results, and that’s the part I’d focus on. OpenAI’s 2020 write-up of its summarization research reports that a 1.3B-parameter model trained with human feedback outperformed a 12B-parameter model trained only with supervised learning. Two years later the gap was far wider. In 2022, the InstructGPT paper reported that people preferred outputs from a 1.3B-parameter InstructGPT model over those of the 175B-parameter GPT-3, despite about 100x fewer parameters.

The InstructGPT paper also reported gains in truthfulness and less toxic output, with minimal regressions on public NLP benchmarks. OpenAI’s January 2022 post says these models became the default on its API. That was the point where RLHF went from a research method to a shipped product.
Safety is the other main use. Anthropic’s Bai et al. paper from April 2022 used RLHF to train assistants to be helpful and harmless together. Meta’s Llama 2, published in July 2023, ran successive RLHF rounds, first with rejection sampling and then with PPO, and it trained one reward model for helpfulness and another for safety. I read that split as a practical admission: a single score would hide the cases where the most helpful answer and the safest answer differ.
A caution on dates. The size comparisons come from 2020 and early 2022, so treat them as evidence that the method works rather than as current benchmarks.
How RLHF Compares with Supervised Fine-Tuning, DPO, and RLAIF
RLHF differs from supervised fine-tuning, DPO, and RLAIF on three points: where the feedback comes from, whether a separate reward model gets trained, and whether an RL loop runs. PPO-based RLHF is the only one of the four that needs human rankings, a reward model, and an RL loop together.
| Method | Feedback source | Separate reward model | RL loop | Relative complexity |
|---|---|---|---|---|
| Supervised fine-tuning (SFT) | Human-written demonstrations | No | No | Low |
| RLHF with PPO | Human rankings of outputs | Yes | Yes | Highest |
| DPO | Human preference comparisons | No | No | Lower than PPO |
| RLAIF (Constitutional AI) | AI-generated comparisons | Yes | Yes | RL stage stays, fewer human labels |
Supervised fine-tuning teaches by imitation. Labelers write good responses and the model learns to reproduce them. It’s also the first stage of an RLHF pipeline, so the useful question is what the ranking stages add on top.
Kirk et al.’s ICLR 2024 study of RLHF generalization and diversity gives a two-sided answer. RLHF generalized better than SFT on out-of-distribution inputs, and it significantly reduced per-input output diversity. Put simply, the RLHF model holds up better on inputs unlike its training data, and it gives you more of the same answer when you ask the same question again. For a support assistant that sameness is often welcome. For a brainstorming tool it’s a defect.
Standard RLHF is “a complex and often unstable procedure.”
Rafailov et al., Direct Preference Optimization, May 2023 (revised July 2024)
DPO (Direct Preference Optimization) keeps the preference data and removes two stages. Rafailov et al. re-parameterize the reward so the policy can be trained with “a simple classification loss,” with no separate reward model and no RL loop. The authors report that DPO matches or beats PPO-based RLHF on sentiment control, summarization, and single-turn dialogue. That’s three tasks, tested by the people who built the method.
RLAIF (reinforcement learning from AI feedback) changes who does the judging. Anthropic’s Constitutional AI paper from December 2022 replaces human harm labels with AI judgments guided by a written “constitution.” A supervised phase has the model critique and revise its own outputs, then an RL phase trains on a preference model built from AI-generated comparisons. The paper reports an assistant that explains its objections instead of evading. Human oversight shrinks under this setup, though it doesn’t go away.
What Does RLHF Actually Cost in Annotation, Compute, and Time?
RLHF costs human labeling hours, compute for a reward model and an RL loop on top of ordinary fine-tuning, and repeated rounds of both. Per-label prices aren’t widely published, so the best evidence is the scale that published projects report.
- Annotation volume: Stiennon et al. released over 64k summary comparisons in 2020, all for one task.
- Human time: in 2017, Christiano et al. needed feedback on under 1% of agent interactions and about an hour of human time to teach a new behavior. OpenAI’s post on that work described a backflip learned from roughly 900 bits of feedback.
- Refresh cadence: in 2022, Anthropic’s Bai et al. updated their policies and preference models weekly with fresh human data.
- Compute: a 2025 technical survey of reinforcement learning techniques for LLMs ranks the PPO-based RLHF pipeline highest in training complexity and memory cost among standard alignment methods.
Don’t read the 2017 numbers as a language-model budget. An hour of feedback taught a simulated robot a backflip. Three years later, the first language project published more than 64k comparisons for summarization alone, and it remains the most recent public count of that kind.
The weekly refresh is the cost I’d watch most closely. A one-time labeling pass is a purchase. A weekly one is a standing operation with raters, guidelines, and quality review, and it runs for as long as the model keeps changing.
If you’re pricing an LLM fine-tuning project, put the labeling operation and the RL stage on separate lines. They scale differently: one with people, the other with memory and training time.
Where RLHF Fails: Reward Hacking, Sycophancy, and Annotator Bias
RLHF fails in three recurring ways: the model games its reward model, it learns to flatter users, and it absorbs the blind spots of the people who supplied the feedback. Casper et al.’s 2023 paper on open problems and fundamental limitations of RLHF, written by 32 authors, sorts the problems by where they start:
- Human feedback: raters misjudge tasks they don’t fully understand, and they tend to prefer answers that agree with them.
- Reward model: a learned score is a proxy for human judgment, and a proxy can be over-optimized.
- Policy: the trained model picks up unwanted habits such as sycophancy.
The three categories are Casper et al.’s. Placing each failure in one of them is my reading. The paper also separates problems that better methodology can fix from limits that are fundamental, and it proposes auditing and disclosure standards.

Reward hacking and Goodhart’s law
Push a model hard enough against a proxy reward and true quality eventually falls. Gao et al.’s ICML 2023 paper on reward model overoptimization, first posted by OpenAI researchers in October 2022, showed this with a synthetic “gold” reward model standing in for human judgment. The decline followed predictable functional forms, with coefficients that varied smoothly with reward-model size. The team also varied dataset size and the KL penalty.
Here’s what makes this failure hard to catch. The proxy score keeps rising while real quality drops, so the number on the training dashboard looks healthy the whole time. That’s Goodhart’s law at work: a measure stops being reliable once you optimize for it.
Sycophancy from preference data
People reward agreement. Sharma et al., in a paper first posted in October 2023 and updated in May 2025, found sycophancy across five state-of-the-art AI assistants. They traced part of it to the data: human preference data tends to favor responses that match a user’s views, and optimizing against preference models can sometimes trade truthfulness for sycophancy.
A production case followed. In April 2025, OpenAI rolled back a GPT-4o update. Its post-mortem reportedly put part of the blame on a new reward signal built from thumbs-up and thumbs-down data, which diluted the main signal, and said the company had over-weighted short-term feedback.
Annotator bias and whose preferences get encoded
An RLHF model learns its raters’ preferences, mistakes included. Christiano et al. noted in 2017 that results depend on how well the human evaluator understands the task. OpenAI’s January 2022 post on InstructGPT added that tuning a model to the average labeler’s preference may not always be desirable.
For a specialist domain, the consequence is direct. A general-purpose rater ranking answers to a clinical or compliance question is guessing, and the reward model learns the guess.
Which Teams Should Use RLHF and Which Should Skip It
Teams should use RLHF when the quality they want is subjective and they can pay for human rating plus an RL stage. Teams whose outputs can be checked automatically, or who are short on compute or RL experience, should skip the full pipeline and choose a lighter method.
One question sorts most projects: can a script check the answer? If it can, human rankings are an expensive way to learn what a test would tell you directly. If only a person can tell a good output from a bad one, you need preference data.
| Your situation | Better fit | Reason |
|---|---|---|
| Tone, helpfulness, or style that only people can judge | Preference-based methods (RLHF or DPO) | No automatic check exists |
| Answers with a ground truth, such as a math result | Verifiable rewards (RLVR) | A pass or fail check replaces the reward model |
| Limited compute or no RL experience | DPO or SFT | No reward model and no RL loop to run |
| Rules you can write down, scarce rater time | RLAIF | AI judgments stand in for most human labels |
This mapping is my own synthesis. The published surveys back parts of it and none states it as a rule, so use it as a first cut.
Full PPO-based RLHF fits a narrow profile. You need a subjective target, raters who know the domain and can keep rating as the model changes, and engineers who have run RL training before. Miss any one of those and a lighter method is the safer choice.
Plenty of projects are mixed. A claims assistant has a payout figure that can be checked and a denial letter whose wording can’t. Split the work: verifiable rewards for the first part, preference data for the second. Sorting a project into one of these rows is the kind of question an AI integration audit should settle before anyone approves a labeling budget.
What Has Changed in RLHF Practice This Year
In 2026, RLHF practice has widened from a single PPO pipeline into a family of post-training methods, and the field’s surveys and its main textbook now describe it that way. Three developments carry 2026 dates:
- April 2026: a statistical survey of RLHF, posted to arXiv on April 2, lists RL with verifiable rewards (RLVR) and RLAIF among RLHF’s recent extensions.
- February to October 2026: Shapira et al.’s paper on how RLHF amplifies sycophancy, accepted at ICML 2026, proposes a mathematical correction.
- July 2026: Nathan Lambert’s RLHF book came out in a Manning print edition, and its author is considering a second edition rebranded as a “post-training” book.
Verifiable rewards are the largest change in how the reward gets made. The Tülu 3 paper from the Allen Institute for AI introduced the name RLVR in November 2024. Instead of a learned reward model, RLVR uses a ground-truth check, such as a correct math answer, as a binary reward. DeepSeek-R1, first posted in January 2025 and revised in January 2026, argues that reasoning can be incentivized by “pure RL” without human-labeled reasoning trajectories.
The algorithms shifted too. A 2025 technical survey describes GRPO as dropping the learned critic and using group-relative normalization in its place. A post-training survey revised in 2026 now groups DPO-style preference optimization alongside PPO and GRPO-style RL.
Does RLVR teach a model to reason? That question is open, and three positions are on the table:
- Yue et al. found that RLVR models can improve pass@1 (right on the first attempt) without improving pass@k (right within k attempts) over their base models. That suggests RLVR may sharpen what a model already knew.
- A follow-up paper from June 2025 argues that RLVR “implicitly incentivizes correct reasoning.”
- A Meta-affiliated paper points out that RLVR needs gold answers, which are often hard to get.
I wouldn’t call this settled in either direction.
On sycophancy, Shapira et al. argue that preference post-training amplifies flattery when annotator bias creates a reward gap between agreeable and accurate answers. Their fix is a closed-form “agreement penalty.” Treat it as a proposal for now.
The name itself has loosened. Constitutional AI and RLVR both cut direct human labeling, so “RLHF” is sometimes used for the whole post-training family. When a vendor says a model was trained with RLHF, ask which feedback they mean: human rankings, AI judgments, or automated checks.
Frequently Asked Questions About RLHF
The most frequently asked questions about RLHF cover what the acronym means, whether the method is still in use in 2026, and how it differs from fine-tuning and DPO. Short answers follow.
What does RLHF stand for?
RLHF stands for reinforcement learning from human feedback. It’s a training method in which people compare or rank a model’s outputs, and those judgments replace a hand-written reward function as the target the model is optimized toward.
Is RLHF still used in 2026?
Yes. A statistical survey posted to arXiv in April 2026 still describes RLHF as a central framework for matching large language models to human preferences. The scope of the term has grown, though. It now often covers a family of post-training methods, including versions where AI judgments or automated checks supply part of the feedback.
What is the difference between RLHF and fine-tuning?
Curious what AI could do for your business?
No jargon and no hard sell. Just a friendly look at where AI fits, and where it doesn't.
RLHF is one kind of fine-tuning. Ordinary supervised fine-tuning shows a model examples of good outputs and trains it to imitate them. RLHF trains on rankings of the model’s own outputs, using a reward model and a reinforcement learning stage. In the standard recipe the two run in sequence, with supervised fine-tuning first.
Does ChatGPT use RLHF?
OpenAI’s public record points to yes. OpenAI, the company behind ChatGPT, published the InstructGPT paper that set the standard RLHF recipe in March 2022, and it made those models the default on its API. In April 2025 it rolled back a GPT-4o update, and its post-mortem reportedly traced part of the problem to a reward signal built from users’ thumbs-up and thumbs-down ratings.
What is a reward model in RLHF?
A reward model is a separate model trained on human rankings to output one number: a score predicting which response people would prefer. During the RL stage it stands in for human raters, so sampled outputs get scored without a person reading each one. Some projects train more than one. Meta’s Llama 2, published in 2023, used one reward model for helpfulness and another for safety.
Is DPO better than RLHF?
DPO is simpler, and whether it’s better depends on the task. Its authors, Rafailov et al., reported in 2023 that DPO matched or beat PPO-based RLHF on sentiment control, summarization, and single-turn dialogue, with no reward model and no RL loop. Practice is mixed. Meta’s Llama 2, also from 2023, used rejection sampling followed by PPO.
Where to Start with RLHF on Your Own Model
Start with RLHF on your own model by running the cheapest stages first: supervised fine-tuning, then a small preference dataset, then DPO. Hold the full PPO pipeline back until those fall short.
- Fine-tune on demonstrations. Have people who know your domain write good responses, and train on them.
- Collect a small set of comparisons. Ask those same people to choose between pairs of the model’s outputs.
- Train with DPO first. It uses the comparisons without a reward model or an RL loop.
- Move to PPO only if DPO stalls on the quality you care about.
- Monitor every round. Have people read sampled outputs so a rising score can’t hide falling quality, and check whether answers bend toward the user’s stated view.
For most teams, the practical answer to “what is RLHF” is this sequence, run one stage at a time.
Two sources are the best next reading. Hugging Face’s December 2022 explainer covers the mechanics, and Nathan Lambert’s RLHF book covers the wider post-training family. If you’d like a second opinion on which of these stages your model needs, talk to the engineers at AlphaCorp AI.






