LLM Distillation, Explained: What Teacher Models Hand Down, What Students Learn, and Where It Fails
Distilled models lower the hardware and cost floor for running capable reasoning models, which is why they keep showing up in release notes. The same process carries real limits and licensing constraints, and training data quality decides whether a student generalizes or merely mimics the teacher's output style.
Knowledge distillation, KD, has become a staple of LLM cost and capability debates. The teacher model passes knowledge through training signals rather than weights: early methods distilled probability distributions over classes, while the LLM era mostly distills generated text, because commercial models rarely expose weights or full prediction probabilities. Hinton, Vinyals, and Dean formalized the approach in 2015, and it has since expanded from model compression to domain specialization and reasoning improvement.
Two LLM-era flavors stand apart. Answer distillation, or sequence-level distillation, teaches question-to-answer mapping, but knowing answers doesn't equal knowing methods. Reasoning distillation adds condition analysis, solution steps, and intermediate calculations, the approach Google's 2023 Distilling Step-by-Step! study used to improve small models. Soft labels carry dark knowledge, the similarity information hidden in probability distributions, and a student trained on both hard and soft loss learns the teacher's classification rules rather than just the right class.
A complete distillation run has six stages: choose teacher and student, prepare representative problems, generate and clean training data, run supervised fine-tuning, then evaluate independently. Data quality decides whether a student generalizes or memorizes repeated patterns. DeepSeek's 2025 release is the concrete case: six distilled models from 1.5B to 70B parameters, fine-tuned from Qwen and Llama bases on roughly 800K curated samples mixing reasoning and non-reasoning tasks. Distillation is also distinguished from fine-tuning, quantization, and RAG, with limits spelled out: teachers err, tiny students can't inherit everything, and a model can imitate reasoning style while still failing novel problems.
Distillation works precisely because commercial LLMs hide their internals: it operates on the one artifact they do expose through APIs, generated text, which is why it became an LLM-era fixture.
The answer-versus-reasoning contrast sets a practical floor: benchmark-style answers can be memorized, while visible step-by-step traces promote generalization, so evaluations need unseen problems rather than answer similarity.
Because a model's stated reasoning does not equal its internal computation, distilled students inherit observed behavior, including the failure mode where a confident, plausible explanation accompanies a wrong final answer.
DeepSeek's case positions distillation as a distribution lever: roughly 800K curated samples spread R1's reasoning capability across open Qwen and Llama bases without exposing R1 itself.
Distillation is understood as a two-step process: the answer comes first, then the model's own reasoning trail. The soft-label husky example successfully clarifies how hidden knowledge is carried, and the RAG-as-exam-research versus distillation-as-pre-exam-study analogy is adopted as a handy takeaway. Both remarks endorse the article's framing without raising any objections.
Distillation is giving the answer first, then providing the reasoning process itself.
Very thorough explanation. The husky example of hidden knowledge in soft labels made it click instantly. RAG is like looking up materials during an exam, and distillation is studying before the exam. I'm taking that analogy to use directly.