Overview

12 Synthetic Data

Reinforcement learning from human feedback began as a human-centered process because people were the only reliable source of high-quality answers and preference labels. As language models improved, however, synthetic data became practical and increasingly central: it is cheaper, easier to iterate on, and now powers much of modern post-training. The chapter explains that synthetic data is not a marginal substitute but a major ingredient in current pipelines, especially for generating prompts, completions, feedback, and filtered training examples.

A key concern with synthetic data is model collapse, where repeated self-training can reduce diversity and amplify errors. The text argues that this risk is mainly associated with narrow, repetitive self-generated data, and that it is much less severe when synthetic data is mixed with human data, produced by multiple teachers, deduplicated, and filtered carefully. It also emphasizes that today’s strongest models often outperform humans at producing certain kinds of training data, making synthetic data essential for instruction tuning, preference data generation, and large-scale evaluation.

The chapter then surveys the main ways synthetic data is used. Distillation transfers knowledge from stronger models to weaker ones, either broadly across post-training or for targeted skills like reasoning and coding. AI feedback and constitutional methods use language models to critique, rank, or score outputs, lowering cost while preserving useful supervision, though human data still matters for hard cases and trustworthy ground truth. Finally, rubric-based training extends these ideas by giving models prompt-specific criteria for judging responses, showing how synthetic supervision is expanding into more complex forms of alignment and reinforcement learning.

Traditional knowledge distillation trains a smaller student model to match the soft probability distribution of a larger teacher model using KL divergence loss. Both models process the same input simultaneously, and temperature scaling (\(\tau > 1\)) softens the distributions to reveal more information about class relationships.
figure
Synthetic data generation in LLM post-training: prompts are passed through a strong model to generate completions, which are paired to create a training dataset. This dataset is then used to fine-tune smaller models via standard supervised learning. More complex pipelines may involve multiple models editing completions, generating preference pairs, or filtering for quality.
figure

Summary

  • Synthetic data has become essential to modern post-training – language models are used to generate training prompts, write completions, provide preference labels, and filter data at every stage of the pipeline.
  • Distillation, using outputs from a stronger model to train a smaller one, is the most common form of synthetic data usage and has largely replaced human-written completions for instruction tuning, though human data remains important at capability frontiers and for establishing ground truth answers.
  • AI feedback can approximate human preference labels at a fraction of the cost within the RLHF pipeline, denoted RLAIF. A useful rule of thumb: human data is high-noise and low-bias, while synthetic preference data is low-noise and high-bias – making AI feedback easier to start with but prone to systematic second-order effects.
  • Constitutional AI (CAI) was the earliest large-scale use of synthetic data for RLHF, using a set of written principles to guide both instruction data revision and synthetic preference data generation.
  • Rubric-based rewards extend RL training to domains without clearly verifiable answers by using LLM judges to score completions against per-prompt evaluation criteria, enabling RL-style training on tasks like scientific reasoning, creative writing, or model personality.

FAQ

What is synthetic data in the context of RLHF?Synthetic data refers to training data generated by models rather than directly by humans. In modern RLHF/post-training pipelines, it can include model-generated instructions, completions, preference labels, critiques, filters, and evaluation scores.
Why has synthetic data become so important for post-training?Because stronger language models can now produce high-quality outputs and feedback at scale, synthetic data is much cheaper and faster to iterate on than human data. This makes it central to instruction tuning, preference learning, evaluation, and other post-training steps.
What is model collapse, and why is it a concern?Model collapse is the risk that repeatedly training on a model’s own outputs narrows the training distribution over time. This can reduce diversity, amplify errors, and hurt generalization, especially when data is repetitive, unfiltered, or produced by only one model.
How can teams avoid the worst effects of model collapse?They can mix real human data with synthetic data, use multiple teachers, deduplicate outputs, and apply strong quality filters. These practices help preserve diversity and reduce the chance of regressions.
What does distillation mean in language-model training?Distillation usually means using outputs from a stronger teacher model to train a smaller student model. In post-training, it can also refer more broadly to using synthetic data as a data engine for instruction following, preferences, or skill transfer.
What are the two main ways distillation is used in post-training?First, it is used as a general data engine to generate instructions, preference data, or verification data. Second, it is used to transfer specific skills from a stronger model to a weaker one, such as coding or mathematical reasoning.
What is AI feedback, and how does it relate to RLAIF?AI feedback is when a language model generates critiques, ratings, or preferences about model outputs. RLAIF, or Reinforcement Learning from AI Feedback, uses this synthetic feedback in place of or alongside human feedback, especially in preference-data and reward-model training.
How do human feedback and AI feedback differ?Human data is described as high-noise but low-bias: it can be harder to collect, but it is often reliable when curated. Synthetic preference data is low-noise but high-bias: it is easier to produce, but it may encode systematic errors or unintended biases.
What is Constitutional AI?Constitutional AI is an early large-scale method for generating synthetic data using a written set of principles, or constitution. A model critiques and revises its outputs according to those principles, and it can also generate preference data by choosing which completion best matches the principles.
What are rubrics in synthetic-data training?Rubrics are prompt-specific evaluation criteria used to judge the quality of model responses. They let an AI system score answers using hard rules and softer principles, which makes them useful for RL training on tasks without fully verifiable answers.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Reinforcement Learning from Human Feedback ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Reinforcement Learning from Human Feedback ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Reinforcement Learning from Human Feedback ebook for free