Skip to main content
QUICK REVIEW

[Paper Review] Learning Student Networks via Feature Embedding

Hanting Chen, Yunhe Wang|arXiv (Cornell University)|Dec 17, 2018
Advanced Neural Network ApplicationsComputer Science31 references6 citations
TL;DR

This paper proposes a knowledge distillation method that transfers knowledge from a teacher network to a student network via feature embedding using a locality preserving loss, eliminating the need for additional parameters. The approach achieves state-of-the-art performance with significantly lower computational and storage complexity by preserving inter-sample relationships in low-dimensional feature space.

ABSTRACT

Deep convolutional neural networks have been widely used in numerous applications, but their demanding storage and computational resource requirements prevent their applications on mobile devices. Knowledge distillation aims to optimize a portable student network by taking the knowledge from a well-trained heavy teacher network. Traditional teacher-student based methods used to rely on additional fully-connected layers to bridge intermediate layers of teacher and student networks, which brings in a large number of auxiliary parameters. In contrast, this paper aims to propagate information from teacher to student without introducing new variables which need to be optimized. We regard the teacher-student paradigm from a new perspective of feature embedding. By introducing the locality preserving loss, the student network is encouraged to generate the low-dimensional features which could inherit intrinsic properties of their corresponding high-dimensional features from teacher network. The resulting portable network thus can naturally maintain the performance as that of the teacher network. Theoretical analysis is provided to justify the lower computation complexity of the proposed method. Experiments on benchmark datasets and well-trained networks suggest that the proposed algorithm is superior to state-of-the-art teacher-student learning methods in terms of computational and storage complexity.

Motivation & Objective

  • To address the high computational and storage costs of knowledge distillation methods that rely on additional fully-connected layers for feature alignment.
  • To preserve the intrinsic relationships between samples in the high-dimensional feature space of a teacher network when transferring to a lower-dimensional student network.
  • To develop a parameter-free knowledge distillation framework that maintains performance while reducing complexity.
  • To demonstrate that feature embedding via locality preserving loss enables efficient, high-performance student network compression.

Proposed method

  • The method frames knowledge distillation as a feature embedding task, mapping high-dimensional teacher features to low-dimensional student features.
  • It introduces a locality preserving loss to ensure that the relative relationships between samples are maintained in the embedded space.
  • The loss function encourages the student network to preserve local neighborhood structures from the teacher’s feature representations.
  • The approach avoids introducing auxiliary parameters by directly aligning intermediate features through embedding, reducing computational and memory overhead.
  • The method is theoretically justified to have lower computation complexity than existing approaches with additional fully-connected layers.
  • The student network is trained end-to-end using standard back-propagation with the locality preserving loss as a regularizer.

Experimental results

Research questions

  • RQ1Can knowledge distillation be achieved without introducing additional parameters such as fully-connected layers?
  • RQ2How can the intrinsic geometric structure of feature representations in a teacher network be preserved in a compressed student network?
  • RQ3Does preserving local neighborhood relationships in feature space lead to better generalization and performance in student networks?
  • RQ4How does the proposed method compare to state-of-the-art knowledge distillation techniques in terms of accuracy, computation, and memory efficiency?
  • RQ5What is the impact of intermediate layer selection on the performance of the proposed method?

Key findings

  • The proposed method achieved a top-5 accuracy of 93.13% on ImageNet, outperforming the standard back-propagation baseline (92.18%) and other state-of-the-art methods.
  • On CIFAR-10, the method achieved a top-1 accuracy of 92.89%, surpassing existing knowledge distillation techniques.
  • The method required no additional parameters for knowledge transfer, in contrast to FitNet, which needed approximately 5,035M extra parameters.
  • Theoretical analysis confirmed that the proposed method has lower computational complexity than methods using auxiliary fully-connected layers.
  • Experiments showed that the performance was robust to intermediate layer selection, with less than 0.2% variation in accuracy across different layer combinations.
  • The student network trained with the locality preserving loss maintained high performance while significantly reducing model size and inference cost.

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.