Proceedings

Contrastive Model Invertion for Data-Free Knolwedge Distillation

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 2374-2380.

https://doi.org/10.24963/ijcai.2021/327

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.

  1. [Chen and He, 2020] Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. arXiv:2011.10566, 2020.
  2. [Chen et al., 2019] Hanting Chen, Yunhe Wang, Chang Xu, Zhaohui Yang, Chuanjian Liu, Boxin Shi, Chunjing Xu, Chao Xu, and Qi Tian. Data-free learning of student net- works. In ICCV, 2019.
  3. [Chen et al., 2020] Ting Chen, Simon Kornblith, Moham- mad Norouzi, and Geoffrey Hinton. A simple frame- work for contrastive learning of visual representations. arXiv:2002.05709, 2020.
  4. [Choi et al., 2020] Yoojin Choi, Jihwan Choi, Mostafa El- Khamy, and Jungwon Lee. Data-free network quantization with adversarial knowledge distillation. In CVPR Work- shops, 2020.
  5. [Fang et al., 2019] Gongfan Fang, Jie Song, Chengchao Shen, Xinchao Wang, Da Chen, and Mingli Song. Data- free adversarial distillation. arXiv:1912.11006, 2019.
  6. [Fredrikson et al., 2015] Matt Fredrikson, S. Jha, and T. Ris- tenpart. Model inversion attacks that exploit confidence information and basic countermeasures. CCS, 2015.
  7. [He et al., 2015] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. corr abs/1512.03385 (2015). Technical Re- port, 2015.
  8. [He et al., 2020] Kaiming He, Haoqi Fan, Yuxin Wu, Sain- ing Xie, and Ross Girshick. Momentum contrast for unsu- pervised visual representation learning. In CVPR, 2020.
  9. [Hinton et al., 2015] Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural net- work. arXiv, 2015.
  10. [Krizhevsky et al., 2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny im- ages. Technical Report, 2009.
  11. [Krizhevsky et al., 2012] Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton. Imagenet classification with deep convolutional neural networks. NeurIPS, 2012.
  12. [Le and Yang, 2015] Ya Le and Xuan Yang. Tiny imagenet visual recognition challenge. Technical Report, 2015.
  13. [Li et al., 2003] Beitao Li, Edward Chang, and Yi Wu. Dis- covery of a perceptual distance function for measuring im- age similarity. Multimedia systems, 8:512-522, 2003.
  14. [Liu et al., 2021] Huihui Liu, Yiding Yang, and Xinchao Wang. Overcoming catastrophic forgetting in graph neural networks. AAAI, 2021.
  15. [Lopes et al., 2017] Raphael Gontijo Lopes, Stefano Fenu, and Thad Starner. Data-free knowledge distillation for deep neural networks. arXiv:1710.07535, 2017.
  16. [Luo et al., 2020] Liangchen Luo, Mark Sandler, Zi Lin, An- drey Zhmoginov, and Andrew Howard. Large-scale gen- erative data-free distillation. arXiv:2012.05578, 2020.
  17. [Ma et al., 2020] Xinyin Ma, Yongliang Shen, Gongfan Fang, Chen Chen, Chenghao Jia, and Weiming Lu. Ad- versarial self-supervised data-free distillation for text clas- sification. arXiv:2010.04883, 2020.
  18. [Mahendran and Vedaldi, 2015] Aravindh Mahendran and Andrea Vedaldi. Understanding deep image representa- tions by inverting them. In CVPR, 2015.
  19. [Micaelli and Storkey, 2019] Paul Micaelli and Amos J Storkey. Zero-shot knowledge transfer via adversarial be- lief matching. In NeurIPS, 2019.
  20. [Ren et al., 2015] Shaoqing Ren, Kaiming He, Ross B Gir- shick, and Jian Sun. Faster r-cnn: towards real-time object detection with region proposal networks. corr abs/1506.01497 (2015). arXiv:1506.01497, 2015.
  21. [Shen et al., 2019] Chengchao Shen, Xinchao Wang, Jie Song, Li Sun, and Mingli Song. Amalgamating knowl- edge towards comprehensive classification. AAAI, 2019.
  22. [Simonyan and Zisserman, 2014] Karen Simonyan and An- drew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556, 2014.
  23. [Wu et al., 2016] Xi Wu, Matthew Fredrikson, Somesh Jha, and Jeffrey F Naughton. A methodology for formalizing model-inversion attacks. In CSF, 2016.
  24. [Wu et al., 2018] Zhirong Wu, Yuanjun Xiong, Stella Yu, and Dahua Lin. Unsupervised feature learn- ing via non-parametric instance-level discrimination. arXiv:1805.01978, 2018.
  25. [Yang et al., 2020a] Yiding Yang, Zunlei Feng, Mingli Song, and Xinchao Wang. Factorizable graph convolutional net- works. NeurIPS, 2020.
  26. [Yang et al., 2020b] Yiding Yang, Jiayan Qiu, Mingli Song, Dacheng Tao, and Xinchao Wang. Distilling knowledge from graph convolutional networks. CVPR, 2020.
  27. [Ye et al., 2019] Jingwen Ye, Yixin Ji, Xinchao Wang, Kairi Ou, Dapeng Tao, and Mingli Song. Student becoming the master: Knowledge amalgamation for joint scene parsing, depth estimation, and more. CVPR, 2019.
  28. [Ye et al., 2020] Jingwen Ye, Yixin Ji, Xinchao Wang, Xin Gao, and Mingli Song. Data-free knowledge amalgama- tion via group-stack dual-gan. CVPR, 2020.
  29. [Yin et al., 2020] Hongxu Yin, Pavlo Molchanov, Jose M Al- varez, Zhizhong Li, Arun Mallya, Derek Hoiem, Niraj K Jha, and Jan Kautz. Dreaming to distill: Data-free knowl- edge transfer via deepinversion. In CVPR, 2020.
  30. [Yu et al., 2017] Xiyu Yu, Tongliang Liu, Xinchao Wang, and Dacheng Tao. On compressing deep models by low rank and sparse decomposition. CVPR, 2017.
  31. [Zagoruyko and Komodakis, 2016] Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv:1605.07146, 2016.
  32. [Zhang et al., 2020] Yuheng Zhang, Ruoxi Jia, Hengzhi Pei, Wenxiao Wang, Bo Li, and Dawn Song. The secret re- vealer: generative model-inversion attacks against deep neural networks. In CVPR, 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards