NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hierarchical Self-supervised Augmented Knowledge Distillation

Chuanguang Yang, Zhulin An, Linhang Cai, Yongjun Xu

Abstract

Knowledge Distillation (KD) is a pivotal technique for compressing large-scale teacher models into efficient student networks. However, traditional KD often overlooks the rich hierarchical information within intermediate layers and can suffer from task conflicts when integrated with self-supervised learning. We present Hierarchical Self-supervised Augmented Knowledge Distillation (HSAKD), a framework that addresses these challenges by introducing a joint label space for self-supervised tasks and employing hierarchical auxiliary classifiers. HSAKD achieves state-of-the-art results on CIFAR-100 and ImageNet benchmarks, demonstrating significant improvements in both accuracy and representation transferability without increasing inference overhead.

Introduction

The primary goal of Knowledge Distillation is to transfer "dark knowledge" from a high-capacity teacher to a compact student. While effective, standard approaches face two main limitations: an information bottleneck at the final output layer and task conflicts in self-supervised KD. Many existing self-supervised methods aim for transformation invariance, which can inadvertently discard semantic information crucial for the primary classification task. HSAKD overcomes these by promoting transformation awareness through a joint label space and facilitating deep feature transfer via a hierarchical structure.

Methodology

Self-supervised Augmented Label (SAL)

A core innovation of HSAKD is the Self-supervised Augmented Label (SAL). Instead of treating self-supervision (e.g., rotation prediction) as a separate task or an invariance constraint, HSAKD merges it with the primary classification task into a joint distribution. For a dataset with $N$ classes and $M$ rotation angles, the model is trained to classify images into $N \times M$ categories. This approach forces the network to learn the intricate relationship between object identity and spatial orientation, creating a richer supervision signal for the student.

The SAL process integrates identity and rotation into a joint label space, allowing for more informative distribution mimicry.

Hierarchical Auxiliary Classifiers

To mitigate the "abstraction mismatch" between different network architectures, HSAKD utilizes hierarchical auxiliary classifiers. These small heads are attached to the intermediate stages of both the teacher and student backbones.

  • One-to-One Mimicry: The student is trained to match the teacher's augmented probability distributions at each stage.
  • Structural Independence: By distilling probability distributions rather than raw feature maps, the method remains effective even when teacher and student architectures differ significantly in layer width or internal design.
  • Efficiency: These auxiliary components are used only during training and are discarded for inference, maintaining the student's computational efficiency.
Overview of the HSAKD architecture, highlighting the flow of information through hierarchical stages and auxiliary classifiers.

Experimental Results

The effectiveness of HSAKD was validated across multiple standard benchmarks, showing consistent improvements over previous state-of-the-art methods like SSKD.

  • CIFAR-100 Performance: HSAKD delivered an average Top-1 accuracy boost of 2.56% across diverse teacher-student pairs.
  • Large-Scale Benchmarking (ImageNet): Using a ResNet-34 teacher and ResNet-18 student, HSAKD achieved 72.16% Top-1 accuracy, significantly outperforming the baseline (69.75%) and SSKD (71.62%).
  • Downstream Transferability: Representations learned via HSAKD proved highly robust. In object detection tasks on Pascal VOC, the HSAKD-trained backbone improved mAP by 2.27% over standard training.
  • Data Efficiency: In low-data regimes (25% of training samples), HSAKD achieved performance levels comparable to other methods using the full dataset, highlighting its superior information extraction capabilities.

Conclusion

HSAKD introduces a powerful paradigm for knowledge distillation by emphasizing transformation awareness and hierarchical feature alignment. By leveraging a joint label space and intermediate auxiliary classifiers, it successfully transfers complex, multi-faceted knowledge to compact models. This approach not only sets new performance standards but also ensures that the resulting models are highly transferable to diverse downstream vision tasks.

Summary updated

BibTeX
@inproceedings{yang2021hierarchical,
  author = {Chuanguang Yang and Zhulin An and Linhang Cai and Yongjun Xu},
  title = {{Hierarchical Self-supervised Augmented Knowledge Distillation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/168},
}
Figure