Similarity-Preserving Knowledge Distillation

Frederick Tung, Greg Mori
7/23/2019
1,371 citations
cs.CV
distillation

No official code found. Best implementation: DongGeun-Yoon/SPKD (24 stars). 1 more below.

Abstract

Knowledge distillation is a widely applicable technique for training a student neural network under the guidance of a trained teacher network. For example, in neural network compression, a high-capacity teacher is distilled to train a compact student; in privileged learning, a teacher trained with privileged data is distilled to train a student without access to that data.

Show full abstract

The distillation loss determines how a teacher's knowledge is captured and transferred to the student. In this paper, we propose a new form of knowledge distillation loss that is inspired by the observation that semantically similar inputs tend to elicit similar activation patterns in a trained network. Similarity-preserving knowledge distillation guides the training of a student network such that input pairs that produce similar (dissimilar) activations in the teacher network produce similar (dissimilar) activations in the student network. In contrast to previous distillation methods, the student is not required to mimic the representation space of the teacher, but rather to preserve the pairwise similarities in its own representation space. Experiments on three public datasets demonstrate the potential of our approach.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DongGeun-Yoon/SPKDCommunity24–––
liyantett/DVSPATCommunity4–––
DongGeun-Yoon/SPKDCommunity25%

Official PyTorch implementation of "Lightweight Deep CNN for Natural Image Matting via Similarity-Preserving Knowledge Distillation" (IEEE Signal Processing Letters 2020)

242
liyantett/DVSPATCommunity25%

Micro-expression Action Unit Detection with Dual-view Attentive Similarity-Preserving Knowledge Distillation

40

Similar Papers

Cite this paper

@article{tung2019similaritypreserving,
  title  = {Similarity-Preserving Knowledge Distillation},
  author = {Frederick Tung and Greg Mori},
  year   = {2019},
  eprint = {1907.09682},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.09682}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.09682.svg)](https://codeofpaper.com/paper/1907.09682)

Discussion