Distilling the Knowledge in a Neural Network

Geoffrey Hinton, Oriol Vinyals, Jeff Dean
3/9/2015
27,835 citations
stat.MLcs.LGcs.NE

No official code found. Best implementation: JoonyoungYi/KD-pytorch (64 stars). 2 more below.

Abstract

A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions. Unfortunately, making predictions using a whole ensemble of models is cumbersome and may be too computationally expensive to allow deployment to a large number of users, especially if the individual models are large neural nets.

Show full abstract

Caruana and his collaborators have shown that it is possible to compress the knowledge in an ensemble into a single model which is much easier to deploy and we develop this approach further using a different compression technique. We achieve some surprising results on MNIST and we show that we can significantly improve the acoustic model of a heavily used commercial system by distilling the knowledge in an ensemble of models into a single model. We also introduce a new type of ensemble composed of one or more full models and many specialist models which learn to distinguish fine-grained classes that the full models confuse. Unlike a mixture of experts, these specialist models can be trained rapidly and in parallel.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
JoonyoungYi/KD-pytorchCommunity64–––
Irtza/Keras_model_compressionCommunity61–––
thaonguyen19/ModelDistillation-PyTorchCommunity59–––

PyTorch implementation of "Distilling the Knowledge in a Neural Network"

6411

Model Compression Based on Geoffery Hinton's Logit Regression Method in Keras applied to MNIST 16x compression over 0.95 percent accuracy.An Implementation of "Distilling the Knowledge in a Neural Network - Geoffery Hinton et. al"

614

PyTorch implementation of "Distilling the Knowledge in a Neural Network" for model compression

599

Similar Papers

Cite this paper

@article{hinton2015distilling,
  title  = {Distilling the Knowledge in a Neural Network},
  author = {Geoffrey Hinton and Oriol Vinyals and Jeff Dean},
  year   = {2015},
  eprint = {1503.02531},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1503.02531}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1503.02531.svg)](https://codeofpaper.com/paper/1503.02531)

Discussion