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. Samuel Denton beside the headline Continual Learning at Work on a black background.
  3. Ronak Malde beside the words Scale Continual Learning
  4. Nick Saraev and Jack Roberts beside the blue and white headline DISTILLATION DEBATE on a black background.
  5. Pierce Freeman in blue gestures beside a smiling Richard Diehl Martinez in navy against black, with the blue and white headline 'DISTILLATION VS THE DATA MOAT'.
  6. The words Open Weights Move Faster beside an abstract specialist-model distillation
  7. The words Fast Local AI Video beside a compact local rendering workstation
  8. AI Thoughts Exposed with a flat open reasoning vault symbol
  9. Aditya Gautam wearing glasses and a blue shirt holds open palms beside the blue-and-white headline “MULTIMODAL AGENTS” on black.
  10. Konstantin Pilz beside the headline AI Compute and China.
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.