Safety & security

RLHF

AI-assisted editorial review:

RLHF means reinforcement learning from human feedback. Human judgments inform a reward signal for training a model’s behavior; a common language-model pipeline learns a reward model from ranked outputs and optimizes a policy against it. [1][2]

What does RLHF mean in simple terms?

People compare answers, and training uses their preferences to guide the model. This is different from correcting an answer in one conversation. The resulting behavior depends on the people, tasks, and reward method, and can still be mistaken or biased.

How can RLHF be explained with an analogy?

It is practice guided by reviewers’ preferences, with a learned scoring system that also needs checking.

Where is RLHF used?

Case 1

InstructGPT

The paper describes demonstrations, output rankings, and reinforcement learning. Human evaluations on its prompt distribution preferred a 1.3B InstructGPT model to 175B GPT-3; the result is scoped to that evaluation. [1]

Case 2

Human preferences

The 2017 research studies reinforcement learning from comparisons rather than hand-designed task rewards alone. [2]

Case 3

Label quality

A hypothetical team defines criteria and checks disagreement between reviewers before training.

Case 4

Evaluation beyond reward

A hypothetical team tests factuality, task success, and undesirable behavior independently. A higher reward score is not the same as universal alignment.

Learning steps, limitations and developments

01 — Define the task and feedback criteria.

02 — Choose representative examples and document reviewer populations.

03 — Collect and inspect judgments with attention to working conditions.

04 — Record reward construction and training configuration.

05 — Evaluate the full pipeline and investigate disagreement and reward exploitation.

Limitations and direction: Protect reviewer welfare and document the feedback population and criteria. Check reward exploitation and changes in the application context. Human feedback is not error-free. Distinguish RLHF from AI-generated feedback and from optimization alternatives, and evaluate the complete pipeline.

How has RLHF evolved?

2017
Human preferences research
Research studies reinforcement learning from human comparisons.
2022-03
InstructGPT paper
A language-model pipeline uses demonstrations and human preference feedback.

Which concepts are related to RLHF?

  • Related concept
    RLAIFA related concept within the same category.
  • Related concept
    Constitutional AIA related concept within the same category.
  • Related concept
    AI AlignmentA related concept within the same category.
  • Related concept
    Fine TuningA related concept within the same category.

RLHF and RLAIF

ComparisonRLHFRLAIF
FeedbackHuman judgmentsAI evaluator judgments
ChecksReview label quality and reward behaviorReview evaluator quality and reward behavior

Which sources explain RLHF?

  1. InstructGPT paper — https://arxiv.org/abs/2203.02155
  2. Human preferences research — https://arxiv.org/abs/1706.03741