liveBook · Manning

Chapter 12: Synthetic data

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

The introduction explains why early RLHF depended on human data and why improving AI models made synthetic data an attractive way to expand post-training research.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The introduction explains why early RLHF depended on human data and why improving AI models made synthetic data an attractive way to expand post-training research.

Key terms: human data, RLHF, feedback data, synthetic data, post-training

12.1 The roles of synthetic data

The section explains how synthetic data is used in post-training, why its use has grown, and where human data remains essential.

Key terms: synthetic data, training prompts, completions, AI feedback, preference data, instruction data, supervised fine-tuning, LLM-as-a-judge, ground-truth labels, model collapse

12.2 Distillation with synthetic data

This section explains how stronger models supply synthetic training data for broad post-training needs and for transferring specific skills to smaller models.

Key terms: distillation, teacher–student knowledge distillation, stronger model, smaller model, data engine, post-training, preference data, specific skills, high-quality prompts, filtering responses

12.3 The path to on-policy, teacher–student distillation

This section explains why teacher–student distillation is part of the synthetic-data toolkit for language-model post-training and notes its renewed prominence.

Key terms: teacher–student knowledge distillation, synthetic data, supervision, student model

12.3.1 Adapting knowledge-distillation for LMs

12.3.2 From offline to on-policy distillation

This section explains why distillation moves from offline teacher-generated data to student-generated completions, and how teacher feedback on those completions can drive RL-style updates.

Key terms: offline KD, distribution mismatch, forward KL, on-policy distillation, student policy, teacher policy, reverse-KL objective, token-level state, KD distance, reverse-KL distance

12.3.3 Modern OPD variants

This section describes modern on-policy distillation variants that use multiple teachers, combine distillation with other training signals, or let a model serve as its own teacher.

Key terms: multi-teacher on-policy distillation, MOPD, teacher, student, prompt-dependent mixture weight, reverse-KL loss, reverse KL, advantage, GRPO, group-level normalization

12.4 AI feedback

This section introduces AI feedback as a way to generate or augment quality judgments, places RLAIF and Constitutional AI in that context, and identifies uses beyond preference labels.

Key terms: AI feedback, RL from AI feedback (RLAIF), preference data collection, reward model training, Constitutional AI (CAI), RLAIF, LLM-as-a-judge, scalable evaluation, rubric-based rewards, verifiable answers

12.4.1 Balancing AI and human feedback data

This section explains why AI feedback is attractive for RLHF, why it has not replaced human feedback, and how to think about balancing the two.

Key terms: AI feedback, human preference data, evaluation, human feedback, RLAIF, RLHF, human data, synthetic preference data, high-noise, low-bias

12.4.2 Building specific LLMs for judgment

This section explains why LLM judgments can be biased and why a separately trained judge is usually unnecessary despite that concern.

Key terms: LLM-as-a-judge, calibration, self-preference bias, critic models, scaling inference, self-refinement, tournament ranking

12.5 Constitutional AI

This section explains how Constitutional AI uses human-written principles to generate revised instruction examples and AI-labeled preference data for RLHF.

Key terms: Constitutional AI, constitution, principles, critique, instruction data, preference data, feedback model, RLAIF, generative reward model

12.5.1 Further reading on CAI

Surveys extensions of Constitutional AI that use written principles in model alignment and feedback, while noting that few are documented as clear improvements to RLHF recipes.

Key terms: CAI, Model Spec, deliberative alignment, principle-driven preferences, feedback

12.6 Rubrics: Prompt-specific AI feedback for training

The section explains how prompt-specific rubrics turn AI feedback into rewards for training on tasks without clearly verifiable answers, and how those rubrics can be generated at scale.

Key terms: rubrics, nearly verifiable criteria, RL, rewards, Hard Rule, Principle, Essential, Important, Optional, Pitfall

12.7 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 11: Preference data Chapter 13: Tool use and function calling →

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.