1 Introduction
RLHF emerged as a practical way to bring human preferences into AI systems, especially when the desired behavior is hard to specify directly. It gained major prominence with the rise of ChatGPT and large language models, but its roots extend back to earlier reinforcement learning applications. The chapter presents RLHF as part of a broader post-training toolkit for turning pretrained models into useful assistants, emphasizing that it is now one component of a larger family of methods rather than the whole story.
The core RLHF workflow is presented as a three-stage process: first, instruction fine-tuning teaches a model to answer in a question-and-answer format; second, a reward model is trained on human preference data to estimate which responses are better; and third, reinforcement learning uses that reward signal to improve the model’s outputs. The key intuition is that instruction tuning builds the basic structure of responses, while RLHF refines the model’s behavior at the response level, steering it toward answers that are more helpful, reliable, warm, and engaging. This makes RLHF especially valuable for shaping style and subtle preferences that are difficult to capture with simple supervised learning alone.
The chapter also argues that post-training can unlock much of a base model’s latent capability, much like refining a car chassis into a high-performance race car. While pretraining provides the raw potential, post-training makes that potential accessible in a form suited to interaction with users. The text acknowledges that RLHF is costly, complex, and vulnerable to issues like proxy rewards and over-optimization, but maintains that it remains central to modern model development. The book’s purpose is to explain these methods clearly, show how they fit together, and help readers understand both the mechanics and the broader significance of RLHF in the evolution of AI.
A rendition of the early, three stage RLHF process: first training via supervised fine-tuning (SFT, chapter 4), building a reward model (RM, chapter 5), and then optimizing with reinforcement learning (RL, chapter 6).
Summary
- RLHF incorporates human preferences into AI systems to solve problems that are hard-to-specify programmatically, and became widely known through ChatGPT’s breakout, which made the capabilities of language models more approachable.
- The basic RLHF pipeline has three steps: instruction fine-tuning to teach the model to follow the question-answering format, training a reward model on human preferences, and optimizing the model with RL against that reward.
- RLHF is known to primarily change the style, tone, and format of model responses – making them more helpful, warm, and engaging. But it’s not “just style transfer”: RLHF also improves benchmark performance, though over-optimization (e.g., excessive length or chattiness) can harm capabilities in other domains.
- The elicitation theory of post-training suggests that base models contain latent potential, and post-training’s job is to extract and cultivate that intelligence into useful behaviors.
- RLHF is one component of modern post-training, alongside instruction fine-tuning (IFT/SFT) and reinforcement learning with verifiable rewards (RLVR), used together in an intertwined manner to craft particular training recipes.
Reinforcement Learning from Human Feedback ebook for free