AIExplainer

What is distillation?

A process of transferring knowledge from a complex model to a simpler one

Distillation in AI refers to the process of taking a large, complex model and using it to train a smaller, simpler model. The goal is to preserve the accuracy of the large model while reducing its size and computational requirements.

Think of distillation like a master chef teaching an apprentice. The master chef has years of experience and knows all the intricacies of cooking, but the apprentice only needs to learn the basics. The master chef distills their knowledge into simple, easy-to-follow instructions that the apprentice can use to cook a great meal.

For example, a company might use distillation to take a large language model that's been trained on a massive dataset and use it to train a smaller model that can run on a smartphone. This allows the company to deploy a chatbot or virtual assistant that's both accurate and efficient.

Distillation is used in a variety of applications, including model compression, knowledge transfer, and edge AI. It's particularly useful when deploying AI models on devices with limited computational resources, such as smartphones or smart home devices.

One common misconception about distillation is that it's a way to simplify complex models without losing any accuracy. While distillation can preserve a significant amount of accuracy, it's not always possible to transfer all of the knowledge from the large model to the smaller one.

The concept of distillation in AI was first introduced in the 1990s, but it wasn't until the 2010s that it became a widely used technique. Today, distillation is an active area of research, with many companies and organizations working to develop new and improved distillation methods.

model compression knowledge transfer model pruning

Three products for different needs — explore what’s relevant to you.