Small Scale Data-Free Knowledge Distillation

Heyu Liu, Yikai Wang, Huaping Liu, Fuchun Sun, Anbang Yao
2/9/2026

No official code found. Best implementation: OSVAI/SSD-KD (23 stars, Apache-2.0, last commit 2024-06-13).

Abstract

Data-free knowledge distillation is able to utilize the knowledge learned by a large teacher network to augment the training of a smaller student network without accessing the original training data, avoiding privacy, security, and proprietary risks in real applications. In this line of research, existing methods typically follow an inversion-and-distillation paradigm in which a generative adversarial network on-the-fly trained with the guidance of the pre-trained teacher network is used to synthesize a large-scale sample set for knowledge distillation. In this paper, we reexam-ine this common data-free knowledge distillation paradigm, showing that there is considerable room to improve the overall training efficiency through a lens of “small-scale inverted data for knowledge distillation”. In light of three empirical observations indicating the importance of how to balance class distributions in terms of synthetic sample di-versity and difficulty during both data inversion and distillation processes, we propose Small Scale Data-free Knowledge Distillation (SSD-KD). Informulation, SSD-KD introduces a modulating function to balance synthetic samples and a priority sampling function to select proper samples, facilitated by a dynamic replay buffer and a reinforcement learning strategy. As a result, SSD-KD can perform dis-tillation training conditioned on an extremely small scale of synthetic samples (e.g., 10x less than the original training data scale), making the overall training efficiency one or two orders of magnitude faster than many mainstream methods while retaining superior or competitive model performance, as demonstrated on popular image classification and semantic segmentation benchmarks. The code is available at https://github.com/OSVAI/SSD-KD.

View on arXivView PDF

Code Implementations(1)

OSVAI/SSD-KDCommunity100%
Apache-2.0

The official project website of "Small Scale Data-Free Knowledge Distillation" (SSD-KD for short, published in CVPR 2024).

231Apr 1, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2026small,
  title  = {Small Scale Data-Free Knowledge Distillation},
  author = {Heyu Liu and Yikai Wang and Huaping Liu and Fuchun Sun and Anbang Yao},
  year   = {2026},
  eprint = {2406.07876},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2406.07876},
  journal = {CVPR 2024 2024}
}

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

Discussion