Computation-Efficient Knowledge Distillation via Uncertainty-Aware Mixup

Guodong Xu, Ziwei Liu, Chen Change Loy
12/17/2020
cs.CV
distillation

Official code: xuguodong03/UNIXKD (26 stars, Python, last commit 2022-12-13).

Abstract

Knowledge distillation, which involves extracting the "dark knowledge" from a teacher network to guide the learning of a student network, has emerged as an essential technique for model compression and transfer learning. Unlike previous works that focus on the accuracy of student network, here we study a little-explored but important question, i.e., knowledge distillation efficiency.

Show full abstract

Our goal is to achieve a performance comparable to conventional knowledge distillation with a lower computation cost during training. We show that the UNcertainty-aware mIXup (UNIX) can serve as a clean yet effective solution. The uncertainty sampling strategy is used to evaluate the informativeness of each training sample. Adaptive mixup is applied to uncertain samples to compact knowledge. We further show that the redundancy of conventional knowledge distillation lies in the excessive learning of easy samples. By combining uncertainty and mixup, our approach reduces the redundancy and makes better use of each query to the teacher network. We validate our approach on CIFAR100 and ImageNet. Notably, with only 79% computation cost, we outperform conventional knowledge distillation on CIFAR100 and achieve a comparable result on ImageNet.

View on arXivView PDF

Code Implementations(1)

xuguodong03/UNIXKDOfficial100%
268Python, ShellDec 17, 20203 years ago

Similar Papers

Cite this paper

@article{xu2020computationefficient,
  title  = {Computation-Efficient Knowledge Distillation via Uncertainty-Aware Mixup},
  author = {Guodong Xu and Ziwei Liu and Chen Change Loy},
  year   = {2020},
  eprint = {2012.09413},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.09413}
}

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

Discussion