Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is Model Distillation?
LLMs

What is Model Distillation?

Updated September 21, 2026 Read 3 min

Model distillation, or knowledge distillation, trains a smaller 'student' model to imitate a larger 'teacher' model. The student learns from the teacher's outputs and becomes cheaper and faster to run while keeping much of the teacher's ability.

Contents 11
  1. 01Key takeaways
  2. 02Model distillation explained in simple terms
  3. 03How distillation works
  4. 04Soft labels: why they help
  5. 05Distillation for LLMs
  6. 06Distillation vs quantization vs fine-tuning
  7. 07Legal and ethical points
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

Model distillation, also called knowledge distillation, is a technique that trains a smaller “student” model to imitate a larger, more capable “teacher” model. The student learns from the teacher’s outputs rather than only from original labelled data. The result is a model that is much cheaper and faster to run while keeping a large share of the teacher’s performance.

Key takeaways

  • Distillation transfers knowledge from a big model to a small one.
  • Students often learn from the teacher’s full probability outputs, called soft labels, which carry more information than single correct answers.
  • For LLMs, distillation often means training on responses generated by a stronger model.
  • It powers many efficient production and on-device models.
  • Using another company’s model outputs to train a competitor may breach terms of service.

Model distillation explained in simple terms

A senior expert cannot sit in every meeting, so they train a junior colleague. The junior does not re-learn everything from scratch; they watch how the expert handles thousands of cases, including how confident the expert is between options. Eventually the junior handles most cases well on their own, faster and at lower cost. The expert is the teacher model; the junior is the student.

How distillation works

  1. Choose a teacher: a large, accurate model.
  2. Choose a student: a smaller architecture, often with far fewer parameters.
  3. Generate teacher outputs on a large set of inputs.
  4. Train the student to match the teacher’s outputs, often combined with the original correct labels.
  5. Evaluate the student against the teacher and deploy it where speed and cost matter.

Soft labels: why they help

Geoffrey Hinton, Oriol Vinyals and Jeff Dean popularised modern knowledge distillation in 2015. Their key idea was to train on the teacher’s full probability distribution, softened with a temperature setting.

Worked example: a teacher classifying an image might output: dog 0.80, wolf 0.15, cat 0.05. A hard label just says “dog”. The soft label also teaches that this image looks somewhat like a wolf and very little like a cat. This “dark knowledge” about similarities helps the student learn more from each example.

Distillation for LLMs

ApproachHow it works
Logit distillationThe student matches the teacher’s token probabilities; requires access to the teacher’s internals
Response (sequence) distillationThe teacher generates answers; the student is fine-tuned on them
Reasoning distillationThe student learns from a reasoning model’s step-by-step solutions
On-policy distillationThe student generates answers and the teacher scores or corrects them

Examples: DistilBERT (2019) was reported to be 40% smaller and 60% faster than BERT while keeping about 97% of its language understanding performance. More recently, several labs released smaller models distilled from their larger reasoning models, bringing strong reasoning to models that fit on a single GPU.

Distillation vs quantization vs fine-tuning

TechniqueWhat changesMain benefit
DistillationA new, smaller model is trainedMuch cheaper model with inherited ability
QuantizationSame model, fewer bitsLess memory, faster inference
Fine-tuningExisting model adapted to a taskBetter task performance

These can be combined: distil a small model, fine-tune it for a task, then quantize it for deployment.

Legal and ethical points

Many AI providers’ terms prohibit using their outputs to develop competing models. Distilling from open models with permissive licences, or from your own models, avoids this issue. Students also inherit their teacher’s errors and biases.

Limitations

  • The student rarely matches the teacher on every task, especially rare or complex ones.
  • Requires a strong teacher and plenty of data or compute to generate outputs.
  • Teacher mistakes and biases transfer to the student.
  • Terms of service may restrict which teachers you can use.

Common Use Cases

01

Cheaper production models

Replace expensive large models with distilled students for high-volume tasks.

02

On-device AI

Create compact models for phones, browsers and edge devices.

03

Task-specific assistants

Distil a large model's behaviour on one task into a small specialist.

04

Reasoning in small models

Teach smaller models step-by-step reasoning from larger reasoning models.

05

Low-latency search and ranking

Use distilled encoders for fast semantic search.

06

Cost-efficient classification

Distil LLM labels into small classifiers for scale.

Frequently Asked Questions

Training a smaller student model to imitate a larger teacher model so it runs faster and cheaper while keeping much of its ability.

The teacher's full probability outputs across all options, which carry more information than a single correct answer.

Earlier work existed, but Hinton, Vinyals and Dean popularised modern knowledge distillation in 2015.

Many providers' terms prohibit using outputs to build competing models. Check licences and terms before distilling.

A 2019 distilled version of BERT reported to be 40% smaller and 60% faster while keeping about 97% of its performance.

Related Terms

  • Model Quantization
  • Small Language Model
  • Fine-Tuning
  • Teacher-Student Model
  • Reasoning Model
  • LLM Inference

Related AI Terms

What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is Positional Encoding?Positional encoding is the method transformers use to represent the order of tokens in a sequence, because the…What is an Attention Head?An attention head is a single attention unit inside a transformer layer, with its own query, key and…What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is RoPE (Rotary Positional Embedding)?RoPE (rotary positional embedding) encodes a token's position by rotating its query and key vectors by an angle…

Contents

  1. 01Key takeaways
  2. 02Model distillation explained in simple terms
  3. 03How distillation works
  4. 04Soft labels: why they help
  5. 05Distillation for LLMs
  6. 06Distillation vs quantization vs fine-tuning
  7. 07Legal and ethical points
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

  • What is Self-Attention?
  • What is Positional Encoding?
  • What is an Attention Head?
  • What is Multi-Head Attention?
  • What is Prefix Tuning?
  • What is RoPE (Rotary Positional Embedding)?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 21, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}