Data-Free Adversarial Distillation

Gongfan Fang, Jie Song, Chengchao Shen, Xinchao Wang, Da Chen +1 more
12/23/2019
187 citations
cs.LGcs.CVstat.ML
distillation

Official code: VainF/Data-Free-Adversarial-Distillation (99 stars, Python, last commit 2022-11-28).

Abstract

Knowledge Distillation (KD) has made remarkable progress in the last few years and become a popular paradigm for model compression and knowledge transfer. However, almost all existing KD algorithms are data-driven, i.e., relying on a large amount of original training data or alternative data, which is usually unavailable in real-world scenarios.

Show full abstract

In this paper, we devote ourselves to this challenging problem and propose a novel adversarial distillation mechanism to craft a compact student model without any real-world data. We introduce a model discrepancy to quantificationally measure the difference between student and teacher models and construct an optimizable upper bound. In our work, the student and the teacher jointly act the role of the discriminator to reduce this discrepancy, when a generator adversarially produces some "hard samples" to enlarge it. Extensive experiments demonstrate that the proposed data-free method yields comparable performance to existing data-driven methods. More strikingly, our approach can be directly extended to semantic segmentation, which is more complicated than classification, and our approach achieves state-of-the-art results. Code and pretrained models are available at https://github.com/VainF/Data-Free-Adversarial-Distillation.

View on arXivView PDF

Code Implementations(1)

Code and pretrained models for paper: Data-Free Adversarial Distillation

9916Python, ShellDec 26, 20194 years ago
adversarialdata-freedfadknowledge-distillationknowledge-transfer+1 more

Similar Papers

Cite this paper

@article{fang2019datafree,
  title  = {Data-Free Adversarial Distillation},
  author = {Gongfan Fang and Jie Song and Chengchao Shen and Xinchao Wang and Da Chen and Mingli Song},
  year   = {2019},
  eprint = {1912.11006},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.11006}
}

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

Discussion