Knowledge Distillation as Efficient Pre-training: Faster Convergence, Higher Data-efficiency, and Better Transferability

Ruifei He, Shuyang Sun, Jihan Yang, Song Bai, Xiaojuan Qi
3/10/2022
cs.CV
distillation

Official code: CVMI-Lab/KDEP (61 stars, Python, Apache-2.0, last commit 2022-07-21).

Abstract

Large-scale pre-training has been proven to be crucial for various computer vision tasks. However, with the increase of pre-training data amount, model architecture amount, and the private/inaccessible data, it is not very efficient or possible to pre-train all the model architectures on large-scale datasets.

Show full abstract

In this work, we investigate an alternative strategy for pre-training, namely Knowledge Distillation as Efficient Pre-training (KDEP), aiming to efficiently transfer the learned feature representation from existing pre-trained models to new student models for future downstream tasks. We observe that existing Knowledge Distillation (KD) methods are unsuitable towards pre-training since they normally distill the logits that are going to be discarded when transferred to downstream tasks. To resolve this problem, we propose a feature-based KD method with non-parametric feature dimension aligning. Notably, our method performs comparably with supervised pre-training counterparts in 3 downstream tasks and 9 downstream datasets requiring 10x less data and 5x less pre-training time. Code is available at https://github.com/CVMI-Lab/KDEP.

View on arXivView PDF

Code Implementations(1)

CVMI-Lab/KDEPOfficial100%
Apache-2.0

(CVPR2022) Official PyTorch Implementation of KDEP. Knowledge Distillation as Efficient Pre-training: Faster Convergence, Higher Data-efficiency, and Better Transferability

618Python, CudaMar 6, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{he2022knowledge,
  title  = {Knowledge Distillation as Efficient Pre-training: Faster Convergence, Higher Data-efficiency, and Better Transferability},
  author = {Ruifei He and Shuyang Sun and Jihan Yang and Song Bai and Xiaojuan Qi},
  year   = {2022},
  eprint = {2203.05180},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.05180}
}

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

Discussion