Mar 23, 2025 · 46m · latent-space
The Magic of LLM Distillation — Rishabh Agarwal, Google DeepMind
gold bands on the timeline = statements, start to end. Hover to read, click to jump. CC turns on captions
Google DeepMind Staff Research Scientist Rishabh Agarwal joins the Latent Space podcast to break down the technical resurgence of LLM distillation, detailing how logit-based matching, on-policy generation, and reinforcement learning techniques optimize cost and performance for real-world deployments.
How this conversation actually went
Every chapter scored 0–10 on four independent dynamics. Hover any point for the reasoning behind the score. How this is scored →
speaking balance: gold is the hosts, purple is the guest (3 minute bins)
When Swyx asserts that running a live teacher during training negates distillation advantages, Rishabh immediately rejects the premise with the amortized principle that models are distilled once but served billions of times.
Hardest push from the hosts ▶ 32:30 Swyx questions the profundity of modifying RLHF loopsSwyx interrupts Rishabh to demand clear justification, asking twice why simply turning off reward maximization and adjusting KL anchors in RLHF infra is considered profound.
Biggest teaching moment ▶ 20:25 The DAgger car crash analogy for autoregressive error accumulationRishabh clearly educates the hosts on why behavior cloning fails in deployment using the RL driving example where expert teachers never demonstrate recovery from catastrophic drift.
The host holds their own ▶ 5:04 Swyx defines the Pareto frontier slope as the state of distillationSwyx offers an original conceptual framework equating the slope of the capability-cost Pareto curve to the state of distillation art, which Rishabh praises as an insight he had not considered.
the scores for every segment, with the reasoning behind each
| Chapter | Topic | The hosts as informed peer | Guest teaching | Guest disagreement | The hosts pushing back | Why |
|---|---|---|---|---|---|---|
| Dark Knowledge and Post-Training Pipeline Integration | 5 | 5 | 1 | 1 | Alessio and Swyx explore the high-level motivation for distillation and ask whether post-training pipelines like RLHF can be bypassed. Rishabh explains how distillation fits into the post-training stack and defines Geoff Hinton's concept of dark knowledge. | |
| Logit-Based Distillation and Soft Probability Labels | 4 | 6 | 0 | 1 | Rishabh details classical logit-matching distillation and how soft probability labels supply richer supervision than hard one-hot tokens. Swyx raises a pertinent question regarding compute-matched versus data-matched training FLOPs. | |
| Synthetic Data Distillation and Output Verification | 4 | 5 | 1 | 1 | Rishabh outlines synthetic data distillation and how DeepSeek-R1 utilized best-of-n verifiable sampling across disparate tokenizers. Swyx asks about efficiency gaps between logit matching and sampling from black-box APIs. | |
| Compute and Cost-Matched Data Generation Dynamics | 5 | 6 | 0 | 1 | Rishabh shares empirical findings showing that generating filtered data from a smaller model like Gemma 9B beats self-generation from Gemma 27B under compute-matched conditions. Swyx succinctly captures the core intuition that filtering injects external signal. | |
| Mitigating Exposure Bias via On-Policy Distillation | 5 | 7 | 0 | 1 | Rishabh uses the DAgger driving analogy to explain exposure bias and train-test distribution shift when students make compounding errors. Swyx immediately identifies the phenomenon as exposure bias as Rishabh outlines the math of on-policy reverse KL distillation. | |
| Theoretical Divergence: Mode-Covering Versus Mode-Seeking | 5 | 6 | 1 | 2 | Rishabh presents the theoretical differences between mode-covering forward KL and mode-seeking reverse KL using Gaussian curves. Swyx pushes on the realism of toy Gaussian assumptions in natural language, prompting Rishabh to show real diversity-performance trade-off curves. | |
| Repurposing RLHF Infrastructure for Model Distillation | 6 | 5 | 2 | 5 | Rishabh explains how to implement on-policy distillation inside existing RLHF frameworks by zeroing the reward term and retargeting the KL anchor. Swyx directly challenges the framing, pressing Rishabh twice on why turning off rewards is considered profound. | |
| Speculative Decoding Acceleration and Active Teacher Intervention | 4 | 6 | 0 | 1 | Rishabh details how distillation accelerates speculative decoding and previews recent research on active teacher intervention during student rollout generation. Swyx synthesizes the takeaway that every large model deployment benefits from a distilled student companion. | |
| Online Versus Offline Distillation for Complex Reasoning | 6 | 7 | 4 | 5 | Swyx challenges the practical viability of online distillation, arguing that keeping a live teacher model during training defeats the cost-saving purpose. Rishabh counters firmly with the amortized serving economics of distilling once to serve billions of requests. |