Quantization Networks

Jiwei Yang, Xu Shen, Jun Xing, Xinmei Tian, Houqiang Li +3 more
11/21/2019
cs.CVcs.LGstat.ML
quantization-pruning

Official code: aliyun/alibabacloud-quantization-networks (118 stars, Python, Apache-2.0, last commit 2019-11-08).

Abstract

Although deep neural networks are highly effective, their high computational and memory costs severely challenge their applications on portable devices. As a consequence, low-bit quantization, which converts a full-precision neural network into a low-bitwidth integer version, has been an active and promising research topic.

Show full abstract

Existing methods formulate the low-bit quantization of networks as an approximation or optimization problem. Approximation-based methods confront the gradient mismatch problem, while optimization-based methods are only suitable for quantizing weights and could introduce high computational cost in the training stage. In this paper, we propose a novel perspective of interpreting and implementing neural network quantization by formulating low-bit quantization as a differentiable non-linear function (termed quantization function). The proposed quantization function can be learned in a lossless and end-to-end manner and works for any weights and activations of neural networks in a simple and uniform way. Extensive experiments on image classification and object detection tasks show that our quantization networks outperform the state-of-the-art methods. We believe that the proposed method will shed new insights on the interpretation of neural network quantization. Our code is available at https://github.com/aliyun/alibabacloud-quantization-networks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

alibabacloud-quantization-networks

11831Python, ShellNov 8, 20197 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2019quantization,
  title  = {Quantization Networks},
  author = {Jiwei Yang and Xu Shen and Jun Xing and Xinmei Tian and Houqiang Li and Bing Deng and Jianqiang Huang and Xiansheng Hua},
  year   = {2019},
  eprint = {1911.09464},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.09464}
}

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

Discussion