CVAILGJun 12, 2024

Small Scale Data-Free Knowledge Distillation

arXiv:2406.07876v134 citationsHas Code
Originality Incremental advance
AI Analysis

This work addresses efficiency and resource constraints in data-free knowledge distillation for applications like privacy-sensitive AI, though it is incremental as it builds on existing inversion-and-distillation paradigms.

The paper tackles the inefficiency of data-free knowledge distillation by proposing SSD-KD, which uses a small-scale synthetic dataset (e.g., 10X less data) to achieve training speeds one or two orders of magnitude faster than mainstream methods while maintaining competitive performance on image classification and semantic segmentation benchmarks.

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 reexamine 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 diversity and difficulty during both data inversion and distillation processes, we propose Small Scale Data-free Knowledge Distillation SSD-KD. In formulation, 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 distillation 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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes