CAE-DFKD: Bridging the Transferability Gap in Data-Free Knowledge Distillation
Zherui Zhang, Changwei Wang, Rongtao Xu, Wenhao Xu, Shibiao Xu, Yu Zhang, Li Guo
TL;DR
Data-free KD transfers knowledge without access to real data, but prior methods are limited by synthetic data quality and cross-domain transferability. CAE-DFKD introduces an embedding-level framework with a category-aware prior via language-model derived embeddings $\mathbf{E}^{\text{off}}$ and a Category Embedding Noise Diffusion (CEND) layer to enrich the embedding space, plus embedding-level Category Noise Contrastive Learning (CNCL) to promote domain-invariant features. Generator and student optimizations combine loss terms $\mathcal{L}_{G}=\mathcal{L}_{CE}+\lambda_{BN}\mathcal{L}_{BN}+\lambda_{adv}\mathcal{L}_{adv}$ and $\mathcal{L}_{S}=\mathcal{L}_{KL}+\alpha\mathcal{L}_{CNCL}$ to drive learning. Experiments on CIFAR-10/100, Tiny-ImageNet, ImageNet-1K, NYUv2, ADE-20K, and COCO-2017 show competitive recognition performance and improved downstream transfer, with CEND providing efficiency gains and CNCL improving generalization across tasks.
Abstract
Data-Free Knowledge Distillation (DFKD) enables the knowledge transfer from the given pre-trained teacher network to the target student model without access to the real training data. Existing DFKD methods focus primarily on improving image recognition performance on associated datasets, often neglecting the crucial aspect of the transferability of learned representations. In this paper, we propose Category-Aware Embedding Data-Free Knowledge Distillation (CAE-DFKD), which addresses at the embedding level the limitations of previous rely on image-level methods to improve model generalization but fail when directly applied to DFKD. The superiority and flexibility of CAE-DFKD are extensively evaluated, including: \textit{\textbf{i.)}} Significant efficiency advantages resulting from altering the generator training paradigm; \textit{\textbf{ii.)}} Competitive performance with existing DFKD state-of-the-art methods on image recognition tasks; \textit{\textbf{iii.)}} Remarkable transferability of data-free learned representations demonstrated in downstream tasks.
