What is knowledge distillation?

Definition

Knowledge distillation transfers behavior from a teacher model to a student model using outputs, probability distributions, features, generated examples, or feedback. The student may become cheaper or faster while retaining part of the teacher's capability.

Authorized distillation is a standard model-development technique, but providers may prohibit using their outputs to train competing systems. Safeguards can look for automated extraction patterns, excessive sampling, or attempts to reproduce protected model behavior.

ELI5

Knowledge distillation trains a smaller or different AI model to imitate useful behavior from a more capable teacher. The student learns from teacher probabilities, generated examples or other signals in addition to ordinary data.

For example, a large model can create labeled answers that help train a faster local model. The student is not an exact copy, and its quality depends on which prompts, examples and objectives were used during the transfer.

Why use knowledge distillation?

It can reduce model size, latency, hardware needs, energy use, or serving cost while retaining useful behavior from a stronger teacher.

Why can model providers restrict distillation?

Large-scale output collection can be used to reproduce proprietary behavior or train competing systems, so provider terms may limit or prohibit it.

  1. Theo Browne beside the words OpenAI Leaves Cursor
    Why OpenAI Is Cutting Cursor Model Access
    Theo27m 5s2 VIEWS
  2. Matthew Berman beside the headline Fable 5.1 Cuts Agent Costs
  3. The words Open Weights Move Faster beside an abstract specialist-model distillation
  4. Aditya Gautam wearing glasses and a blue shirt holds open palms beside the blue-and-white headline “MULTIMODAL AGENTS” on black.
  5. Raghav Saboo in a blue shirt beside the headline “DISTILL THE LLM” on a black background.
  6. Dwarkesh Patel, Beren Millidge, John Schulman and Charlie O’Neill debate the bottlenecks to recursive AI self-improvement.
  7. Matthew Berman in a blue top beside the blue and white headline 'SOL AND LUNA COST LESS' on black.
  8. Nick Saraev, Jack Roberts, Sam Altman and Donald Trump beside the headline Kimi to Claude? Hidden routing claims.
Definition card for knowledge distillation: What is knowledge distillation?

Knowledge distillation trains a smaller or different AI model to reproduce useful behavior learned from a stronger teacher model.