arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1510.02437stat.MLcs.LG
收藏

提取模型知识

Distilling Model Knowledge

University of Edinburgh(爱丁堡大学)

George Papamakarios

摘要:

性能最好的机器学习系统,如深度神经网络、大型集成和复杂的概率图模型,存储成本高、评估速度慢,而且难以集成到更大的系统中。理想情况下,我们希望用性能同样好的更简单的模型来取代这些繁琐的模型。在这篇论文中,我们研究了知识蒸馏,即提取包含在复杂模型中的知识并将其注入到更方便的模型中的思想。我们提出了一个知识蒸馏的一般框架,我们选择的一个方便的模型通过观察复杂模型的行为来学习如何模仿复杂模型,并且当它无法复制它时会受到惩罚。我们在三个不同的机器学习应用程序的背景下开发我们的框架:(a)模型压缩,其中我们将大型判别模型(例如神经网络的集合)压缩成小得多的模型;(b)用于贝叶斯推断的紧凑预测分布,其中我们将大量MCMC样本以封闭形式转换为紧凑预测分布;(c)难以处理的生成模型,其中我们将RBM等不可归一化的模型转换为NAD等易处理的模型。我们以新颖的技术和想法为艺术的状态做出贡献。在模型压缩中,我们描述并实现了导数匹配,这允许在数据稀缺时进行更好的蒸馏。在紧凑的预测分布中,我们引入了在线蒸馏,这可以显著节省内存。最后,在难处理的生成模型中,我们展示了如何使用蒸馏模型来鲁棒地估计原始模型的难处理的数量,例如其难处理的分区函数。

英文摘要:

Top-performing machine learning systems, such as deep neural networks, large ensembles and complex probabilistic graphical models, can be expensive to store, slow to evaluate and hard to integrate into larger systems. Ideally, we would like to replace such cumbersome models with simpler models that perform equally well. In this thesis, we study knowledge distillation, the idea of extracting the knowledge contained in a complex model and injecting it into a more convenient model. We present a general framework for knowledge distillation, whereby a convenient model of our choosing learns how to mimic a complex model, by observing the latter's behaviour and being penalized whenever it fails to reproduce it. We develop our framework within the context of three distinct machine learning applications: (a) model compression, where we compress large discriminative models, such as ensembles of neural networks, into models of much smaller size; (b) compact predictive distributions for Bayesian inference, where we distil large bags of MCMC samples into compact predictive distributions in closed form; (c) intractable generative models, where we distil unnormalizable models such as RBMs into tractable models such as NADEs. We contribute to the state of the art with novel techniques and ideas. In model compression, we describe and implement derivative matching, which allows for better distillation when data is scarce. In compact predictive distributions, we introduce online distillation, which allows for significant savings in memory. Finally, in intractable generative models, we show how to use distilled models to robustly estimate intractable quantities of the original model, such as its intractable partition function.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