Skip to main content
QUICK REVIEW

[Paper Review] Feature Matters: A Stage-by-Stage Approach for Knowledge Transfer.

Mengya Gao, Yujun Shen|arXiv (Cornell University)|Dec 5, 2018
Advanced Neural Network ApplicationsComputer Science21 references3 citations
TL;DR

This paper proposes Stage-by-Stage Knowledge Distillation (SSKD), a two-phase training approach that first transfers feature representations from a teacher to a student model before fine-tuning only the task-specific head. By decoupling feature knowledge transfer from head training, SSKD eliminates the need for manual loss weighting and achieves state-of-the-art performance on CIFAR-100, ImageNet, IJB-A, and COCO benchmarks.

ABSTRACT

Knowledge Distillation (KD) aims at improving the performance of a low-capacity student model by inheriting knowledge from a high-capacity teacher model. Previous KD methods typically train a student by minimizing a task-related loss and the KD loss simultaneously, using a pre-defined loss weight to balance these two terms. In this work, we propose to first transfer the backbone knowledge from a teacher to the student, and then only learn the task-head of the student network. Such a decomposition of the training process circumvents the need of choosing an appropriate loss weight, which is often difficult in practice, and thus makes it easier to apply to different datasets and tasks. Importantly, the decomposition permits the core of our method, Stage-by-Stage Knowledge Distillation (SSKD), which facilitates progressive feature mimicking from teacher to student. Extensive experiments on CIFAR-100 and ImageNet suggest that SSKD significantly narrows down the performance gap between student and teacher, outperforming state-of-the-art approaches. We also demonstrate the generalization ability of SSKD on other challenging benchmarks, including face recognition on IJB-A dataset as well as object detection on COCO dataset.

Motivation & Objective

  • To address the challenge of hyperparameter sensitivity in knowledge distillation, particularly the difficult task of balancing the task loss and KD loss.
  • To improve student model performance by enabling progressive, structured feature mimicking from teacher to student.
  • To eliminate the need for manual loss weighting in knowledge distillation through a decoupled training strategy.
  • To demonstrate generalization of the proposed method across diverse vision tasks, including image classification, face recognition, and object detection.

Proposed method

  • The method decomposes knowledge distillation into two distinct stages: first, training the student's backbone to mimic the teacher's features; second, fine-tuning only the task-specific head.
  • In the first stage, the student's feature representations are aligned with those of the teacher using a feature-level distillation loss, such as feature map matching or contrastive loss.
  • The second stage involves standard training with the task-specific loss, where the student's head is updated while the feature extractor remains frozen.
  • The approach avoids end-to-end joint optimization of task and KD losses, thereby removing the need for loss weighting hyperparameters.
  • The method enables progressive feature mimicking, allowing the student to gradually learn hierarchical representations from the teacher.

Experimental results

Research questions

  • RQ1Can decoupling knowledge distillation into distinct stages improve model performance without requiring loss weight tuning?
  • RQ2How does stage-by-stage training affect feature representation learning in student models across different datasets?
  • RQ3To what extent can the proposed method generalize to diverse vision tasks beyond image classification?
  • RQ4Does progressive feature mimicking lead to better alignment between student and teacher features compared to joint training?

Key findings

  • SSKD significantly narrows the performance gap between student and teacher models on CIFAR-100 and ImageNet, outperforming existing state-of-the-art methods.
  • The method achieves superior accuracy on ImageNet with a student model that has substantially fewer parameters than the teacher.
  • On the IJB-A face recognition benchmark, SSKD demonstrates strong generalization, improving performance over standard KD baselines.
  • In object detection on COCO, SSKD achieves competitive results, confirming its effectiveness beyond classification tasks.

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.