Distilling Knowledge from Self-Supervised Teacher by Embedding Graph Alignment

Yuchen Ma, Yanbei Chen, Zeynep Akata
11/23/2022
cs.CVcs.LG
contrastive-ssldistillation

Official code: yccm/EGA (10 stars, Python, Apache-2.0, last commit 2022-12-05).

Abstract

Recent advances have indicated the strengths of self-supervised pre-training for improving representation learning on downstream tasks. Existing works often utilize self-supervised pre-trained models by fine-tuning on downstream tasks.

Show full abstract

However, fine-tuning does not generalize to the case when one needs to build a customized model architecture different from the self-supervised model. In this work, we formulate a new knowledge distillation framework to transfer the knowledge from self-supervised pre-trained models to any other student network by a novel approach named Embedding Graph Alignment. Specifically, inspired by the spirit of instance discrimination in self-supervised learning, we model the instance-instance relations by a graph formulation in the feature embedding space and distill the self-supervised teacher knowledge to a student network by aligning the teacher graph and the student graph. Our distillation scheme can be flexibly applied to transfer the self-supervised knowledge to enhance representation learning on various student networks. We demonstrate that our model outperforms multiple representative knowledge distillation methods on three benchmark datasets, including CIFAR100, STL10, and TinyImageNet. Code is here: https://github.com/yccm/EGA.

View on arXivView PDF

Code Implementations(1)

yccm/EGAOfficial100%
Apache-2.0

PyTorch Implementation on Paper [BMVC2022] Distilling Knowledge from Self-Supervised Teacher by Embedding Graph Alignment

100Python, ShellOct 5, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{ma2022distilling,
  title  = {Distilling Knowledge from Self-Supervised Teacher by Embedding Graph Alignment},
  author = {Yuchen Ma and Yanbei Chen and Zeynep Akata},
  year   = {2022},
  eprint = {2211.13264},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.13264}
}

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/2211.13264.svg)](https://codeofpaper.com/paper/2211.13264)

Discussion