Nathan Lambert on Synthetic Data and On-Policy Distillation

From teacher–student training and KL objectives to Constitutional AI, AI judges and rubric-based rewards.

NLNathan LambertVortrag · Allen Institute for AI
Kanal
Nathan Lambert
Veröffentlicht
23. Juni 2026
Video
49:40
Lesezeit
7 Min.
Folien
6
Original
Englisch
Auf YouTube öffnen
Beim Scrollen schrumpft das Video in die rechte untere Ecke und läuft weiter. Untertitel folgen Ihrer Lesesprache.
LesespracheIn 2 Sprachen verfügbar
Diesen Artikel gibt es noch nicht auf Deutsch, daher wird das Original (Englisch) angezeigt.
ZUSAMMENFASSUNG

In 30 Sekunden

Nathan Lambert traces the growing role of synthetic data in post-training and explains offline, on-policy and self-distillation. He also discusses the economics and biases of AI feedback, Constitutional AI and rubric-based rewards.

  1. 1Two meanings of distillationDistribution matching differs from the broad practice of training on generated completions.
  2. 2Exposure biasStudent trajectories can diverge from teacher-generated training examples.
  3. 3On-policy learningThe student generates the states on which a teacher provides supervision.
  4. 4Self-distillationPrivileged context can turn a model into its own teacher.
  5. 5Rubric-based rewardsA judge applies task-specific criteria where there is no simple verifier.

Das Wichtigste

  1. Synthetic data can supply prompts, completions, preferences and reward signals.
  2. Technical knowledge distillation matches distributions; everyday usage also includes training on generated text.
  3. On-policy distillation trains on student-generated trajectories supervised by a teacher.
  4. Human and AI feedback have different costs and potential biases.
  5. Constitutional principles and rubrics make subjective criteria usable in training.
VOLLTEXT

Den bearbeiteten Text nach Kapiteln lesen

Nur das Transkript
01

The rise of synthetic data

Synthetic prompts, completions and judgments accelerated post-training. Lambert distinguishes technical knowledge distillation from the broader use of generated text.

This lecture traces synthetic data into modern post-training and explains the mathematics of on-policy distillation, along with AI feedback, Constitutional AI and rubrics. I want the history to make the methods understandable on their own, not just as chapters in the book.

When I began writing the RLHF book, there was serious debate over how much synthetic data could do. It made iteration much cheaper and faster than waiting for human signals. Stronger models in the GPT-4 era and increasingly capable open-weight models widened the available set of teachers.

Synthetic data broadly means model outputs used as training signals. In my account it now appears throughout leading-model training, while humans still provide important signals at the frontier. The balance between human and synthetic data is one of the lecture’s recurring questions.

Synthetic data can expand a small prompt set, generate supervised completions, provide preference labels for reward models, or supply a judge as a reward signal. Self-Instruct explored synthetic instructions; UltraFeedback became an influential AI-generated preference dataset.

Earlier work could generate text from a strong API model and train on the completions. Reasoning models make the picture more complicated because useful reasoning traces may not be exposed in the same way. Filtering can remove repetitive or low-quality generations before training.

Human-written completions once dominated instruction data. Lambert says industry still uses human preferences, even though academic studies have sometimes struggled to show large gains on standard evaluations. Many evaluations themselves now use model-generated judgments, while human evaluation remains valuable.

There was also an active debate over whether repeatedly training on generated data would cause models to collapse. Lambert argues that modern practice demonstrates the usefulness of synthetic data and points to filtering as one practical safeguard; his criticism reflects his interpretation of that earlier debate.

Early synthetic instruction datasets were small by later standards: an example from 2023 might contain tens of thousands of prompts and millions of tokens. As reasoning models emerged, datasets and the diversity of generated prompts expanded substantially.

Distillation has two meanings. In technical knowledge distillation, a student learns to match a teacher’s output distribution, using soft probabilities. In common post-training usage, it can simply mean training a weaker model on completions generated by another model.

Two meanings of distillation
FOLIE 1 / 6Two meanings of distillationThe slide distinguishes distribution matching from training on generated outputs.

The technical method compares teacher and student log probabilities, often with a KL-based loss; it requires more information and machinery than supervised training on generated text. The broader everyday meaning requires only prompts and teacher-generated responses.

02

Teacher–student distillation

Sequence distillation and cross-entropy connect supervised learning to forward KL. Offline training can leave students exposed to compounding errors.

