TheSequence

TheSequence

Share this post

TheSequence
TheSequence
Edge 447: Not All Model Distillations are Created Equal

Edge 447: Not All Model Distillations are Created Equal

Understanding the different types of model distillation.

Nov 12, 2024
∙ Paid
8

Share this post

TheSequence
TheSequence
Edge 447: Not All Model Distillations are Created Equal
1
Share
A futuristic AI teacher interacting with a group of smaller student AIs in a cinematic setting. The teacher AI has a sleek, humanoid design with glowing accents, displaying a calm and wise demeanor. The smaller student AIs are diverse, with various shapes and colors, each designed uniquely to show individuality. The background is cinematic, featuring a grand, high-tech classroom with large windows showing a futuristic cityscape at sunset, casting a warm glow over the scene. Soft lighting adds a sense of depth and wonder to the environment.
Created Using DALL-E

In this issue:

  • Understanding the different types of model distillation.

  • The original model distillation paper.

  • The Haystack framework for RAG applications.

💡 ML Concept of the Day: Types of Model Distillation

In the previous issue of this series, we introduced the concept of model distillation. The core idea of this technique is to use a teacher model to train a smaller, more efficient model that maintains the accuracy of the teacher model on a specific set of domains. As you can imagine, there are multiple ways to accomplish this based on a teacher-student interactions.

Model distillation techniques fall into three primary categories: response-based, feature-based, and relation-based. Each method emphasizes a different aspect of transferring knowledge from a larger, more complex teacher model to a smaller, more efficient student model. These approaches each come with their own set of strengths and limitations, and understanding them can be beneficial, even though response-based distillation is often the easiest to implement.

1. Response-Based Distillation:

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Jesus Rodriguez
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share