Accelerating Neural Network Inference by Overflow Aware Quantization
Hongwei Xie, Shuo Zhang, Huanghao Ding, Yafei Song, Baitao Shao,, Conggang Hu, Ling Cai, Mingyang Li

TL;DR
This paper introduces an overflow aware quantization technique for neural networks that optimizes bit-width per tensor to prevent overflow, significantly accelerating inference without sacrificing accuracy.
Contribution
It proposes a trainable adaptive fixed-point quantization method that prevents overflow and maximizes hardware utilization during neural network inference.
Findings
Achieves about 2x inference speedup across multiple tasks.
Maintains comparable accuracy to state-of-the-art quantization methods.
Effectively prevents numerical overflow during quantization.
Abstract
The inherent heavy computation of deep neural networks prevents their widespread applications. A widely used method for accelerating model inference is quantization, by replacing the input operands of a network using fixed-point values. Then the majority of computation costs focus on the integer matrix multiplication accumulation. In fact, high-bit accumulator leads to partially wasted computation and low-bit one typically suffers from numerical overflow. To address this problem, we propose an overflow aware quantization method by designing trainable adaptive fixed-point representation, to optimize the number of bits for each input tensor while prohibiting numeric overflow during the computation. With the proposed method, we are able to fully utilize the computing power to minimize the quantization loss and obtain optimized inference performance. To verify the effectiveness of our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Domain Adaptation and Few-Shot Learning · Adversarial Robustness in Machine Learning
