RLHF & Preference Optimization
The Training Gym · Post-training, RL & ReasoningTuning models toward outputs people (or AI raters) prefer.
Also called: RLHF, RLAIF, human feedback, preference optimization, DPO, GRPO, PPO, GSPO, DAPO, preference data. In the glossary.
RLHF & Preference Optimization is cooling this week (×0.56 against the eight weeks before). What is moving.
How it works, as a machineThe Rating Hall · reply pairs
Follow one reply pair from two replies to one prompt to a policy tuned toward the winner, in a rating hall, with a reward room and a tuning press behind it.
- Draw two replies
- Pick the better reply
- Fit the scores
- Push toward the winner
- Ship on a clear win
RLHF & Preference Optimization in plain words
RLHF tunes a model toward the outputs that people prefer. Raters compare pairs of answers, a second model learns to predict which they would pick, and the first is trained to score well with it. This is how a raw model becomes a polite, helpful assistant, and also how it learns to please.
An analogy
A stand-up comic working new material in small clubs. Each night two versions of a joke go out, the louder laugh wins, and the act drifts toward whatever the room rewards. After a year it is polished, and shaped as much by what crowds clap for as by what is true.