Integer-Only Neural Network Quantization Scheme Based on Shift-Batch-Normalization

Qingyu Guo, Yuan Wang, Xiaoxin Cui
5/28/2021
cs.LG
quantization-pruning

Official code: hguq/IntegerNet (4 stars, Python, GPL-2.0, last commit 2021-06-02).

Abstract

Neural networks are very popular in many areas, but great computing complexity makes it hard to run neural networks on devices with limited resources. To address this problem, quantization methods are used to reduce model size and computation cost, making it possible to use neural networks on embedded platforms or mobile devices.

Show full abstract

In this paper, an integer-only-quantization scheme is introduced. This scheme uses one layer that combines shift-based batch normalization and uniform quantization to implement 4-bit integer-only inference. Without big integer multiplication(which is used in previous integer-only-quantization methods), this scheme can achieve good power and latency efficiency, and is especially suitable to be deployed on co-designed hardware platforms. Tests have proved that this scheme works very well for easy tasks. And for tough tasks, performance loss can be tolerated for its inference efficiency. Our work is available on github: https://github.com/hguq/IntegerNet.

View on arXivView PDF

Code Implementations(1)

hguq/IntegerNetOfficial100%
GPL-2.0
41PythonMay 28, 20215 years agoGPL-2.0

Similar Papers

Cite this paper

@article{guo2021integeronly,
  title  = {Integer-Only Neural Network Quantization Scheme Based on Shift-Batch-Normalization},
  author = {Qingyu Guo and Yuan Wang and Xiaoxin Cui},
  year   = {2021},
  eprint = {2106.00127},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00127}
}

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

Discussion