Contrastive Model Invertion for Data-Free Knolwedge Distillation
Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 2374-2380.
https://doi.org/10.24963/ijcai.2021/327
Keywords
- Machine Learning: Explainable/Interpretable Machine Learning
- Machine Learning: Transfer, Adaptation, Multi-task Learning
- Machine Learning: Deep Learning
Abstract
Model inversion, whose goal is to recover training data from a pre-trained model, has been recently proved feasible. However, existing inversion methods usually suffer from the mode collapse problem, where the synthesized instances are highly similar to each other and thus show limited effectiveness for downstream tasks, such as knowledge distillation. In this paper, we propose Contrastive Model Inversion (CMI), where the data diversity is explicitly modeled as an optimizable objective, to alleviate the mode collapse issue. Our main observation is that, under the constraint of the same amount of data, higher data diversity usually indicates stronger instance discrimination. To this end, we introduce in CMI a contrastive learning objective that encourages the synthesizing instances to be distinguishable from the already synthesized ones in previous batches. Experiments of pre-trained models on CIFAR-10, CIFAR-100, and Tiny-ImageNet demonstrate that CMI not only generates more visually plausible instances than the state of the arts, but also achieves significantly superior performance when the generated data are used for knowledge distillation. Code is available at https://github.com/zju-vipa/DataFree.
@inproceedings{ijcai2021p327,
title = {Contrastive Model Invertion for Data-Free Knolwedge Distillation},
author = {Fang, Gongfan and Song, Jie and Wang, Xinchao and Shen, Chengchao and Wang, Xingen and Song, Mingli},
booktitle = {Proceedings of the Thirtieth International Joint Conference on
Artificial Intelligence, {IJCAI-21}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Prof. Zhi-Hua Zhou},
pages = {2374--2380},
year = {2021},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2021/327},
url = {https://doi.org/10.24963/ijcai.2021/327},
}
TY - CPAPER TI - Contrastive Model Invertion for Data-Free Knolwedge Distillation AU - Fang, Gongfan AU - Song, Jie AU - Wang, Xinchao AU - Shen, Chengchao AU - Wang, Xingen AU - Song, Mingli T2 - Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2021 SP - 2374 EP - 2380 DO - 10.24963/ijcai.2021/327 UR - https://doi.org/10.24963/ijcai.2021/327 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: