Learning Accurate Low-Bit Deep Neural Networks with Stochastic Quantization
Yinpeng Dong, Renkun Ni, Jianguo Li, Yurong Chen, Jun Zhu, Hang Su

TL;DR
This paper introduces stochastic quantization, a novel training algorithm for low-bit deep neural networks that selectively quantizes network elements based on error, significantly improving accuracy in embedded applications.
Contribution
The paper proposes a stochastic quantization method that adaptively quantizes network elements, reducing accuracy loss compared to traditional uniform quantization methods.
Findings
Consistently improves low-bit DNN accuracy across datasets.
Effective for various network architectures.
Gradually increasing quantization ratio enhances performance.
Abstract
Low-bit deep neural networks (DNNs) become critical for embedded applications due to their low storage requirement and computing efficiency. However, they suffer much from the non-negligible accuracy drop. This paper proposes the stochastic quantization (SQ) algorithm for learning accurate low-bit DNNs. The motivation is due to the following observation. Existing training algorithms approximate the real-valued elements/filters with low-bit representation all together in each iteration. The quantization errors may be small for some elements/filters, while are remarkable for others, which lead to inappropriate gradient direction during training, and thus bring notable accuracy drop. Instead, SQ quantizes a portion of elements/filters to low-bit with a stochastic probability inversely proportional to the quantization error, while keeping the other portion unchanged with full-precision. The…
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.
Code & Models
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 · Machine Learning and ELM
