Black-box Few-shot Knowledge Distillation

Dang Nguyen, Sunil Gupta, Kien Do, Svetha Venkatesh
7/25/2022
21 citations
cs.CVcs.AIcs.LG
distillation

Official code: nphdang/FS-BBT (14 stars, Python, last commit 2022-07-19).

Abstract

Knowledge distillation (KD) is an efficient approach to transfer the knowledge from a large "teacher" network to a smaller "student" network. Traditional KD methods require lots of labeled training samples and a white-box teacher (parameters are accessible) to train a good student.

Show full abstract

However, these resources are not always available in real-world applications. The distillation process often happens at an external party side where we do not have access to much data, and the teacher does not disclose its parameters due to security and privacy concerns. To overcome these challenges, we propose a black-box few-shot KD method to train the student with few unlabeled training samples and a black-box teacher. Our main idea is to expand the training set by generating a diverse set of out-of-distribution synthetic images using MixUp and a conditional variational auto-encoder. These synthetic images along with their labels obtained from the teacher are used to train the student. We conduct extensive experiments to show that our method significantly outperforms recent SOTA few/zero-shot KD methods on image classification tasks. The code and models are available at: https://github.com/nphdang/FS-BBT

View on arXivView PDF

Code Implementations(1)

nphdang/FS-BBTOfficial100%

Black-box Few-shot Knowledge Distillation

141Python, BatchfileJul 19, 20224 years ago
black-boxblack-box-modelcomputer-visionconditional-variational-autoencodercvae+12 more

Similar Papers

Cite this paper

@article{nguyen2022blackbox,
  title  = {Black-box Few-shot Knowledge Distillation},
  author = {Dang Nguyen and Sunil Gupta and Kien Do and Svetha Venkatesh},
  year   = {2022},
  eprint = {2207.12106},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.12106v1}
}

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

Discussion