Multi-level Knowledge Distillation via Knowledge Alignment and Correlation

Fei Ding, Yin Yang, Hongxin Hu, Venkat Krovi, Feng Luo
12/1/2020
cs.CV
contrastive-ssldistillation

Official code: ifding/DLKD (12 stars, Python, MIT, last commit 2022-12-21).

Abstract

Knowledge distillation (KD) has become an important technique for model compression and knowledge transfer. In this work, we first perform a comprehensive analysis of the knowledge transferred by different KD methods.

Show full abstract

We demonstrate that traditional KD methods, which minimize the KL divergence of softmax outputs between networks, are related to the knowledge alignment of an individual sample only. Meanwhile, recent contrastive learning-based KD methods mainly transfer relational knowledge between different samples, namely, knowledge correlation. While it is important to transfer the full knowledge from teacher to student, we introduce the Multi-level Knowledge Distillation (MLKD) by effectively considering both knowledge alignment and correlation. MLKD is task-agnostic and model-agnostic, and can easily transfer knowledge from supervised or self-supervised pretrained teachers. We show that MLKD can improve the reliability and transferability of learned representations. Experiments demonstrate that MLKD outperforms other state-of-the-art methods on a large number of experimental settings including different (a) pretraining strategies (b) network architectures (c) datasets (d) tasks.

View on arXivView PDF

Code Implementations(1)

ifding/DLKDOfficial100%
MIT

Source Code for "Dual-Level Knowledge Distillation via Knowledge Alignment and Correlation", TNNLS, https://ieeexplore.ieee.org/abstract/document/9830618

124Python, ShellDec 9, 20203 years agoMIT

Similar Papers

Cite this paper

@article{ding2020multilevel,
  title  = {Multi-level Knowledge Distillation via Knowledge Alignment and Correlation},
  author = {Fei Ding and Yin Yang and Hongxin Hu and Venkat Krovi and Feng Luo},
  year   = {2020},
  eprint = {2012.00573},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.00573}
}

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/2012.00573.svg)](https://codeofpaper.com/paper/2012.00573)

Discussion