RLHF
Also known as: Reinforcement Learning from Human Feedback
Category: Generative AI / LLM
A training technique that uses human preference feedback to fine-tune language models via reinforcement learning, aligning model outputs with human values and preferences.
Full Explanation
Reinforcement Learning from Human Feedback (RLHF) is the alignment technique that made ChatGPT and similar assistants possible. The process involves three stages: supervised fine-tuning on demonstration data, training a reward model on human preference comparisons (which output do humans prefer?), and optimizing the language model against the reward model using reinforcement learning (typically PPO). RLHF teaches the model to generate outputs that humans find helpful, harmless, and honest, going beyond simply predicting likely text to producing preferable text. The technique addresses the misalignment between the next-token prediction objective and actual user preferences. RLHF has been instrumental in making language models safe and useful, but it has limitations including reward hacking, sycophancy, and the high cost of human annotation. Alternative approaches like DPO and RLAIF have been developed to address some of these challenges.
Related Terms
More in Generative AI / LLM
Explore More
- AI Tools Library — Discover AI tools related to RLHF
- AI Education — Courses to learn about Generative AI / LLM
- AI News — Latest news and updates