Integer-Only Neural Network Quantization Scheme Based on Shift-Batch-Normalization
arXiv:2106.00127
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. 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.
References in corpus (7)
- BinaryConnect: Training Deep Neural Networks with binary weights during propagations
- Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations
- Trained Ternary Quantization
- Understanding Straight-Through Estimator in Training Activation Quantized Neural Nets
- Discovering Low-Precision Networks Close to Full-Precision Networks for Efficient Embedded Inference
- HAWQV3: Dyadic Neural Network Quantization
- I-BERT: Integer-only BERT Quantization