IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network Quantization
Abstract
Learning to synthesize data has emerged as a promising direction in zero-shot quantization (ZSQ), which represents neural networks by low-bit integer without accessing any of the real data. In this paper, we observe an interesting phenomenon of intra-class heterogeneity in real data and show that existing methods fail to retain this property in their synthetic images, which causes a limited performance increase. To address this issue, we propose a novel zero-shot quantization method referred to as IntraQ. First, we propose a local object reinforcement that locates the target objects at different scales and positions of the synthetic images. Second, we introduce a marginal distance constraint to form class-related features distributed in a coarse area. Lastly, we devise a soft inception loss which injects a soft prior label to prevent the synthetic images from being overfitting to a fixed object. Our IntraQ is demonstrated to well retain the intra-class heterogeneity in the synthetic images and also observed to perform state-of-the-art. For example, compared to the advanced ZSQ, our IntraQ obtains 9.17% increase of the top-1 accuracy on ImageNet when all layers of MobileNetV1 are quantized to 4-bit. Code is at https://github.com/zysxmu/IntraQ.
Cite
Text
Zhong et al. "IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network Quantization." Conference on Computer Vision and Pattern Recognition, 2022. doi:10.1109/CVPR52688.2022.01202Markdown
[Zhong et al. "IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network Quantization." Conference on Computer Vision and Pattern Recognition, 2022.](https://mlanthology.org/cvpr/2022/zhong2022cvpr-intraq/) doi:10.1109/CVPR52688.2022.01202BibTeX
@inproceedings{zhong2022cvpr-intraq,
title = {{IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network Quantization}},
author = {Zhong, Yunshan and Lin, Mingbao and Nan, Gongrui and Liu, Jianzhuang and Zhang, Baochang and Tian, Yonghong and Ji, Rongrong},
booktitle = {Conference on Computer Vision and Pattern Recognition},
year = {2022},
pages = {12339-12348},
doi = {10.1109/CVPR52688.2022.01202},
url = {https://mlanthology.org/cvpr/2022/zhong2022cvpr-intraq/}
}