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

DearKD:用于视觉Transformer的数据高效早期知识蒸馏

DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformers

ShanghaiTech University(上海科技大学);JD Explore Academy(京东探索研究院);Meituan Inc.(美团公司);The University of Sydney(悉尼大学);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程技术研究中心);Shanghai Engineering Research Center of Energy Efficient and Custom AI IC(上海能效与定制人工智能集成电路工程技术研究中心)

Xianing Chen, Qiong Cao, Yujie Zhong, Jing Zhang, Shenghua Gao, Dacheng Tao

摘要:

由于Transformers具有强大的自注意建模能力,因此被成功应用于计算机视觉。然而,Transformers的优异性能在很大程度上取决于大量的训练图像。因此,迫切需要一种数据高效的Transformer解决方案。在这项工作中,我们提出了一个早期的知识蒸馏框架,这是被称为DearKD,以提高数据效率所需的Transformers器。我们的DearKD是一个两阶段的框架,首先从CNN的早期中间层中提取归纳偏差,然后通过训练而不蒸馏,充分发挥Transformer的作用。此外,我们的DearKD可以很容易地应用于没有真实图像的极端无数据情况。在这种情况下,我们提出了一种基于DeepInversion的边界保持内部发散损失,以进一步缩小与完整数据对应物的性能差距。在ImageNet、部分ImageNet、无数据设置和其他下游任务上的大量实验证明了DearKD相对于其基线和最先进方法的优越性。

英文摘要:

Transformers are successfully applied to computer vision due to their powerful modeling capacity with self-attention. However, the excellent performance of transformers heavily depends on enormous training images. Thus, a data-efficient transformer solution is urgently needed. In this work, we propose an early knowledge distillation framework, which is termed as DearKD, to improve the data efficiency required by transformers. Our DearKD is a two-stage framework that first distills the inductive biases from the early intermediate layers of a CNN and then gives the transformer full play by training without distillation. Further, our DearKD can be readily applied to the extreme data-free case where no real images are available. In this case, we propose a boundary-preserving intra-divergence loss based on DeepInversion to further close the performance gap against the full-data counterpart. Extensive experiments on ImageNet, partial ImageNet, data-free setting and other downstream tasks prove the superiority of DearKD over its baselines and state-of-the-art methods.

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

↑