Training Multi-bit Quantized and Binarized Networks with A Learnable Symmetric Quantizer

Phuoc Pham, Jacob Abraham, Jaeyong Chung
4/1/2021
cs.CV

Official code: phuocphn/uniq (11 stars, Python, last commit 2021-04-07).

Abstract

Quantizing weights and activations of deep neural networks is essential for deploying them in resource-constrained devices, or cloud platforms for at-scale services. While binarization is a special case of quantization, this extreme case often leads to several training difficulties, and necessitates specialized models and training methods.

Show full abstract

As a result, recent quantization methods do not provide binarization, thus losing the most resource-efficient option, and quantized and binarized networks have been distinct research areas. We examine binarization difficulties in a quantization framework and find that all we need to enable the binary training are a symmetric quantizer, good initialization, and careful hyperparameter selection. These techniques also lead to substantial improvements in multi-bit quantization. We demonstrate our unified quantization framework, denoted as UniQ, on the ImageNet dataset with various architectures such as ResNet-18,-34 and MobileNetV2. For multi-bit quantization, UniQ outperforms existing methods to achieve the state-of-the-art accuracy. In binarization, the achieved accuracy is comparable to existing state-of-the-art methods even without modifying the original architectures.

View on arXivView PDF

Code Implementations(1)

phuocphn/uniqOfficial100%

Pytorch implementation of our UniQ method, IEEE Access -- Training Multi-bit Quantized and Binarized Networks with A Learnable Symmetric Quantizer

112PythonApr 7, 20215 years ago

Similar Papers

Cite this paper

@article{pham2021training,
  title  = {Training Multi-bit Quantized and Binarized Networks with A Learnable Symmetric Quantizer},
  author = {Phuoc Pham and Jacob Abraham and Jaeyong Chung},
  year   = {2021},
  eprint = {2104.00210},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.00210}
}

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

Discussion