Jargonautica
Problems, Risks and Ambitions

Reinforcement Learning from Human Feedback

Also called: RLHF

The main method used to turn a raw text predictor into something helpful and well behaved. People compare pairs of model outputs and say which is better; those judgements are used to train the model towards what people prefer. This is largely why a modern assistant is useful and polite rather than simply continuing your text in whatever direction the internet suggests.

Technical view

The classic pipeline trains a reward model on human preference comparisons, then optimises the language model against it, typically with proximal policy optimisation and a penalty term preventing drift too far from the original model. Known weaknesses include reward model exploitation, and the tendency to reward outputs that appear good to a rater rather than those that are correct, which contributes to sycophancy and confident-sounding errors. Newer approaches such as direct preference optimisation simplify the pipeline, and constitutional methods use written principles and model-generated critiques to reduce reliance on human labelling volume.


Part of AI Terminology Index, section: Problems, Risks and Ambitions.

How it connects

Reinforcement Learning from Human Feedback links to 16 other terms, and the 12 closest are drawn here. The faint lines are links between those terms. See it in the full graph.

Reward ModelReward ModelPreference DataPreference DataAlignmentAlignmentData Labelling and AnnotationData Labelling and …Direct Preference OptimisationDirect Preference O…SycophancySycophancyProximal Policy OptimisationProximal Policy Opt…Reinforcement Learning from AI FeedbackReinforcement Learn…Fine-tuningFine-tuningReinforcement LearningReinforcement Learn…Instruction TuningInstruction TuningLarge Language ModelLarge Language ModelReinforcement Learning from Human Feedback