Knowledge Distillation Using Hierarchical Self-Supervision Augmented Distribution

Chuanguang Yang, Zhulin An, Linhang Cai, Yongjun Xu
9/7/2021
cs.CV
contrastive-ssldistillation

Official code: winycg/HSAKD (78 stars, Python, Apache-2.0, last commit 2024-03-22).

Abstract

Knowledge distillation (KD) is an effective framework that aims to transfer meaningful information from a large teacher to a smaller student. Generally, KD often involves how to define and transfer knowledge.

Show full abstract

Previous KD methods often focus on mining various forms of knowledge, for example, feature maps and refined information. However, the knowledge is derived from the primary supervised task and thus is highly task-specific. Motivated by the recent success of self-supervised representation learning, we propose an auxiliary self-supervision augmented task to guide networks to learn more meaningful features. Therefore, we can derive soft self-supervision augmented distributions as richer dark knowledge from this task for KD. Unlike previous knowledge, this distribution encodes joint knowledge from supervised and self-supervised feature learning. Beyond knowledge exploration, we propose to append several auxiliary branches at various hidden layers, to fully take advantage of hierarchical feature maps. Each auxiliary branch is guided to learn self-supervision augmented task and distill this distribution from teacher to student. Overall, we call our KD method as Hierarchical Self-Supervision Augmented Knowledge Distillation (HSSAKD). Experiments on standard image classification show that both offline and online HSSAKD achieves state-of-the-art performance in the field of KD. Further transfer experiments on object detection further verify that HSSAKD can guide the network to learn better features. The code is available at https://github.com/winycg/HSAKD.

View on arXivView PDF

Code Implementations(1)

winycg/HSAKDOfficial100%
Apache-2.0

[IJCAI-2021&&TNNLS-2022] Official implementation of Hierarchical Self-supervised Augmented Knowledge Distillation

7815Python, ShellMay 10, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2021knowledge,
  title  = {Knowledge Distillation Using Hierarchical Self-Supervision Augmented Distribution},
  author = {Chuanguang Yang and Zhulin An and Linhang Cai and Yongjun Xu},
  year   = {2021},
  eprint = {2109.03075},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03075}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.03075.svg)](https://codeofpaper.com/paper/2109.03075)

Discussion