liveBook · Manning

Distillation

As explained in Generative AI in Action

Knowledge distillation is a model-compression technique in which a smaller student model learns to reproduce knowledge or behavior from a larger teacher model.

Knowledge distillation compresses capabilities from a larger teacher model into a smaller student model. It helps small language models deliver useful language performance with lower resource, training, and operating costs. section 2.6

Distillation is especially valuable when deployment constraints matter:

  • Faster training and inference support real-time applications and systems with limited processing capacity. section 2.6
  • Smaller models can extend deployment to edge devices and organizations with limited budgets. section 2.6
  • Distillation can support analysis, translation, and summarization, but smaller models may lose quality on complex tasks. section 2.6

How Generative AI in Action covers it

How deep it goes
Positions distillation as a compression technique but does not explain its training procedure or mathematical mechanism.
Examples
Uses analysis, translation, and summarization as representative small-model language tasks.
What you can do after
Evaluate distillation as an approach for trading model scale and quality against deployment speed, cost, and resource requirements.
How it connects
Connects knowledge distillation with small language models, large language models, transfer learning, and edge deployment.

Also explained in

Compare how 6 books explain distillation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Generative AI in Action. The section links point to the parts of the book it draws on.