Skip to content
Ask Sera Search
Ask SeraAnswers from our guides, research and news Search
Learn
Guides
Research
Sectors
Platforms
News
Tools
About

What is RLHF (reinforcement learning from human feedback)?

RLHF trains a language model on human rankings of its answers, through a reward model. OpenAI used it for ChatGPT, and Anthropic for Claude.

In short. RLHF, or reinforcement learning from human feedback, is a training method in which people rank a model's answers and the model learns to prefer the higher-ranked ones. A reward model learns the rankings, and reinforcement learning then moves the language model toward answers that score well. OpenAI trained ChatGPT with RLHF, and Anthropic says Claude was trained with it too.

On this page 7 sections

The evidence

  • Tested:

    The InstructGPT paper fine-tuned GPT-3 on labeler demonstrations and then with human feedback. Raters preferred outputs from the 1.3 billion parameter result, InstructGPT, to those of the 175 billion parameter GPT-3.1arXiv, Mar 4, 2022. Human evaluations on OpenAI's prompt distribution

  • Observed:

    A 2017 paper trained agents from human preferences between pairs of short clips of their behavior. People gave feedback on less than 1% of the agent's interactions with its environment.2arXiv, Jun 12, 2017. Atari games and simulated robot tasks

  • Confirmed:

    OpenAI trained ChatGPT with RLHF. It said ChatGPT was often too verbose, partly because trainers preferred longer answers that look more comprehensive.3OpenAI, Nov 30, 2022

  • Confirmed:

    Anthropic's glossary says Claude has been trained using RLHF to be a more helpful assistant.4Claude API documentation. Checked Dec 1, 2026

Confirmed by the platformTestedObserved in data

RLHF is the training step that turned text predictors into chat assistants such as ChatGPT. It teaches a model what a group of human raters preferred, so it shapes the length, tone and caution of the answers that AI search products write.

#How does RLHF work?

People compare answers, a reward model learns their preferences, and reinforcement learning trains the language model to match them. Anthropic's glossary describes the human feedback as rankings of two or more example texts. The reinforcement learning process then encourages the model to prefer outputs that are similar to the higher-ranked ones.4

OpenAI's post introducing ChatGPT gives the steps it used. AI trainers wrote example conversations for supervised fine-tuning. They then ranked several model answers to the same message. OpenAI trained reward models on these rankings and fine-tuned the model against them with Proximal Policy Optimization, over several rounds.3 How do RLHF and Constitutional AI differ? explains each stage and compares RLHF with Anthropic's method.

#Where did RLHF come from?

RLHF began in reinforcement learning research outside language. Deep reinforcement learning from human preferences, a 2017 paper, trained agents to play Atari games and control simulated robots from human choices between pairs of short clips. People gave feedback on less than 1% of the agent's interactions.2

Training language models to follow instructions with human feedback, published in March 2022, applied the method to GPT-3. The result was InstructGPT. In human evaluations, raters preferred the 1.3 billion parameter InstructGPT to the 175 billion parameter GPT-3, a model with 100 times more parameters.1

#Which models are trained with RLHF?

The major chat assistants use it. OpenAI trained ChatGPT with RLHF, using the same methods as InstructGPT.3 Anthropic's glossary says Claude has been trained using RLHF.4 Anthropic's 2022 paper, Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback, found that this training improved performance on almost all of the NLP evaluations it ran.5

#How does RLHF shape AI answers?

A model trained with RLHF learns the habits of its raters as well as their judgment. OpenAI said ChatGPT was often too verbose and overused certain phrases. It traced this partly to trainers who preferred longer answers that look more comprehensive, and partly to over-optimization against the reward model.3

RLHF does not give a model a source of truth. OpenAI said this made ChatGPT's plausible but wrong answers hard to fix.3 AI search products add retrieved pages to the prompt for current facts, as What is retrieval-augmented generation (RAG)? explains.

Read next

Used in

Related terms

Questions

What is the difference between RLHF and fine-tuning?

RLHF is one kind of fine-tuning. Supervised fine-tuning trains a model on example answers. RLHF trains it on rankings of its own answers, through a reward model, and InstructGPT used supervised fine-tuning first and RLHF second.

What is a reward model?

A reward model is a separate model that predicts how people would rank an answer. OpenAI trained ChatGPT's reward models on two or more model answers to the same message, ranked by quality. In reinforcement learning, the language model learns to raise the reward model's score.

Does RLHF make a model more accurate?

Only in part, according to OpenAI. InstructGPT showed improvements in truthfulness, but it still made simple mistakes. OpenAI said ChatGPT's plausible but wrong answers were hard to fix, because during RL training there is no source of truth.

About this page

Researched and reviewed by Promptly Found. Reviewed Dec 1, 2026. Next review due Mar 2027.

Notes

  1. 1
    Training language models to follow instructions with human feedbackarXiv · Mar 4, 2022 · Checked Dec 1, 2026 · Paper
  2. 2
    Deep reinforcement learning from human preferencesarXiv · Jun 12, 2017 · Checked Dec 1, 2026 · Paper
  3. 3
    Introducing ChatGPTOpenAI · Nov 30, 2022 · Checked Dec 1, 2026 · Primary source
  4. 4
    GlossaryClaude API documentation · Checked Dec 1, 2026 · Primary source
  5. 5
Cite this page
Citation style

Promptly Found. (2026, December 1). What is RLHF (reinforcement learning from human feedback)? https://promptlyfound.com/glossary/rlhf

Revisions 1
First published.