liveBook · Manning

Chapter 1: Introduction

What you will learn in chapter 1 of Reinforcement Learning from Human Feedback

The introduction explains why RLHF arose and briefly traces its move from traditional reinforcement-learning applications to prominence with ChatGPT.

After this chapter you will be able to

Section by section

Introduction

The introduction explains why RLHF arose and briefly traces its move from traditional reinforcement-learning applications to prominence with ChatGPT.

Key terms: reinforcement learning from human feedback, human information, preference signals, optimization, control problems, reinforcement learning, ChatGPT, large language models, foundation models

1.1 RLHF in three steps

This section outlines the three-step RLHF pipeline and places it within the broader, evolving practice of language-model post-training.

Key terms: RLHF, human preference data, reward model, RL optimizer, post-training, instruction fine-tuning, supervised fine-tuning, preference fine-tuning, reinforcement learning with verifiable rewards, proxy reward models

1.2 What does RLHF do?

This section explains how RLHF changes language-model responses, why those changes matter, how its training signal differs from instruction fine-tuning, and what limits its use.

Key terms: autoregressive pretraining, post-training, style, tone, format, IFT, RLHF, per-token update, response level, negative feedback

1.3 Walkthrough of an RLHF recipe

This section walks through the three stages of a minimal RLHF recipe: instruction fine-tuning, reward modeling, and reinforcement learning.

Key terms: base model, instruction-following model, next-token prediction loss function, assistant persona, reward model, human preferences, preference relations, scalar signal, prompts, completions

1.4 An intuition for post-training

This section explains post-training as a way to draw out a base model’s capabilities, argues that its effects go beyond conversational style, and notes its growing computational scale.

Key terms: Elicitation Theory of Post-training, base model, post-training, next-token prediction, Superficial Alignment Hypothesis, alignment, style, IFT, RLVR, RL

1.5 How we got here

This section traces how post-training moved from early open-model fine-tuning and skepticism about RLHF through DPO-based preference tuning toward more complex, multistage recipes and newer reasoning methods.

Key terms: post-training, self-instruct, instruction tuning, RLHF, direct preference optimization, DPO, pairwise preference data, preference-tuning, full post-training, IFT

1.6 Future of RLHF

The section frames RLHF both as a bridge to broader use of reinforcement learning in language-model fine-tuning and as a way to study how AI systems can reflect human values and objectives.

Key terms: RLHF, human values and objectives, RL methods, fine-tuning large base models, o1 reasoning models

1.7 Summary

Where this is used later

Concepts explained in this chapter

Chapter 2: A tiny history of RLHF →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.