English

Multi-head Knowledge Distillation for Model Compression

Computer Vision and Pattern Recognition 2020-12-08 v1 Artificial Intelligence Machine Learning Neural and Evolutionary Computing

Abstract

Several methods of knowledge distillation have been developed for neural network compression. While they all use the KL divergence loss to align the soft outputs of the student model more closely with that of the teacher, the various methods differ in how the intermediate features of the student are encouraged to match those of the teacher. In this paper, we propose a simple-to-implement method using auxiliary classifiers at intermediate layers for matching features, which we refer to as multi-head knowledge distillation (MHKD). We add loss terms for training the student that measure the dissimilarity between student and teacher outputs of the auxiliary classifiers. At the same time, the proposed method also provides a natural way to measure differences at the intermediate layers even though the dimensions of the internal teacher and student features may be different. Through several experiments in image classification on multiple datasets we show that the proposed method outperforms prior relevant approaches presented in the literature.

Keywords

Cite

@article{arxiv.2012.02911,
  title  = {Multi-head Knowledge Distillation for Model Compression},
  author = {Huan Wang and Suhas Lohit and Michael Jones and Yun Fu},
  journal= {arXiv preprint arXiv:2012.02911},
  year   = {2020}
}

Comments

Copyright: 2020 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works

R2 v1 2026-06-23T20:44:48.426Z