Avatar Knowledge Distillation: Self-ensemble Teacher Paradigm with Uncertainty

Yuan Zhang, Weihua Chen, Yichen Lu, Tao Huang, Xiuyu Sun +1 more
5/4/2023
17 citations
cs.CV
distillation

Official code: Gumpest/AvatarKD (14 stars, Python, Apache-2.0, last commit 2023-11-22).

Abstract

Knowledge distillation is an effective paradigm for boosting the performance of pocket-size model, especially when multiple teacher models are available, the student would break the upper limit again. However, it is not economical to train diverse teacher models for the disposable distillation.

Show full abstract

In this paper, we introduce a new concept dubbed Avatars for distillation, which are the inference ensemble models derived from the teacher. Concretely, (1) For each iteration of distillation training, various Avatars are generated by a perturbation transformation. We validate that Avatars own higher upper limit of working capacity and teaching ability, aiding the student model in learning diverse and receptive knowledge perspectives from the teacher model. (2) During the distillation, we propose an uncertainty-aware factor from the variance of statistical differences between the vanilla teacher and Avatars, to adjust Avatars' contribution on knowledge transfer adaptively. Avatar Knowledge Distillation AKD is fundamentally different from existing methods and refines with the innovative view of unequal training. Comprehensive experiments demonstrate the effectiveness of our Avatars mechanism, which polishes up the state-of-the-art distillation methods for dense prediction without more extra computational cost. The AKD brings at most 0.7 AP gains on COCO 2017 for Object Detection and 1.83 mIoU gains on Cityscapes for Semantic Segmentation, respectively. Code is available at https://github.com/Gumpest/AvatarKD.

View on arXivView PDF

Code Implementations(1)

Gumpest/AvatarKDOfficial100%
Apache-2.0

[ACM MM'23] Official implementation of paper "Avatar Knowledge Distillation: Self-ensemble Teacher Paradigm with Uncertainty".

143Python, ShellSep 9, 20233 years agoApache-2.0
avatarknowledge-distillationmultiple-teacher

Similar Papers

Cite this paper

@article{zhang2023avatar,
  title  = {Avatar Knowledge Distillation: Self-ensemble Teacher Paradigm with Uncertainty},
  author = {Yuan Zhang and Weihua Chen and Yichen Lu and Tao Huang and Xiuyu Sun and Jian Cao},
  year   = {2023},
  eprint = {2305.02722},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.02722v4}
}

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

Discussion