Robustness-Guided Image Synthesis for Data-Free Quantization

Jianhong Bai, Yuchen Yang, Huanpeng Chu, Hualiang Wang, Zuozhu Liu +5 more
10/5/2023
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

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 poor 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 downstream 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 enhance the semantics of synthetic images. Moreover, we also make our approach diversity-aware by forcing the generator to synthesize images with small correlations in the label space. 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bai2023robustnessguided,
  title  = {Robustness-Guided Image Synthesis for Data-Free Quantization},
  author = {Jianhong Bai and Yuchen Yang and Huanpeng Chu and Hualiang Wang and Zuozhu Liu and Ruizhe Chen and Xiaoxuan He and Lianrui Mu and Chengfei Cai and Haoji Hu},
  year   = {2023},
  eprint = {2310.03661},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.03661v3}
}

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

Discussion