arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.02271cs.LGstat.ML
收藏

基于生成对抗网络的师生压缩

Teacher-Student Compression with Generative Adversarial Networks

Stanford University(斯坦福大学);Microsoft Research(微软研究院)

Ruishan Liu, Nicolo Fusi, Lester Mackey

摘要:

更精确的机器学习模型在测试时通常需要更多的计算和内存,这使得它们难以部署在CPU或内存受限的设备上。教师-学生压缩(TSC),也称为蒸馏,通过训练一个不太昂贵的学生模型来模仿昂贵的教师模型,同时保持大部分原始准确性,从而减轻了这一负担。然而,当新数据不可用于压缩任务时,教师的训练数据通常被重用,导致次优压缩。在这项工作中,我们建议增加压缩数据集与合成数据从生成对抗网络(GAN),旨在近似的训练数据分布。我们的GAN-assisted TSC(GAN-TSC)显著提高了昂贵模型(如大型随机森林和深度神经网络)在表格和图像数据集上的学生准确性。基于这些结果,我们提出了一个全面的度量-TSC得分-基于其诱导TSC性能来评估合成数据集的质量。TSC得分捕获数据多样性和类的亲和力,我们说明了它的好处超过流行的初始得分的背景下,图像分类。

英文摘要:

More accurate machine learning models often demand more computation and memory at test time, making them difficult to deploy on CPU- or memory-constrained devices. Teacher-student compression (TSC), also known as distillation, alleviates this burden by training a less expensive student model to mimic the expensive teacher model while maintaining most of the original accuracy. However, when fresh data is unavailable for the compression task, the teacher's training data is typically reused, leading to suboptimal compression. In this work, we propose to augment the compression dataset with synthetic data from a generative adversarial network (GAN) designed to approximate the training data distribution. Our GAN-assisted TSC (GAN-TSC) significantly improves student accuracy for expensive models such as large random forests and deep neural networks on both tabular and image datasets. Building on these results, we propose a comprehensive metric---the TSC Score---to evaluate the quality of synthetic datasets based on their induced TSC performance. The TSC Score captures both data diversity and class affinity, and we illustrate its benefits over the popular Inception Score in the context of image classification.

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

↑