Semi-Online Knowledge Distillation

Zhiqiang Liu, Yanxia Liu, Chengkai Huang
11/23/2021
cs.CV
distillation

Official code: swlzq/Semi-Online-KD (4 stars, Python, last commit 2021-11-24).

Abstract

Knowledge distillation is an effective and stable method for model compression via knowledge transfer. Conventional knowledge distillation (KD) is to transfer knowledge from a large and well pre-trained teacher network to a small student network, which is a one-way process.

Show full abstract

Recently, deep mutual learning (DML) has been proposed to help student networks learn collaboratively and simultaneously. However, to the best of our knowledge, KD and DML have never been jointly explored in a unified framework to solve the knowledge distillation problem. In this paper, we investigate that the teacher model supports more trustworthy supervision signals in KD, while the student captures more similar behaviors from the teacher in DML. Based on these observations, we first propose to combine KD with DML in a unified framework. Furthermore, we propose a Semi-Online Knowledge Distillation (SOKD) method that effectively improves the performance of the student and the teacher. In this method, we introduce the peer-teaching training fashion in DML in order to alleviate the student's imitation difficulty, and also leverage the supervision signals provided by the well-trained teacher in KD. Besides, we also show our framework can be easily extended to feature-based distillation methods. Extensive experiments on CIFAR-100 and ImageNet datasets demonstrate the proposed method achieves state-of-the-art performance.

View on arXivView PDF

Code Implementations(1)

The pytorch implementation of SOKD (BMVC2021).

43PythonOct 20, 20215 years ago

Similar Papers

Cite this paper

@article{liu2021semionline,
  title  = {Semi-Online Knowledge Distillation},
  author = {Zhiqiang Liu and Yanxia Liu and Chengkai Huang},
  year   = {2021},
  eprint = {2111.11747},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.11747}
}

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

Discussion