Artificial Intelligence
Model distillation
Appears inAIF-C01
A technique where a small model (the "student") is trained to replicate the behavior of a large model (the "teacher"), producing a faster and cheaper model to operate with controlled quality loss.
On the exam
In AIF-C01 (Domain 3) it sits at the highest-effort end of the customization scale, alongside pre-training: useful when you need to reduce inference latency/cost while retaining most of the large model's capability.
Related terms
- Fine-tuningProcess of continuing to train a pretrained foundation model on your own labeled dataset to specialize it for a specific task or domain, adjusting the model's weights (unlike RAG or in-context learning, which don't modify the model).
- Foundation modelLarge-scale AI model, pretrained on huge volumes of diverse data, that can be adapted to multiple downstream tasks (text, image, code) through prompting, fine-tuning, or RAG, without needing to be trained from scratch for each use case.