Robustness-Guided Image Synthesis for Data-Free Quantization

Authors

  • Jianhong Bai Zhejiang University
  • Yuchen Yang Zhejiang University
  • Huanpeng Chu Kuaishou Technology
  • Hualiang Wang The Hong Kong University of Science and Technology
  • Zuozhu Liu Zhejiang University
  • Ruizhe Chen Zhejiang University
  • Xiaoxuan He Zhejiang University
  • Lianrui Mu Zhejiang University
  • Chengfei Cai Tencent Data Platform
  • Haoji Hu Zhejiang University

DOI:

https://doi.org/10.1609/aaai.v38i10.28972

Keywords:

ML: Learning on the Edge & Model Compression, ML: Classification and Regression, ML: Deep Learning Algorithms

Abstract

Quantization has emerged as a promising direction for model compression. Recently, data-free quantization has been widely studied as a promising method to avoid privacy concerns, which synthesizes images as an alternative to real training data. Existing methods use classification loss to ensure the reliability of the synthesized images. Unfortunately, even if these images are well-classified by the pre-trained model, they still suffer from low semantics and homogenization issues. Intuitively, these low-semantic images are sensitive to perturbations, and the pre-trained model tends to have inconsistent output when the generator synthesizes an image with low semantics. To this end, we propose Robustness-Guided Image Synthesis (RIS), a simple but effective method to enrich the semantics of synthetic images and improve image diversity, further boosting the performance of data-free compression tasks. Concretely, we first introduce perturbations on input and model weight, then define the inconsistency metrics at feature and prediction levels before and after perturbations. On the basis of inconsistency on two levels, we design a robustness optimization objective to eliminate low-semantic images. Moreover, we also make our approach diversity-aware by forcing the generator to synthesize images with small correlations. With RIS, we achieve state-of-the-art performance for various settings on data-free quantization and can be extended to other data-free compression tasks.

Published

2024-03-24

How to Cite

Bai, J., Yang, Y., Chu, H., Wang, H., Liu, Z., Chen, R., He, X., Mu, L., Cai, C., & Hu, H. (2024). Robustness-Guided Image Synthesis for Data-Free Quantization. Proceedings of the AAAI Conference on Artificial Intelligence, 38(10), 10971-10979. https://doi.org/10.1609/aaai.v38i10.28972

Issue

Section

AAAI Technical Track on Machine Learning I