Low-Bit-Width Zero-Shot Quantization With Soft Feature-Infused Hints for IoT Systems
Quantization has enabled the widespread implementation of deep learning algorithms on resource-constrained Internet of Things (IoT) devices, which compresses neural networks by reducing the bit-width of their parameters. However, most quantization methods invade privacy as they require real training datasets for calibration or fine-tuning. As a solution, zero-shot quantization (ZSQ) has emerged as a paradigm to quantize neural networks without accessing training datasets. Most employ data generation schemes to synthesize calibration data for knowledge transfer from the full-precision networks to the quantized ones. For privacy-protected and resource-constrained IoT devices, achieving optimal deployment necessitates the strategic integration of synthetic data generation and low-bit-width quantization techniques. However, when it comes to the lower bit-width case in ZSQ, we observe that the discrepancy between the full-precision network and the quantized network tends to widen significantly, hindering the knowledge transfer, which is attributed to the three following challenges: 1) hard logits matching with wide discrepancy; 2) unstable feature alignment with huge quantization error; and 3) synthetic data with low diversity. To address these issues, this article presents S-ZSQ, a novel ZSQ framework with two-pronged strategies that enhances both knowledge transfer and synthetic data generation, which enables low-bit-width quantized network to derive more soft feature-infused hints from the full-precision network. We achieve significant improvements on classification tasks, including CIFAR-10/100 and ImageNet-1k, with fewer fine-tuning epochs, particularly in scenarios involving low-bit-width quantization. For example, in the 3-bit ResNet-18/ResNet-50 case, we outperform AdaDFQ by 8.08%/11.16% in top-1 accuracy on ImageNet-1k.
Authors
- Ruikang Liu (ORCID: https://orcid.org/0000-0002-9828-5301)
- Min Li (ORCID: https://orcid.org/0000-0003-1330-2326)
- Tian Gu (ORCID: https://orcid.org/0000-0003-3989-6927)
- Xinrui Chen
- Minxi Ouyang (ORCID: https://orcid.org/0009-0000-0234-5086)
- Yonghong He (ORCID: https://orcid.org/0000-0002-9964-8901)
- Kang Zhao (ORCID: https://orcid.org/0000-0002-5373-6308)
- Yizhi Wang
- Yao Li (ORCID: https://orcid.org/0000-0001-6736-355X)
- Xitong Ling (ORCID: https://orcid.org/0009-0008-2016-5255)
Institutions
- Anhui University (CN)
- Peking University (CN)
- Huawei Technologies (China) (CN)
- University Town of Shenzhen (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- IEEE Internet of Things Journal
- Published
- 2024-12-18
- DOI
- https://doi.org/10.1109/jiot.2024.3507114
- Citations
- 14
- Primary Topic
- Image Processing Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 4.48
Funders
- National Natural Science Foundation of China
- Science, Technology and Innovation Commission of Shenzhen Municipality