RLHF
A model that has only been pretrained writes plausible text, not useful text. RLHF — reinforcement learning from human feedback — is the stage that taught chat assistants to answer the question actually asked, decline the request that should be declined, and stop padding.
Three stages, in order- Supervised fine-tuning: train on human-written demonstrations of good answers, producing a policy worth improving.
- Reward modelling: collect human rankings of competing responses and fit a model that scores any response as a human would.
- Policy optimisation: run PPO against that reward, with a KL penalty pulling the policy back toward the supervised model so it does not drift into degenerate text that happens to score well.
It changed where the leverage is. Supervised fine-tuning can only imitate answers someone bothered to write; RLHF optimises a judgement about answers, which is far cheaper to collect and covers the long tail of requests nobody anticipated. InstructGPT showed the size of the effect — a 1.3B RLHF model was preferred to a 175B model without it. Refusal behaviour, tone, and format consistency all live in this stage.
The cost is a fragile pipeline: three models in memory, a reward model that can be gamed, and reinforcement learning's usual instability. That expense is why DPO and KTO, which optimise preference data directly and skip both the reward model and the RL loop, have displaced it across much open-weight work, while the term still names the goal.
RLHF (reinforcement learning from human feedback) aligns a language model by optimising it against a reward model trained on human preference rankings, usually with PPO and a KL penalty that limits drift from the supervised starting point. It is the stage that produced usable chat assistants — tone, refusals and instruction-following come from here, not from pretraining. Its cost and instability are why direct methods such as DPO now replace it in much open-weight work.
A new assistant can be told what to do, and shown a few examples of good work. But the real improvement comes from feedback: you look at two drafts, say which one is better, and they adjust. RLHF is that process applied to an AI. People compare pairs of answers, those comparisons train a scorer, and the AI then practises writing answers the scorer rates highly. This is the step that turned a system which merely continues text into one that actually answers you, keeps a civil tone, and declines requests it should decline.