Back to Search
Start Over
Low-bit Quantization Needs Good Distribution
- Source :
- CVPR Workshops
- Publication Year :
- 2020
- Publisher :
- IEEE, 2020.
-
Abstract
- Low-bit quantization is challenging to maintain high performance with limited model capacity (e.g., 4-bit for both weights and activations). Naturally, the distribution of both weights and activations in deep neural network are Gaussian-like. Nevertheless, due to the limited bitwidth of low-bit model, uniform-like distributed weights and activations have been proved to be more friendly to quantization while preserving accuracy. Motivated by this, we propose Scale-Clip, a Distribution Reshaping technique that can reshape weights or activations into a uniform-like distribution in a dynamic manner. Furthermore, to increase the model capability for a low-bit model, a novel Group- based Quantization algorithm is proposed to split the filters into several groups. Different groups can learn different quantization parameters, which can be elegantly merged into batch normalization layer without extra computational cost in the inference stage. Finally, we integrate Scale-Clip technique with Group-based Quantization algorithm and propose the Group-based Distribution Reshaping Quantization (GDRQ) framework to further improve the quantization performance. Experiments on various networks (e.g. VGGNet and ResNet) and vision tasks (e.g. classification, detection, and segmentation) demonstrate that our framework achieves much better performance than state-of-the- art quantization methods. Specifically, the ResNet-50 model with 2-bit weights and 4-bit activations obtained by our framework achieves less than 1% accuracy drop on ImageNet classification task, which is a new state-of-the-art to our best knowledge.
- Subjects :
- Normalization (statistics)
Artificial neural network
Computer science
business.industry
Low bit
Quantization (signal processing)
05 social sciences
010501 environmental sciences
01 natural sciences
Residual neural network
0502 economics and business
Segmentation
Artificial intelligence
050207 economics
business
Algorithm
0105 earth and related environmental sciences
Subjects
Details
- Database :
- OpenAIRE
- Journal :
- 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)
- Accession number :
- edsair.doi...........eb2ad691e1b885a2b0a45a60b1e52621
- Full Text :
- https://doi.org/10.1109/cvprw50498.2020.00348