神经网络中的知识蒸馏

Distilling the Knowledge in a Neural Network

杰弗里·辛顿 Geoffrey Hinton · Google · 2015-03-09 · arXiv:1503.02531 ↗ · 被引 24886

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

一种提升几乎所有机器学习算法性能的简单方法是,在相同数据上训练多个不同模型,然后对其预测取平均。然而,使用整个集成模型进行预测可能很繁琐,且计算成本过高,难以部署给大量用户,尤其是当单个模型是大型神经网络时。Caruana 及其合作者已证明,可以将集成模型中的知识压缩到单个模型中,从而更易于部署。我们使用一种不同的压缩技术进一步改进了这一方法。我们在 MNIST 上取得了一些令人惊讶的结果,并展示了通过将集成模型的知识蒸馏到单个模型中,可以显著改进一个广泛使用的商业系统的声学模型。我们还引入了一种新型集成模型,由一个或多个完整模型和许多专家模型组成,这些专家模型学习区分完整模型容易混淆的细粒度类别。与混合专家模型不同,这些专家模型可以快速并行训练。

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. 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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 17)

阅读逐段中英对照全文 →