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

基于自蒸馏的批量知识集成改进ImageNet分类

Self-distillation with Batch Knowledge Ensembling Improves ImageNet Classification

The Chinese University of Hong Kong(香港中文大学);NVIDIA(英伟达);Xidian University(西安电子科技大学);SenseTime Research(商汤科技研究院);Centre for Perceptual and Interactive Intelligence (CPII)(感知与交互智能中心)

Yixiao Ge, Xiao Zhang, Ching Lam Choi, Ka Chun Cheung, Peipei Zhao, Feng Zhu, Xiaogang Wang, Rui Zhao, Hongsheng Li

摘要:

最近的知识蒸馏研究发现,集合来自多个教师或学生的"暗知识"有助于创建用于训练的更好的软目标,但以显著更多的计算和/或参数为代价。在这项工作中,我们提出了巴奇知识集成(BAKE),通过传播和集成在同一个小批量的其他样本的知识,为锚图像产生精致的软目标。具体而言,对于每个感兴趣的样本,知识的传播根据样本间亲和力进行加权,这些亲和力是用当前网络实时估计的。传播的知识然后可以被集成以形成用于蒸馏的更好的软目标。通过这种方式,我们的BAKE框架仅用一个网络实现了多个样本的在线知识集成。与现有的知识集成方法相比,它需要最小的计算和内存开销。大量的实验表明,轻量级而有效的BAKE一致地提高了多个数据集上各种架构的分类性能,例如,在ImageNet上,Swin-T的显著增益为+0.7%,仅需+1.5%的计算开销和零附加参数。BAKE不仅改进了普通基线,而且在所有基准测试中都超过了单网络的最新技术水平。

英文摘要:

The recent studies of knowledge distillation have discovered that ensembling the "dark knowledge" from multiple teachers or students contributes to creating better soft targets for training, but at the cost of significantly more computations and/or parameters. In this work, we present BAtch Knowledge Ensembling (BAKE) to produce refined soft targets for anchor images by propagating and ensembling the knowledge of the other samples in the same mini-batch. Specifically, for each sample of interest, the propagation of knowledge is weighted in accordance with the inter-sample affinities, which are estimated on-the-fly with the current network. The propagated knowledge can then be ensembled to form a better soft target for distillation. In this way, our BAKE framework achieves online knowledge ensembling across multiple samples with only a single network. It requires minimal computational and memory overhead compared to existing knowledge ensembling methods. Extensive experiments demonstrate that the lightweight yet effective BAKE consistently boosts the classification performance of various architectures on multiple datasets, e.g., a significant +0.7% gain of Swin-T on ImageNet with only +1.5% computational overhead and zero additional parameters. BAKE does not only improve the vanilla baselines, but also surpasses the single-network state-of-the-arts on all the benchmarks.

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

↑