Improving Diversity in Black-box Few-shot Knowledge Distillation

Tri-Nhan Vo, Dang Nguyen, Kien Do, Sunil Gupta
4/28/2026
1 citation
cs.CVcs.LG
distillation

Official code: votrinhan88/divbfkd (3 stars, Python, MIT, last commit 2026-07-16).

Abstract

Knowledge distillation (KD) is a well-known technique to effectively compress a large network (teacher) to a smaller network (student) with little sacrifice in performance. However, most KD methods require a large training set and internal access to the teacher, which are rarely available due to various restrictions.

Show full abstract

These challenges have originated a more practical setting known as black-box few-shot KD, where the student is trained with few images and a black-box teacher. Recent approaches typically generate additional synthetic images but lack an active strategy to promote their diversity, a crucial factor for student learning. To address these problems, we propose a novel training scheme for generative adversarial networks, where we adaptively select high-confidence images under the teacher's supervision and introduce them to the adversarial learning on-the-fly. Our approach helps expand and improve the diversity of the distillation set, significantly boosting student accuracy. Through extensive experiments, we achieve state-of-the-art results among other few-shot KD methods on seven image datasets. The code is available at https://github.com/votrinhan88/divbfkd.

View on arXivView PDF

Code Implementations(1)

MIT

Improving Diversity in Black-box Few-shot Knowledge Distillation

30Python, Jupyter NotebookJun 12, 20244 months agoMIT

Similar Papers

Cite this paper

@article{vo2026improving,
  title  = {Improving Diversity in Black-box Few-shot Knowledge Distillation},
  author = {Tri-Nhan Vo and Dang Nguyen and Kien Do and Sunil Gupta},
  year   = {2026},
  eprint = {2604.25795},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.25795v1}
}

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

Discussion