Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Transfer via Dense Cross-Layer Mutual-Distillation

Anbang Yao, Dawei Sun|arXiv (Cornell University)|Aug 18, 2020
Domain Adaptation and Few-Shot LearningComputer Science58 references4 citations
TL;DR

This paper proposes Dense Cross-Layer Mutual-Distillation (DCM), a two-way knowledge transfer method that jointly trains student and teacher networks from scratch using auxiliary classifiers in hidden layers and dense bidirectional distillation between corresponding and non-corresponding layers. The approach improves representation learning and performance without adding parameters to the final model, outperforming prior one-way and two-way KD methods on image classification benchmarks.

ABSTRACT

Knowledge Distillation (KD) based methods adopt the one-way Knowledge Transfer (KT) scheme in which training a lower-capacity student network is guided by a pre-trained high-capacity teacher network. Recently, Deep Mutual Learning (DML) presented a two-way KT strategy, showing that the student network can be also helpful to improve the teacher network. In this paper, we propose Dense Cross-layer Mutual-distillation (DCM), an improved two-way KT method in which the teacher and student networks are trained collaboratively from scratch. To augment knowledge representation learning, well-designed auxiliary classifiers are added to certain hidden layers of both teacher and student networks. To boost KT performance, we introduce dense bidirectional KD operations between the layers appended with classifiers. After training, all auxiliary classifiers are discarded, and thus there are no extra parameters introduced to final models. We test our method on a variety of KT tasks, showing its superiorities over related methods. Code is available at https://github.com/sundw2014/DCM

Motivation & Objective

  • To address the limitations of one-way knowledge distillation, which relies on a pre-trained, fixed teacher network and cannot improve the teacher during training.
  • To enhance knowledge representation learning by introducing auxiliary classifiers at intermediate layers of both student and teacher networks.
  • To enable bidirectional, dense cross-layer distillation between corresponding and non-corresponding layers to improve mutual knowledge transfer.
  • To achieve superior performance in knowledge transfer without introducing additional parameters in the final model after training.
  • To demonstrate that collaborative training from scratch with deep supervision and mutual distillation leads to better generalization than conventional KD or DML.

Proposed method

  • Auxiliary classifiers are added to specific hidden layers of both student and teacher networks to enable deep supervision and provide intermediate supervisory signals.
  • Dense bidirectional knowledge distillation is applied between the same-staged and different-staged layers of the student and teacher networks, using soft labels from both networks.
  • The distillation process leverages probabilistic outputs from auxiliary classifiers to transfer knowledge across layers, reducing semantic gaps between differently staged features.
  • The auxiliary classifiers are removed after training, ensuring no additional parameters remain in the final student or teacher models.
  • The method trains both networks jointly from scratch, eliminating the need for a pre-trained teacher, and uses a multi-branch loss combining cross-entropy and distillation losses.
  • The architecture is evaluated on ResNet-18/ResNet-50 and MobileNetV2 backbones, with auxiliary classifiers placed at strategic down-sampling stages to maintain feature hierarchy consistency.

Experimental results

Research questions

  • RQ1Can two-way knowledge transfer be improved by incorporating deep supervision through auxiliary classifiers in intermediate layers of both student and teacher networks?
  • RQ2Does dense bidirectional distillation between same-staged and different-staged layers lead to better representation learning and performance than standard one-way or two-way KD?
  • RQ3Can collaborative training of student and teacher networks from scratch outperform methods that rely on a pre-trained, fixed teacher?
  • RQ4How does the use of auxiliary classifiers affect the semantic alignment of knowledge across different network depths during mutual distillation?
  • RQ5To what extent does the proposed method reduce the performance gap between student and teacher networks without adding inference parameters?

Key findings

  • DCM achieves state-of-the-art performance on image classification tasks, outperforming both one-way KD and two-way DML methods under comparable settings.
  • The addition of auxiliary classifiers at intermediate layers significantly improves knowledge representation learning, leading to better generalization and faster convergence.
  • Dense cross-layer bidirectional distillation, especially between non-corresponding layers, reduces semantic gaps and enhances feature transfer between networks.
  • The method achieves superior accuracy gains on CIFAR-100 and ImageNet datasets compared to existing KD-based methods, even without using a pre-trained teacher.
  • All auxiliary classifiers are removed after training, ensuring that the final models have no additional parameters, making the method suitable for deployment on resource-constrained devices.
  • The ablation study confirms that both deep supervision and bidirectional distillation are essential components for the method's success, with each contributing independently to performance gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.