Channel-wise Knowledge Distillation for Dense Prediction

Changyong Shu, Yifan Liu, Jianfei Gao, Zheng Yan, Chunhua Shen
11/26/2020
cs.CV

Official code: drilistbox/CWD (79 stars, BSD-2-Clause, last commit 2020-11-26).

Abstract

Knowledge distillation (KD) has been proven to be a simple and effective tool for training compact models. Almost all KD variants for dense prediction tasks align the student and teacher networks' feature maps in the spatial domain, typically by minimizing point-wise and/or pair-wise discrepancy. Observing that in semantic segmentation, some layers' feature activations of each channel tend to encode saliency of scene categories (analogue to class activation mapping), we propose to align features channel-wise between the student and teacher networks. To this end, we first transform the feature map of each channel into a probabilty map using softmax normalization, and then minimize the Kullback-Leibler (KL) divergence of the corresponding channels of the two networks. By doing so, our method focuses on mimicking the soft distributions of channels between networks. In particular, the KL divergence enables learning to pay more attention to the most salient regions of the channel-wise maps, presumably corresponding to the most useful signals for semantic segmentation. Experiments demonstrate that our channel-wise distillation outperforms almost all existing spatial distillation methods for semantic segmentation considerably, and requires less computational cost during training. We consistently achieve superior performance on three benchmarks with various network structures. Code is available at: https://git.io/Distiller

View on arXivView PDF

Code Implementations(1)

drilistbox/CWDOfficial100%
BSD-2-Clause

Channel-wise Distillation for Semantic Segmentation

799C, C++Nov 26, 20205 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{shu2020channelwise,
  title  = {Channel-wise Knowledge Distillation for Dense Prediction},
  author = {Changyong Shu and Yifan Liu and Jianfei Gao and Zheng Yan and Chunhua Shen},
  year   = {2020},
  eprint = {2011.13256},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.13256}
}

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

Discussion