Explicit Spatial Hint and Implicit Logits Relation: Distilling Heterogeneous Knowledge From Vision Transformer to CNN
A lightweight Convolutional Neural Network (CNN) typically requires knowledge transfer from a large powerful network before it is employed in resource-limited edge devices. Vision Transformer (ViT) possesses an unparalleled capability for global modeling but remains largely unexplored in Knowledge Distillation (KD). The main reason is that the gap in receptive fields between ViT and CNN causes representation discrepancy and logits confidence-bias. In this paper, we propose a novel heterogeneous distillation method based on explicit spatial hint and implicit logits relation for transferring knowledge from ViT to CNN. By exploiting class discriminative regions of an input image, class attention transfer is developed to adaptively identify common regions of interest as a spatial hint, bridging the representation gap between the heterogeneous architectures. Meanwhile, a learnable projector equipped with our soft maximum function is introduced to refine the logits relation to evaluate all classification results more evenly with smoother gradient flows, which helps CNN to effectively learn with larger capacity gaps. Extensive experiments demonstrate that our proposed method can achieves state-of-the-art performance on multiple benchmark datasets, which is simple yet efficient without relying on any auxiliary network of homogeneous architectures.
Authors
- Xubin Wu (ORCID: https://orcid.org/0009-0009-3460-9926)
- Wenkuan Li (ORCID: https://orcid.org/0000-0001-5603-6422)
- Dongyuan Li (ORCID: https://orcid.org/0000-0002-4462-3563)
- Ming Li (ORCID: https://orcid.org/0000-0002-4214-6556)
- Haifang Li (ORCID: https://orcid.org/0009-0003-1098-4023)
- Shuo Gao (ORCID: https://orcid.org/0009-0002-7950-2929)
Institutions
- Shandong University (CN)
- Simon Fraser University (CA)
- Taiyuan University of Technology (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10889610
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Research and Development