Skip to main content
QUICK REVIEW

[Paper Review] A Comprehensive Overhaul of Feature Distillation

Byeongho Heo, Jeesoo Kim|arXiv (Cornell University)|Apr 3, 2019
Advanced Neural Network ApplicationsComputer Science28 references12 citations
TL;DR

This paper proposes a novel feature distillation method that enhances knowledge transfer by rethinking key design aspects: using a margin ReLU for teacher feature transformation, distilling features before ReLU activation, and applying a partial L2 distance function to ignore uninformative negative features. The method achieves 21.65% top-1 error on ImageNet with a ResNet50 student, surpassing even the ResNet152 teacher, and outperforms state-of-the-art methods across classification, detection, and segmentation tasks.

ABSTRACT

We investigate the design aspects of feature distillation methods achieving network compression and propose a novel feature distillation method in which the distillation loss is designed to make a synergy among various aspects: teacher transform, student transform, distillation feature position and distance function. Our proposed distillation loss includes a feature transform with a newly designed margin ReLU, a new distillation feature position, and a partial L2 distance function to skip redundant information giving adverse effects to the compression of student. In ImageNet, our proposed method achieves 21.65% of top-1 error with ResNet50, which outperforms the performance of the teacher network, ResNet152. Our proposed method is evaluated on various tasks such as image classification, object detection and semantic segmentation and achieves a significant performance improvement in all tasks. The code is available at https://sites.google.com/view/byeongho-heo/overhaul

Motivation & Objective

  • To investigate and improve the design of feature distillation methods for better network compression and performance.
  • To address limitations in existing distillation approaches that degrade performance due to information loss or suboptimal feature representation.
  • To identify optimal configurations for teacher and student transforms, distillation position, and distance functions.
  • To demonstrate that distilling pre-ReLU features with a margin-based loss and partial distance function significantly improves student performance.
  • To validate the method across diverse tasks including image classification, object detection, and semantic segmentation.

Proposed method

  • Introduces a margin ReLU function as a teacher transform to preserve meaningful feature boundaries and reduce noise from negative values.
  • Shifts the distillation position to before ReLU activation to transfer both positive and negative feature responses, improving activation pattern mimicry.
  • Proposes a partial L2 distance function that excludes negative feature values below a small margin, avoiding the transfer of uninformative or harmful information.
  • Employs a 1×1 convolution as a student transform to align feature dimensions and maintain representational consistency.
  • Uses batch normalization in training mode for the teacher network, which is shown to improve performance significantly.
  • Applies continuous distillation throughout training, ensuring stable and effective knowledge transfer.

Experimental results

Research questions

  • RQ1How does the position of distillation (pre- or post-ReLU) affect knowledge transfer performance?
  • RQ2What is the impact of modifying the distillation loss function to exclude negative feature values?
  • RQ3Can a margin ReLU in the teacher network improve distillation by preserving activation boundaries?
  • RQ4How does the choice of batch normalization mode (training vs. evaluation) affect distillation performance?
  • RQ5To what extent can a re-designed distillation pipeline outperform existing state-of-the-art methods across multiple tasks?

Key findings

  • The proposed method achieves 21.65% top-1 error on ImageNet using a ResNet50 student, outperforming the ResNet152 teacher, which has 78.31% accuracy.
  • The method significantly improves performance across all evaluated tasks: image classification (CIFAR-100, ImageNet), object detection (PASCAL VOC), and semantic segmentation (PASCAL VOC).
  • Ablation studies show that pre-ReLU distillation provides the largest performance gain (1.56% error reduction), followed by the margin-based loss and batch normalization mode.
  • The partial L2 distance function effectively suppresses transfer of uninformative negative features, improving generalization and reducing noise.
  • The method reduces KL divergence between student and teacher outputs more effectively than prior continuous distillation methods, indicating stronger mimicry of the teacher.
  • The training-mode batch normalization in the teacher network yields a substantial performance boost, especially for the proposed method, highlighting its importance in distillation.

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.