Skip to content

Contact LV

lv@dablock.com

Juan Lago (LV) uses your details to reply to enquiries (legitimate interest), fulfil a contract with you, or take steps you request before entering one. Privacy and your rights

Distillation

Training a student model from teacher-provided signals

LV glossary Updated

What is Distillation?

Model distillation trains a student using signals from a teacher model, such as outputs or probability distributions. The aim may be a smaller or cheaper model for a defined task. Retained quality must be measured; broad teacher capability does not automatically transfer.

How it works

Teacher → Training signals → Student → Evaluation
Read the diagram
  1. Teacher
  2. Training signals
  3. Student
  4. Evaluation

Key takeaways

  • Evaluate the specific task and held-out failure cases.

  • Account for training costs as well as inference savings.

▸

Illustrative example

In a hypothetical summarization project, train the student on permitted teacher examples, then compare both against human-reviewed held-out summaries. Record factual errors, format compliance, latency, and cost before choosing the student.

Distillation and fine-tuning describe different aspects

Fine-tuning describes additional training of an existing model; distillation describes the teacher-to-student source of training signals. A project can use both. Curate examples, check permitted use, and evaluate difficult cases where the student may lose capability. Lower per-request cost needs to cover dataset preparation, training, and maintenance before it produces net savings.

Sources and documentation