Fixed-point Quantization of Convolutional Neural Networks for Quantized Inference on Embedded Platforms
Not on the map. Why?
Abstract (arXiv)
Convolutional Neural Networks (CNNs) have proven to be a powerful state-of-the-art method for image classification tasks. One drawback however is the high computational complexity and high memory consumption of CNNs which makes them unfeasible for execution on embedded platforms which are constrained on physical resources needed to support CNNs. Quantization has often been used to efficiently optimize CNNs for memory and computational complexity at the cost of a loss of prediction accuracy. We therefore propose a method to optimally quantize the weights, biases and activations of each layer of a pre-trained CNN while controlling the loss in inference accuracy to enable quantized inference. We quantize the 32-bit floating-point precision parameters to low bitwidth fixed-point representations thereby finding optimal bitwidths and fractional offsets for parameters of each layer of a given CNN. We quantize parameters of a CNN post-training without re-training it. Our method is designed to quantize parameters of a CNN taking into account how other parameters are quantized because ignoring quantization errors due to other quantized parameters leads to a low precision CNN with accuracy losses of up to 50% which is far beyond what is acceptable. Our final method therefore gives a low precision CNN with accuracy losses of less than 1%. As compared to a method used by commercial tools that quantize all parameters to 8-bits, our approach provides quantized CNN with averages of 53% lower memory consumption and 77.5% lower cost of executing multiplications for the two CNNs trained on the four datasets that we tested our work on. We find that layer-wise quantization of parameters significantly helps in this process.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 3 Feb 2021.
Builds on
18 of 28 references.
References · 18
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
- 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 189
- 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 185
- 2019Improving Neural Network Quantization without Retraining using Outlier Channel Splittingcited by 150
- 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
- 2018Training and Inference with Integers in Deep Neural Networkscited by 84
6 more
- 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
- 2018A Survey on Methods and Theories of Quantized Neural Networkscited by 75
- 2016Towards the Limit of Network Quantizationcited by 49
- 2016Overcoming Challenges in Fixed Point Training of Deep Convolutional Networkscited by 9
- 2017Fixed-point optimization of deep neural networks with adaptive step size retrainingcited by 6
- 2018Differentiable Fine-grained Quantization for Deep Neural Network Compressioncited by 2
Built on by
Citing papers per year: 2022: 4; 2023: 1; 2024: 2.
7 papers.
- 2022F8Net: Fixed-Point 8-bit Only Multiplication for Network Quantizationcited by 26
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementationcited by 6
- 2023A Comprehensive Review and a Taxonomy of Edge Machine Learning: Requirements, Paradigms, and Techniquescited by 4
- 2022Computational Complexity Evaluation of Neural Network Applications in Signal Processingcited by 1
- 2024PatchProt: Hydrophobic patch prediction using protein foundation modelscited by 1
- 2022Masterful: A Training Platform for Computer Vision Modelscited by 0
- 2024Certified ML Object Detection for Surveillance Missionscited by 0
- 2024Certified ML Object Detection for Surveillance Missions18 Jun 2024
- 2024PatchProt: Hydrophobic patch prediction using protein foundation models24 May 2024
- 2023A Comprehensive Review and a Taxonomy of Edge Machine Learning: Requirements, Paradigms, and Techniques16 Feb 2023
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementation26 Aug 2022
- 2022Computational Complexity Evaluation of Neural Network Applications in Signal Processing24 Jun 2022
- 2022Masterful: A Training Platform for Computer Vision Models21 May 2022
- 2022F8Net: Fixed-Point 8-bit Only Multiplication for Network Quantization10 Feb 2022