Heterogeneous Complementary Distillation

Authors

  • Liuchi Xu Northeastern University; Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, China;
  • Hao Zheng South China Normal University;
  • Lu Wang Northeastern University;
  • Lisheng Xu Northeastern University;
  • Jun Cheng Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, China; The Chinese University of Hong Kong, Hong Kong, China;

DOI:

https://doi.org/10.1609/aaai.v40i13.38112

Abstract

Knowledge distillation (KD) transfers the ``dark knowledge'' from a complex teacher model to a compact student model. However, heterogeneous architecture distillation, such as Vision Transformer (ViT) to ResNet18, faces challenges due to differences in spatial feature representations. Traditional KD methods are mostly designed for homogeneous architectures and hence struggle to effectively address the disparity. Although heterogeneous KD approaches have been developed recently to solve these issues, they often incur high computational costs and complex designs, or overly rely on logit alignment, which limits their ability to leverage the complementary features. To overcome these limitations, we propose Heterogeneous Complementary Distillation (HCD), a simple yet effective framework that integrates complementary teacher and student features to align representations in shared logits. These logits are decomposed and constrained to facilitate diverse knowledge transfer to the student. Specifically, HCD processes the student’s intermediate features through convolutional projector and adaptive pooling, concatenates them with teacher's feature from the penultimate layer and then maps them via the Complementary Feature Mapper (CFM) module, comprising fully connected layer, to produce shared logits. We further introduce Sub-logit Decoupled Distillation (SDD) that partitions the shared logits into n sub-logits, which are fused with teacher's logits to rectify classification. To ensure sub-logit diversity and reduce redundant knowledge transfer, we propose an Orthogonality Loss (OL). By preserving student-specific strengths and leveraging teacher knowledge, HCD enhances robustness and generalization in students. Extensive experiments on the CIFAR-100, fine-grained (e.g., CUB200, Aircraft) and ImageNet-1K datasets demonstrate that HCD outperforms state-of-the-art KD methods, establishing it as an effective solution for heterogeneous KD.

Downloads

Published

2026-03-14

How to Cite

Xu, L., Zheng, H., Wang, L., Xu, L., & Cheng, J. (2026). Heterogeneous Complementary Distillation. Proceedings of the AAAI Conference on Artificial Intelligence, 40(13), 11314–11322. https://doi.org/10.1609/aaai.v40i13.38112

Issue

Section

AAAI Technical Track on Computer Vision X