PalQuant: Accelerating High-precision Networks on Low-precision Accelerators

Qinghao Hu, Gang Li, Qiman Wu, Jian Cheng
8/3/2022
cs.CV
quantization-pruning

Official code: huqinghao/PalQuant (12 stars, Python, last commit 2022-08-26).

Abstract

Recently low-precision deep learning accelerators (DLAs) have become popular due to their advantages in chip area and energy consumption, yet the low-precision quantized models on these DLAs bring in severe accuracy degradation. One way to achieve both high accuracy and efficient inference is to deploy high-precision neural networks on low-precision DLAs, which is rarely studied.

Show full abstract

In this paper, we propose the PArallel Low-precision Quantization (PalQuant) method that approximates high-precision computations via learning parallel low-precision representations from scratch. In addition, we present a novel cyclic shuffle module to boost the cross-group information communication between parallel low-precision groups. Extensive experiments demonstrate that PalQuant has superior performance to state-of-the-art quantization methods in both accuracy and inference speed, e.g., for ResNet-18 network quantization, PalQuant can obtain 0.52\% higher accuracy and 1.78$\times$ speedup simultaneously over their 4-bit counter-part on a state-of-the-art 2-bit accelerator. Code is available at \url{https://github.com/huqinghao/PalQuant}.

View on arXivView PDF

Code Implementations(1)

huqinghao/PalQuantOfficial100%
121PythonJul 19, 20224 years ago

Similar Papers

Cite this paper

@article{hu2022palquant,
  title  = {PalQuant: Accelerating High-precision Networks on Low-precision Accelerators},
  author = {Qinghao Hu and Gang Li and Qiman Wu and Jian Cheng},
  year   = {2022},
  eprint = {2208.01944},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.01944}
}

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

Discussion