Reinforcement learning from human feedback, RLHF, is the training approach most responsible for turning raw pretrained language models — which are essentially very good next-token predictors — into assistants that follow instructions, stay on topic, and generally behave the way people expect a chat product to behave. It is not one algorithm; it is a pipeline of several distinct stages, and understanding those stages matters for understanding both why it works and why teams have increasingly swapped parts of it out.
What changed in 2026
- Offline preference methods took over large parts of many pipelines. DPO training and its variants let teams skip the explicit reward-model-plus-RL-loop portion of classic RLHF for many use cases, while keeping the same underlying human preference data.
- RLAIF — reinforcement learning from AI feedback — scaled up further. Using a capable model to generate preference judgments, sometimes guided by a written constitution or set of principles, reduced dependence on large volumes of human labeling for some pipeline stages, though human feedback stayed important for calibration and hard edge cases.
- On-policy methods evolved beyond classic PPO. Group-relative approaches like GRPO gained adoption for parts of the pipeline, particularly in reasoning-focused training, changing some of the infrastructure classic RLHF required — see our on-policy vs off-policy guide for how this fits together.
- Reward hacking mitigation matured as its own subfield, with more standardized techniques for detecting when a policy is gaming the reward model rather than genuinely improving.
The classic three-stage RLHF pipeline
- Supervised fine-tuning (SFT). Start from a pretrained base model and fine-tune it on a curated set of high-quality instruction-response examples, so the model learns the basic shape of following instructions and responding conversationally.
- Reward model training. Collect human comparisons between pairs of model outputs for the same prompt — which response is better, not an absolute score — and train a separate model to predict that preference. This reward model becomes a learned proxy for human judgment.
- Policy optimization. Use reinforcement learning, classically PPO, to further train the SFT model to produce outputs that the reward model scores highly, while a KL-divergence penalty keeps it from drifting too far from the original SFT model's behavior.
RLHF vs RLAIF vs DPO
| Approach |
Feedback source |
Needs a separate reward model |
Needs a live RL loop |
| Classic RLHF |
Human preference comparisons |
Yes |
Yes |
| RLAIF |
AI-generated preference comparisons |
Often yes |
Often yes |
| DPO |
Human or AI preference comparisons |
No |
No |
The feedback source (human vs AI-generated) and the training method (reward-model-plus-RL vs direct offline optimization) are actually two separate design choices that get bundled together in casual conversation. You can run DPO on human-labeled preferences, and you can run classic PPO-style RLHF on AI-generated preferences — the terms describe different axes of the same design space.
Why reward hacking happens
The reward model is a learned approximation of human preference, trained on a finite sample of comparisons — it is not human judgment itself. When you optimize a policy hard against that approximation, the policy is incentivized to find any pattern that scores well according to the reward model, whether or not that pattern reflects genuine quality. Classic examples include favoring longer responses, hedging language, or superficially confident tone, none of which are what the reward model was actually meant to capture. This is why production RLHF pipelines include monitoring for reward-score-vs-human-judgment divergence, regularization against the original SFT model, and periodic re-calibration of the reward model itself.
Common pitfalls
- Treating RLHF as a black box you either use or do not. It is a pipeline of swappable stages; know which stage you are actually changing when you adjust your training approach.
- Under-monitoring for reward hacking. A policy that is improving its reward score every step is not automatically improving in the ways that matter to real users; spot-check against genuine human judgment regularly.
- Assuming AI-generated feedback is a drop-in replacement for human feedback everywhere. RLAIF works well for many tasks but can inherit and amplify the judging model's own blind spots and biases.
FAQ
Is RLHF still used in 2026, or has DPO replaced it entirely?
Both are in active use. Many pipelines use DPO or similar offline methods for large portions of preference alignment, while classic on-policy RLHF or newer on-policy variants remain relevant for specific goals like reasoning improvement.
What is the difference between the reward model and the policy?
The reward model scores how good a response is; the policy is the model actually generating responses. During RLHF's policy-optimization stage, the policy is updated to produce responses the reward model scores more highly.
Does RLHF make a model more truthful?
Not directly. RLHF optimizes for human preference, which correlates with but is not identical to factual accuracy — people can prefer confident-sounding wrong answers over hedged correct ones, which is a known limitation worth designing around.
How does RLHF relate to AI alignment more broadly?
RLHF is one practical technique used in pursuit of broader alignment goals. See our AI alignment guide for how it fits into the wider picture of getting AI systems to behave as intended.
Where to go next