Skip to main content
QUICK REVIEW

[Paper Review] Knowledge distillation via adaptive instance normalization

Jing Yang, Brais Martínez|arXiv (Cornell University)|Mar 9, 2020
Generative Adversarial Networks and Image SynthesisComputer Science43 references16 citations
TL;DR

This paper proposes a novel knowledge distillation method that transfers channel-wise feature statistics (mean and variance) from a teacher to a student network using adaptive instance normalization. By refining the student's statistics through a feedback loop where the teacher evaluates their reliability, the method achieves state-of-the-art performance across diverse architectures, datasets, and domains, including real-to-binary distillation on ImageNet and CIFAR-100.

ABSTRACT

This paper addresses the problem of model compression via knowledge distillation. To this end, we propose a new knowledge distillation method based on transferring feature statistics, specifically the channel-wise mean and variance, from the teacher to the student. Our method goes beyond the standard way of enforcing the mean and variance of the student to be similar to those of the teacher through an $L_2$ loss, which we found it to be of limited effectiveness. Specifically, we propose a new loss based on adaptive instance normalization to effectively transfer the feature statistics. The main idea is to transfer the learned statistics back to the teacher via adaptive instance normalization (conditioned on the student) and let the teacher network "evaluate" via a loss whether the statistics learned by the student are reliably transferred. We show that our distillation method outperforms other state-of-the-art distillation methods over a large set of experimental settings including different (a) network architectures, (b) teacher-student capacities, (c) datasets, and (d) domains.

Motivation & Objective

  • Address the limitations of standard L2 loss in transferring feature statistics during knowledge distillation.
  • Improve model compression by enabling more effective transfer of channel-wise mean and variance from teacher to student networks.
  • Develop a feedback mechanism where the teacher evaluates the reliability of transferred statistics, enhancing learning efficiency.
  • Demonstrate consistent performance gains across diverse settings: different network architectures, teacher-student capacity ratios, datasets (CIFAR-10/100, ImageNet), and domains (real-valued to binary networks).

Proposed method

  • Propose a new loss function based on adaptive instance normalization (AdaIN) to transfer the student's learned channel-wise mean and variance back to the teacher.
  • Apply instance normalization to the teacher’s feature maps using the student’s statistics as scale and shift parameters.
  • Train the student to minimize the L2 loss between the adapted teacher’s output and the original teacher’s output, ensuring the transferred statistics do not degrade performance.
  • Use the feedback signal from the teacher to supervise the student, creating a self-correcting mechanism for statistics transfer.
  • Integrate the proposed loss with standard distillation objectives (e.g., KL divergence on logits) for joint optimization.
  • Apply the method end-to-end during training, with only the student updated, while the teacher remains fixed during inference.

Experimental results

Research questions

  • RQ1Can transferring channel-wise feature statistics (mean and variance) from teacher to student improve knowledge distillation beyond standard L2 loss?
  • RQ2Does using adaptive instance normalization to create a feedback loop from student to teacher enhance the reliability and effectiveness of statistics transfer?
  • RQ3How does the proposed method compare to state-of-the-art distillation techniques across diverse network architectures and dataset domains?
  • RQ4Can the method effectively transfer knowledge in challenging settings such as real-to-binary neural network distillation?
  • RQ5Does the feedback mechanism via teacher evaluation improve generalization and performance over standard distillation losses?

Key findings

  • The proposed method achieves a top-1 accuracy of 71.82% on ImageNet-1K when distilling from ResNet-34 (21.8M params) to ResNet-18 (11.69M params), outperforming all baselines including CRD and RKD.
  • On the same setup, the method reduces the accuracy gap between teacher and student by 2.36%, compared to 1.27% for CRD, demonstrating superior performance gain.
  • For distillation from ResNet-50 (25.56M params) to MobileNet (4.23M params), the method achieves 72.49% top-1 accuracy, surpassing the second-best method (CRD at 71.40%) by 1.09 percentage points.
  • In real-to-binary distillation on CIFAR-100, the method achieves 70.15% top-1 accuracy with a ResNet-34 teacher and binary student, outperforming the next best method (OFD) by 2.39 percentage points.
  • On ImageNet-1K with binary student networks, the method achieves 70.20% top-1 accuracy, significantly outperforming KD (56.70%), AT (58.45%), and CRD (58.25%).
  • The method consistently improves performance across all evaluated settings, including different architectures, dataset scales, and domains, demonstrating strong generalization and scalability.

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.