Adaptive Rounding Compensation for Post-training Quantization

Jinhui Lin, Heng Wang, Yan Liu, Song-Lu Chen, Ruiyao Zhang, Zhiwei Dong, Feng Chen, Xu-Cheng YinICONIP 2022

Abstract

Network quantization can compress and accelerate deep neural networks by reducing the bit-width of network parameters so that the quantized networks can be deployed to resource-limited devices. Post-Training Quantization (PTQ) is a practical method of generating a hardware-friendly quantized network without re-training or fine-tuning. However, PTQ results in unacceptable accuracy degradation due to disturbance caused by clipping and discarding the rounded remains. To address this problem, we propose Adaptive Rounding Compensation Quantization (ARCQ) to reduce the quantization errors by utilizing the rounded remains and clipping threshold that can be computed in resource-limited devices. Moreover, to leverage accuracy and speed, we propose a dynamic compensation method to select critical layers to be compensated in terms of parameters and quantization errors. Extensive experiments verify that our method can achieve superior results on ImageNet for classification and MSCOCO for object detection. Codes are available at https://github.com/Iconip2022/ARCQ.
BibTeX
@inproceedings{lin2022adaptive,
  author = {Jinhui Lin and Heng Wang and Yan Liu and Song-Lu Chen and Ruiyao Zhang and Zhiwei Dong and Feng Chen and Xu-Cheng Yin},
  title = {{Adaptive Rounding Compensation for Post-training Quantization}},
  booktitle = {ICONIP},
  year = {2022},
  url = {https://openreview.net/forum?id=MAbn8kd71D},
}

Loading related content...

Figure