Distillation Is the Real Reason Big Models Ship
Distillation is what makes large models economically viable. Without it, a 671B-parameter model would never leave the research cluster; with it, the same capability gets packaged into a 7B model that runs on a single GPU. For teams without eight-figure training budgets, distilling from a commercial API into a private, controllable small model is the only realistic path to owning their AI stack.
Distillation is the engineering backbone that gets large models out of the lab and into production. A 671B-parameter model can cost tens of millions to train and requires dozens of GPUs just to run; a distilled 7B student runs on a single consumer card while retaining most of the teacher's capability. The technique works by having the student learn not just the final answer but the teacher's full probability distribution—Hinton's "dark knowledge"—along with intermediate hidden states, attention maps, and reasoning chains.
The process spans data generation, cleaning, scoring, and a multi-loss training regime that combines supervised fine-tuning with KL-divergence soft-label losses. Temperature scaling exposes the teacher's internal class relationships, while feature and attention distillation transfer how the teacher understands input. The hottest frontier, reasoning distillation, copies the teacher's entire chain-of-thought, which is why DeepSeek-R1's 1.5B student can still reason through math problems.
A complete enterprise walkthrough shows the full pipeline: historical tickets seed a teacher model that generates structured question-reasoning-answer triples; rules and an AI judge filter the output; a ChatML dataset feeds LoRA training via LLaMA Factory; and vLLM serves the final student. The result is a domain-specific model that costs two orders of magnitude less to run than the teacher.
Distillation is the unglamorous infrastructure that separates companies shipping models from those publishing papers; the model that runs in production is almost never the largest one the company has built.
Temperature is a deceptively simple knob that controls how much of the teacher's internal structure gets exposed to the student—too low and the student sees only the answer, too high and noise drowns the signal.
The industry's shift toward reasoning distillation reflects a deeper insight: factual knowledge compresses poorly, but reasoning procedures compress well, which is why a 1.5B model can solve math problems its size shouldn't permit.
Multi-teacher distillation is effectively an arbitrage play—exploiting the fact that different vendors' models have uncorrelated strengths and weaknesses, then blending them into a single student that outperforms any individual teacher on aggregate.
The 70/20/10 data mix rule of thumb encodes a real constraint: purely synthetic data causes distribution collapse over successive training generations, so human-annotated anchors are necessary to keep the data manifold from drifting toward the teacher's biases.
Distillation's real competitive moat is not the algorithm—KD loss is public and trivial to implement—but the proprietary data-generation pipeline, cleaning heuristics, and teacher-student layer-mapping strategies that each lab guards as trade secrets.