arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.03187cs.CVcs.AI
收藏

面向 Transformer 目标检测的知识融合

Knowledge Amalgamation for Object Detection with Transformers

College of Computer Science, Zhejiang university(浙江大学计算机学院);Alibaba(阿里巴巴);College of Software Technology, Zhejiang University(浙江大学软件学院);Zhejiang Lab(之江实验室)

Haofei Zhang, Feng Mao, Mengqi Xue, Gongfan Fang, Zunlei Feng, Jie Song, Mingli Song

AI总结:

本文针对 Transformer 目标检测提出序列级与任务级知识融合方法,通过拼接教师序列和软目标学习异构任务,在 PASCAL VOC 与 COCO 上显著提升紧凑学生模型性能。

摘要:

知识融合(KA)是一种新颖的深度模型复用任务,旨在将来自若干训练良好的教师模型的知识迁移给一个多才多艺且结构紧凑的学生模型。目前,这类方法大多是为卷积神经网络(CNN)定制的。然而,一种趋势是,拥有完全不同架构的 Transformer 正开始在许多计算机视觉任务中挑战 CNN 的主导地位。尽管如此,将以往的 KA 方法直接应用于 Transformer 会导致严重的性能下降。在本工作中,我们探索了一种更有效的、用于基于 Transformer 的目标检测模型的 KA 方案。具体而言,考虑到 Transformer 的架构特性,我们建议将 KA 分解为两个方面:序列级融合(SA)和任务级融合(TA)。特别地,在序列级融合中,通过拼接教师序列来生成提示,而不是像以往 KA 工作那样将它们冗余聚合为一个固定大小的序列。此外,在任务级融合中,学生通过软目标高效学习异构检测任务。在 PASCAL VOC 和 COCO 上的大量实验表明,序列级融合显著提升了学生模型的性能,而以往方法则会损害学生模型。此外,基于 Transformer 的学生擅长学习融合知识,因为它们能够快速掌握异构检测任务,并在教师模型的专长领域取得优于或至少可与之相比的性能。

英文摘要:

Knowledge amalgamation (KA) is a novel deep model reusing task aiming to transfer knowledge from several well-trained teachers to a multi-talented and compact student. Currently, most of these approaches are tailored for convolutional neural networks (CNNs). However, there is a tendency that transformers, with a completely different architecture, are starting to challenge the domination of CNNs in many computer vision tasks. Nevertheless, directly applying the previous KA methods to transformers leads to severe performance degradation. In this work, we explore a more effective KA scheme for transformer-based object detection models. Specifically, considering the architecture characteristics of transformers, we propose to dissolve the KA into two aspects: sequence-level amalgamation (SA) and task-level amalgamation (TA). In particular, a hint is generated within the sequence-level amalgamation by concatenating teacher sequences instead of redundantly aggregating them to a fixed-size one as previous KA works. Besides, the student learns heterogeneous detection tasks through soft targets with efficiency in the task-level amalgamation. Extensive experiments on PASCAL VOC and COCO have unfolded that the sequence-level amalgamation significantly boosts the performance of students, while the previous methods impair the students. Moreover, the transformer-based students excel in learning amalgamated knowledge, as they have mastered heterogeneous detection tasks rapidly and achieved superior or at least comparable performance to those of the teachers in their specializations.

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

↑