Fast Implementation of 4-bit Convolutional Neural Networks for Mobile Devices

AI-generated keywords: Quantized Neural Networks Low-Precision FPGA ARM Processor OCR Recognition

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Quantized low-precision neural networks are popular for high performance with less computational resources
  • Advantages for FPGA and ASIC devices, but general-purpose processors may not efficiently perform low-bit integer computations
  • Typically, 8-bit quantized network used for mobile central processors, but in some cases fewer bits can be used
  • Challenge is implementing this efficiently
  • Authors introduce efficient implementation of 4-bit matrix multiplication specifically designed for quantized neural networks
  • Time measurements on mobile ARM processor showed 2.9 times speedup compared to standard floating-point multiplication and 1.5 times faster than an 8-bit quantized network
  • Presented a 4-bit quantized neural network designed for OCR recognition on the MIDV-500 dataset achieving an accuracy of 95% with overall inference speedup of 48%
  • Using fewer bits in neural networks can reduce inference time without significantly sacrificing accuracy
  • Efficient implementation of 4-bit matrix multiplication provides promising results that could benefit mobile devices with limited computational resources
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Anton Trusov, Elena Limonova, Dmitry Slugin, Dmitry Nikolaev, Vladimir V. Arlazarov

Abstract: Quantized low-precision neural networks are very popular because they require less computational resources for inference and can provide high performance, which is vital for real-time and embedded recognition systems. However, their advantages are apparent for FPGA and ASIC devices, while general-purpose processor architectures are not always able to perform low-bit integer computations efficiently. The most frequently used low-precision neural network model for mobile central processors is an 8-bit quantized network. However, in a number of cases, it is possible to use fewer bits for weights and activations, and the only problem is the difficulty of efficient implementation. We introduce an efficient implementation of 4-bit matrix multiplication for quantized neural networks and perform time measurements on a mobile ARM processor. It shows 2.9 times speedup compared to standard floating-point multiplication and is 1.5 times faster than 8-bit quantized one. We also demonstrate a 4-bit quantized neural network for OCR recognition on the MIDV-500 dataset. 4-bit quantization gives 95.0% accuracy and 48% overall inference speedup, while an 8-bit quantized network gives 95.4% accuracy and 39% speedup. The results show that 4-bit quantization perfectly suits mobile devices, yielding good enough accuracy and low inference time.

Submitted to arXiv on 14 Sep. 2020

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2009.06488v2

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

The use of quantized low-precision neural networks has become increasingly popular due to their ability to provide high performance while requiring less computational resources for inference. This is particularly important for real-time and embedded recognition systems. However, while these networks are advantageous for FPGA and ASIC devices, general-purpose processor architectures may not always be able to efficiently perform low-bit integer computations. Typically, the most frequently used low-precision neural network model for mobile central processors is an 8-bit quantized network. However, in certain cases, it may be possible to use fewer bits for weights and activations. The main challenge then becomes implementing this efficiently. In this study, the authors introduce an efficient implementation of 4-bit matrix multiplication specifically designed for quantized neural networks. Time measurements were performed on a mobile ARM processor which showed a 2.9 times speedup compared to standard floating-point multiplication and a 1.5 times faster speed than an 8-bit quantized network. To demonstrate the effectiveness of their approach, the authors also present a 4-bit quantized neural network designed for OCR recognition on the MIDV-500 dataset. This network achieved an accuracy of 95%, with an overall inference speedup of 48%. In comparison, an 8-bit quantized network achieved slightly higher accuracy at 95.4% but only had a speedup of 39%. Overall, these results suggest that using fewer bits in neural networks can be effective in reducing inference time without significantly sacrificing accuracy. The authors' efficient implementation of 4-bit matrix multiplication provides promising results that could benefit mobile devices with limited computational resources by providing improved performance and reduced power consumption compared to conventional methods.
Created on 11 May. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.