Distill Vision Transformers to CNNs via Teacher Collaboration
Sunqi Lin, Chong Wang, Yujie Zheng, Chenchen Tao, Xinmiao Dai, Yuqi Li
Abstract
The vision transformer (ViT) has recently emerged as a leading approach in various domains, outperforming other methods. Therefore, it is logical to explore the possibility of transferring the superior knowledge from ViT to more compact and cost-effective convolutional neural networks (CNNs). However, due to substantial architectural disparities in representation and logits between these models, conventional knowledge distillation methods have proven ineffective in this context. To address this issue, a novel cross-architecture knowledge distillation scheme based on teacher collaboration is proposed to alleviate the architecture gap. Two different teachers, i.e. one ViT and one CNN, are utilized to simultaneously distill the student by feature reaggregation and logit correction. The experiments show that the proposed scheme outperforms conventional methods on CIFAR-100 dataset. The code is available at https://github.com/SunkiLin/RCD.
BibTeX
@inproceedings{icassp2024_distillvisiontra,
title = {Distill Vision Transformers to CNNs via Teacher Collaboration},
author = {Sunqi Lin and Chong Wang and Yujie Zheng and Chenchen Tao and Xinmiao Dai and Yuqi Li},
booktitle = {ICASSP 2024},
year = {2024}
}