The original teacher–student work predates modern language-model post-training. Instead of training solely against a single next-token label, knowledge distillation can convey information about the teacher’s distribution across possible tokens.

For notation, consider a prompt or state, actions produced by the student, and a separate symbol for teacher outputs. Let the teacher and student each define a probability distribution. Keeping the source of each sample clear becomes critical when we switch from offline to on-policy training.

Kim and Rush’s 2016 sequence-level work considered a word-level baseline in which the student matches teacher probabilities on an existing text corpus. The teacher can also generate completions from prompts, creating sequences on which the student is trained.

Enumerating every possible completion is intractable. The sequence-level approach instead generates a teacher completion using beam search and trains the student on that selected sequence. This resembles the later practice of learning from model-generated answers.

Cross-entropy connects these approaches. The cross-entropy between teacher and student equals the teacher’s entropy plus the forward KL divergence from teacher to student. When the teacher is fixed, minimizing cross-entropy with respect to the student also minimizes that forward KL.

Cross-entropy and distillation
FOLIE 2 / 6Cross-entropy and distillationThe derivation separates the teacher entropy from the teacher–student comparison.

Offline distillation can suffer exposure bias: the student trains on teacher-generated trajectories but generates its own at use time. An early unfamiliar token can move the student into contexts missing from the teacher-generated training distribution, allowing errors to compound.

Imitation learning offers an analogy. DAgger studies a learner’s own trajectories with expert labels for actions. Under its assumptions, ordinary supervised imitation can have accumulated error that grows quadratically with trajectory length. Lambert cautions that the result does not directly prove a bound for language models.

The DAgger analogy
FOLIE 3 / 6The DAgger analogyThe slide illustrates compounding imitation errors and states the limitation of the analogy to language models.

On-policy distillation addresses the mismatch by sampling from the student and using the teacher to supervise states the student actually visits. In the imitation-learning analogy, this can improve how accumulated error scales, but the language-model case is more complicated.

Two early contributions were MiniLLM, which used an RL-style policy-gradient approach, and generalized knowledge distillation. Lambert says current implementations in some model families are closer to the latter framing, while MiniLLM helped introduce the RL formulation.

03

On-policy and self-distillation

Student-generated trajectories receive teacher supervision, often using reverse KL. Variants use multiple teachers or privileged context.

In the on-policy objective, the student generates actions and the teacher is held fixed. The resulting formulation can use reverse KL, with the student distribution supplying samples. The direction matters because KL divergence is asymmetric.

Forward KL weights examples under the teacher distribution and tends to encourage covering the teacher’s probability mass. Reverse KL is weighted under the student’s distribution and is often described as mode-seeking. These are useful intuitions, not interchangeable names for the same objective.

One RL formulation uses the negative per-token log-ratio estimate as an advantage: teacher log probability minus student log probability for a sampled token. In a later Q&A Lambert corrects the slide’s equality: a single sampled term estimates the KL and equals the full divergence only in expectation.

When the teacher assigns a sampled token higher probability than the student, the resulting advantage is positive and encourages that action. This supplies dense token-level supervision, unlike a single sparse outcome reward. Lambert notes interest in combining it with verifiable outcome rewards.

Multi-teacher on-policy distillation selects among teachers, for example by prompt domain. Lambert describes this as increasingly visible in open-weight models and points to the practical challenge of fitting a suitable teacher to each type of task.

On-policy self-distillation seeks the same dense supervision without a separate stronger teacher. A model produces a trajectory, and a modified version with privileged context acts as the teacher. The student learns from the difference so the extra hint need not be present at inference time.

Lambert describes a Cursor example in which a judge identifies a common error and inserts a hint into the trajectory. Training uses the hinted context to supervise subsequent tokens. He expects the approach to require a sufficiently capable base model and careful control of the task distribution.

Token-level distillation also creates a practical compatibility issue: teacher and student generally need compatible tokenizers for per-token comparisons. This creates more dependence on model lineage than simply training on another model’s text.

To compare the methods: sequence distillation starts with a teacher rollout; on-policy distillation starts with a student rollout and teacher scoring; self-distillation adds privileged context to a student trajectory and learns from the resulting signal.

Offline and on-policy distillation
FOLIE 4 / 6Offline and on-policy distillationThe diagram contrasts teacher-generated and student-generated rollouts.
04

AI feedback and Constitutional AI

Synthetic judgments are inexpensive but have their own biases. Constitutional AI uses principles to revise and compare responses.

AI feedback changed the economics of collecting preferences. Lambert contrasts human annotations that can cost dollars or more per prompt with model feedback measured in cents, making open research and iteration easier.

