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

从CNN蒸馏高效视觉Transformer用于语义分割

Distilling Efficient Vision Transformers from CNNs for Semantic Segmentation

HKUST(GZ)(香港科技大学(广州));Brown University(布朗大学);University of Science and Technology of China(中国科学技术大学);HKUST(香港科技大学)

Xu Zheng, Yunhao Luo, Pengyuan Zhou, Lin Wang

AI总结:

本文提出C2VKD框架,通过视觉-语言特征蒸馏和像素级解耦蒸馏,将CNN教师知识有效转移至紧凑ViT学生模型,在语义分割基准上mIoU增量超过SoTA KD方法的200%。

摘要:

本文探讨了一个新问题:如何从预训练的体积庞大但性能优越的基于CNN的模型中转移知识,以学习一个紧凑的基于视觉Transformer(ViT)的模型,同时保持其学习能力?由于ViT与CNN的特性完全不同,且在知识蒸馏(KD)中长期存在的教师与学生模型之间的能力差距,直接进行跨模型知识转移并非易事。为此,我们巧妙地利用了ViT(即学生)的视觉与语言兼容特征特性,以及其与CNN(即教师)之间的能力差距,提出了一种新颖的CNN到ViT的知识蒸馏框架,称为C2VKD。重要的是,由于教师的特征与学生的特征异构,我们首先提出了一种新颖的视觉-语言特征蒸馏(VLFD)模块,该模块在对齐的视觉和语言兼容表示之间探索高效的KD。此外,由于教师与学生之间的巨大能力差距以及教师不可避免的预测误差,我们随后提出了一种像素级解耦蒸馏(PDD)模块,在标签与教师预测的解耦目标类和非目标类组合下监督学生。在三个语义分割基准数据集上的实验一致表明,我们方法的mIoU增量超过当前最先进KD方法的200%。

英文摘要:

In this paper, we tackle a new problem: how to transfer knowledge from the pre-trained cumbersome yet well-performed CNN-based model to learn a compact Vision Transformer (ViT)-based model while maintaining its learning capacity? Due to the completely different characteristics of ViT and CNN and the long-existing capacity gap between teacher and student models in Knowledge Distillation (KD), directly transferring the cross-model knowledge is non-trivial. To this end, we subtly leverage the visual and linguistic-compatible feature character of ViT (i.e., student), and its capacity gap with the CNN (i.e., teacher) and propose a novel CNN-to-ViT KD framework, dubbed C2VKD. Importantly, as the teacher's features are heterogeneous to those of the student, we first propose a novel visual-linguistic feature distillation (VLFD) module that explores efficient KD among the aligned visual and linguistic-compatible representations. Moreover, due to the large capacity gap between the teacher and student and the inevitable prediction errors of the teacher, we then propose a pixel-wise decoupled distillation (PDD) module to supervise the student under the combination of labels and teacher's predictions from the decoupled target and non-target classes. Experiments on three semantic segmentation benchmark datasets consistently show that the increment of mIoU of our method is over 200% of the SoTA KD methods

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

↑