arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.04208cs.CV
收藏

AMD:大规模视觉模型的自动多步蒸馏

AMD: Automatic Multi-step Distillation of Large-scale Vision Models

University of Missouri – Kansas City(密苏里大学堪萨斯分校);Rochester Institute of Technology(罗切斯特理工学院);Meta AI;DEVCOM Army Research Laboratory(DEVCOM陆军研究实验室);Santa Clara University(圣克拉拉大学);Kent State University(肯特州立大学);Virginia Tech(弗吉尼亚理工大学)

Cheng Han, Qifan Wang, Sohail A. Dianat, Majid Rabbani, Raghuveer M. Rao, Yi Fang, Qiang Guan, Lifu Huang, Dongfang Liu

AI总结:

本文提出自动多步蒸馏(AMD)方法,通过自动选择最优中间教师助手模型来缩小师生模型容量差距,在多个图像分类基准上优于现有知识蒸馏方法。

摘要:

基于Transformer的架构因其优越的性能,已成为多种视觉任务的事实标准模型。随着模型规模的持续扩大,模型蒸馏在各种实际应用中变得极为重要,尤其是在计算资源受限的设备上。然而,当教师模型与学生模型之间存在较大的容量差距(例如10倍压缩率)时,现有的知识蒸馏方法效果会显著下降。本文提出了一种名为自动多步蒸馏(AMD)的新方法,用于大规模视觉模型压缩。具体而言,我们的蒸馏过程分为多个步骤展开:首先对教师模型进行蒸馏,形成一个中间的教师助手模型,随后再将其进一步蒸馏到学生模型。我们引入了一个高效且有效的优化框架,以自动识别能够使学生模型性能达到最优的最佳教师助手模型。我们在多个图像分类数据集上进行了大量实验,包括CIFAR-10、CIFAR-100和ImageNet。实验结果一致表明,我们的方法优于多个已有基线方法,为未来大规模视觉模型的知识蒸馏方法开辟了道路。

英文摘要:

Transformer-based architectures have become the de-facto standard models for diverse vision tasks owing to their superior performance. As the size of the models continues to scale up, model distillation becomes extremely important in various real applications, particularly on devices limited by computational resources. However, prevailing knowledge distillation methods exhibit diminished efficacy when confronted with a large capacity gap between the teacher and the student, e.g, 10x compression rate. In this paper, we present a novel approach named Automatic Multi-step Distillation (AMD) for large-scale vision model compression. In particular, our distillation process unfolds across multiple steps. Initially, the teacher undergoes distillation to form an intermediate teacher-assistant model, which is subsequently distilled further to the student. An efficient and effective optimization framework is introduced to automatically identify the optimal teacher-assistant that leads to the maximal student performance. We conduct extensive experiments on multiple image classification datasets, including CIFAR-10, CIFAR-100, and ImageNet. The findings consistently reveal that our approach outperforms several established baselines, paving a path for future knowledge distillation methods on large-scale vision models.

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

↑