Adaptive Loss-aware Quantization for Multi-bit Networks

Zhongnan Qu, Zimu Zhou, Yun Cheng, Lothar Thiele
12/18/2019
cs.CVcs.LG

Official code: zqu1992/ALQ (14 stars, Python, last commit 2022-10-24).

Abstract

We investigate the compression of deep neural networks by quantizing their weights and activations into multiple binary bases, known as multi-bit networks (MBNs), which accelerate the inference and reduce the storage for the deployment on low-resource mobile and embedded platforms. We propose Adaptive Loss-aware Quantization (ALQ), a new MBN quantization pipeline that is able to achieve an average bitwidth below one-bit without notable loss in inference accuracy.

Show full abstract

Unlike previous MBN quantization solutions that train a quantizer by minimizing the error to reconstruct full precision weights, ALQ directly minimizes the quantization-induced error on the loss function involving neither gradient approximation nor full precision maintenance. ALQ also exploits strategies including adaptive bitwidth, smooth bitwidth reduction, and iterative trained quantization to allow a smaller network size without loss in accuracy. Experiment results on popular image datasets show that ALQ outperforms state-of-the-art compressed networks in terms of both storage and accuracy. Code is available at https://github.com/zqu1992/ALQ

View on arXivView PDF

Code Implementations(1)

zqu1992/ALQOfficial100%
146PythonJul 4, 20204 years ago

Similar Papers

Cite this paper

@article{qu2019adaptive,
  title  = {Adaptive Loss-aware Quantization for Multi-bit Networks},
  author = {Zhongnan Qu and Zimu Zhou and Yun Cheng and Lothar Thiele},
  year   = {2019},
  eprint = {1912.08883},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.08883}
}

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

Discussion