RLHF
Also known as: Reinforcement Learning from Human Feedback
RLHF trains a reward model from human preference comparisons, then optimizes the generative policy (the LLM) with reinforcement learning (often PPO) to maximize that reward while staying close to an SFT reference via a KL penalty.
Pipeline sketch
- SFT on demonstrations
- Collect preferences → train reward model
- RL update of the policy against the reward model
Tradeoffs
Improves helpfulness and harmlessness when done well, but is complex, expensive, and sensitive to reward hacking. Many teams now use simpler preference methods like DPO for a large share of alignment gains, reserving full RLHF for cases that need online exploration.