Hard Sample Matters a Lot in Zero-Shot Quantization

Huantong Li, Xiangmiao Wu, Fanbing Lv, Daihai Liao, Thomas H. Li, Yonggang Zhang*, Bo Han, Mingkui Tan*

*Corresponding author for this work

Research output: Chapter in book/report/conference proceedingConference proceedingpeer-review

16 Citations (Scopus)

Abstract

Zero-shot quantization (ZSQ) is promising for compressing and accelerating deep neural networks when the data for training full-precision models are inaccessible. In ZSQ, network quantization is performed using synthetic samples, thus, the performance of quantized models depends heavily on the quality of synthetic samples. Nonetheless, we find that the synthetic samples constructed in existing ZSQ methods can be easily fitted by models. Accordingly, quantized models obtained by these methods suffer from significant performance degradation on hard samples. To address this issue, we propose HArd sample Synthesizing and Training (HAST). Specifically, HAST pays more attention to hard samples when synthesizing samples and makes synthetic samples hard to fit when training quantized models. HAST aligns features extracted by full-precision and quantized models to ensure the similarity between features extracted by these two models. Extensive experiments show that HAST significantly outperforms existing ZSQ methods, achieving performance comparable to models that are quantized with real data.

Original languageEnglish
Title of host publication2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
Place of PublicationCalifornia
PublisherIEEE
Pages24417-24426
Number of pages10
ISBN (Electronic)9798350301298
ISBN (Print)9798350301304
DOIs
Publication statusPublished - 17 Jun 2023
Event2023 36th IEEE/CVF Conference on Computer Vision and Pattern Recognition - Vancouver, Canada
Duration: 18 Jun 202322 Jun 2023
https://cvpr2023.thecvf.com/virtual/2023/index.html (conference website)
https://openaccess.thecvf.com/CVPR2023 (conference paper)
https://cvpr2023.thecvf.com/virtual/2023/papers.html?filter=titles (conference program)
https://ieeexplore.ieee.org/xpl/conhome/10203037/proceeding (conference proceedings)

Publication series

NameProceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition
PublisherIEEE
ISSN (Print)1063-6919

Conference

Conference2023 36th IEEE/CVF Conference on Computer Vision and Pattern Recognition
Abbreviated titleCVPR 2023
Country/TerritoryCanada
CityVancouver
Period18/06/2322/06/23
Internet address

User-Defined Keywords

  • continual
  • low-shot
  • meta
  • or long-tail learning
  • Transfer

Fingerprint

Dive into the research topics of 'Hard Sample Matters a Lot in Zero-Shot Quantization'. Together they form a unique fingerprint.

Cite this