He offers an intuition from industry discussions: human labels can have high noise but lower systematic bias, whereas a model judge can be more consistent while sharing the biases of its model family. This is a heuristic for thinking about data, not a universal measurement.

The optimal mix remains unsettled. Human preferences are expensive and difficult to collect well, but Lambert expects teams still use them to connect experimental systems to real user needs. Synthetic preferences are much easier to start with.

Specialized judge models seek cheaper or better feedback, but strong general models also perform well as judges. Model judges have systematic biases: for example, a judge may favor outputs from its own model family. These issues matter in both training and evaluation.

Constitutional AI, introduced by Anthropic in 2022, is one approach within the broader family of reinforcement learning from AI feedback. It uses a set of principles to generate critiques, revise answers and select preferences.

Constitutional AI pipeline
FOLIE 5 / 6Constitutional AI pipelineThe diagram shows supervised revision followed by preference-model training and RL.

The original pipeline has a supervised stage that critiques and revises responses against principles, then fine-tunes on revised answers. A preference stage compares answers using principles, trains a preference model and uses that signal for reinforcement learning.

A principle might ask whether a response encourages violence or whether it is truthful. Sampling principles across examples shapes the synthetic data mix. Lambert notes that the usefulness of a separate SFT revision step may differ when the starting data is already synthetic.

05

Rubrics and conclusions

Rubrics let judges score open-ended tasks against explicit criteria. The resulting signals can support reinforcement learning.

Rubrics extend the idea of explicit criteria to prompts without a single verifiable answer. A rubric provides a checklist or domain-specific grading criteria, potentially combining hard requirements with softer quality judgments.

A rubric example
FOLIE 6 / 6A rubric exampleThe example separates hard requirements from softer quality principles.

A student produces an answer, then a separate judge evaluates it against the rubric. The score can become an RL reward. Generating a rubric for each prompt adds another synthetic-data step, so the pipeline may contain models producing criteria for other models to apply.

Lambert says domain experts can help design rubrics and stresses attention to the generated criteria and outputs. Rubrics have been used for instruction following, deep research and long-form tasks where a simple verifier is unavailable.

Synthetic data can therefore be the optimization signal itself, as in on-policy distillation, or expand existing training pipelines through AI feedback, Constitutional AI and rubrics. The next lecture turns to the history and practical collection of human preferences.

Mehr aus diesem Kanal

2 Folien16:48EN
Nathan Lambert· 2. Nov. 2026Nathan Lambert on How Open Models Can Compete With Frontier LabsNathan Lambert · Allen Institute for AIOpen models are gaining use and closing capability gaps, but their builders need a sustainable economy and advantages beyond price.Open-weight modelsAI cost & performanceAI Strategy+1
3 Folien48:04EN
Nathan Lambert· 26. Okt. 2026Nathan Lambert on Open Language Models: History, Competition and RiskNathan Lambert · Allen Institute for AIA tour of open weights, research infrastructure, distillation, adoption and the choices facing model developers.Open-weight modelsAI researchAI Safety+2
46:42EN
Nathan Lambert· 25. Okt. 2026Nathan Lambert and Florian Brand on Kimi K3.1, Cyber Risk and AI AgentsNathan Lambert, Florian Brand · Allen Institute for AIThe Interconnects hosts discuss mixed model evaluations, a wave of security disclosures, and what a personal agent can do in everyday life.Open-weight modelsCybersecurityEvals+1
3 Folien5:42EN
Nathan Lambert· 12. Aug. 2026Why the Shoggoth Became a Mascot for AI Post-TrainingNathan Lambert · Allen Institute for AINathan Lambert traces a creature from Lovecraft to a visual metaphor for language models, fine-tuning, and RLHF.Post-trainingAI HistoryAI Alignment
3 Folien32:56EN
Nathan Lambert· 6. Aug. 2026Nathan Lambert: An Introduction to AI Character TrainingNathan Lambert · Allen Institute for AIHow post-training shapes a model’s behavior, from constitutions and model specs to experiments with personality and activation steering.Post-trainingAI AlignmentModel Interpretability+1
3 Folien32:11EN
Nathan Lambert· 5. Aug. 2026Nathan Lambert on How Language Model Evaluation Has EvolvedNathan Lambert · Allen Institute for AIFrom few-shot prompts and pass@k to agent sandboxes, noisy scores and benchmark contamination.EvalsAgent EngineeringBenchmarks+1