DeepGEMM: Accelerated Ultra Low-Precision Inference on CPU Architectures using Lookup Tables

AI-generated keywords: DeepGEMM Ultra Low-Precision SIMD Hardware QNNPACK Learned Step Size Quantization

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.

  • DeepGEMM is a lookup table based approach to accelerate ultra low-precision inference on CPU architectures
  • Recent progress in ultra low-bit quantization has shown significant improvements in latency, memory footprint, and energy consumption on edge devices
  • Commodity SIMD hardware typically supports no less than 8-bit precision, which limits the execution of ultra low-precision convolutional neural networks
  • DeepGEMM precomputes all possible products of weights and activations and stores them in a lookup table for efficient access at inference time
  • DeepGEMM enables the execution of ultra low-precision convolutional neural networks on SIMD hardware with improved performance compared to corresponding 8-bit integer kernels in the QNNPACK framework up to 1.74x on x86 platforms for 2-bit implementation
  • Quantization methods such as Learned Step Size Quantization can achieve model accuracy comparable to full-precision floating-point baselines even with sub-byte quantization
  • DeepGEMM promises significant improvements in latency, memory footprint, and energy consumption while maintaining model accuracy for ultra low-bit quantized models deployed on mainstream CPU devices
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Darshan C. Ganji, Saad Ashfaq, Ehsan Saboori, Sudhakar Sah, Saptarshi Mitra, MohammadHossein AskariHemmat, Alexander Hoffman, Ahmed Hassanien, Mathieu Léonardon

Abstract: A lot of recent progress has been made in ultra low-bit quantization, promising significant improvements in latency, memory footprint and energy consumption on edge devices. Quantization methods such as Learned Step Size Quantization can achieve model accuracy that is comparable to full-precision floating-point baselines even with sub-byte quantization. However, it is extremely challenging to deploy these ultra low-bit quantized models on mainstream CPU devices because commodity SIMD (Single Instruction, Multiple Data) hardware typically supports no less than 8-bit precision. To overcome this limitation, we propose DeepGEMM, a lookup table based approach for the execution of ultra low-precision convolutional neural networks on SIMD hardware. The proposed method precomputes all possible products of weights and activations, stores them in a lookup table, and efficiently accesses them at inference time to avoid costly multiply-accumulate operations. Our 2-bit implementation outperforms corresponding 8-bit integer kernels in the QNNPACK framework by up to 1.74x on x86 platforms.

Submitted to arXiv on 18 Apr. 2023

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: 2304.09049v1

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.

DeepGEMM is a lookup table based approach proposed by a team of researchers to accelerate ultra low-precision inference on CPU architectures. Recent progress in ultra low-bit quantization has shown significant improvements in latency, memory footprint, and energy consumption on edge devices. To address the limitation of commodity SIMD hardware that typically supports no less than 8-bit precision, DeepGEMM precomputes all possible products of weights and activations and stores them in a lookup table for efficient access at inference time. This method enables the execution of ultra low-precision convolutional neural networks on SIMD hardware with improved performance compared to corresponding 8-bit integer kernels in the QNNPACK framework up to 1.74x on x86 platforms for 2-bit implementation. Moreover, quantization methods such as Learned Step Size Quantization can achieve model accuracy comparable to full-precision floating-point baselines even with sub-byte quantization. Therefore, DeepGEMM promises significant improvements in latency, memory footprint, and energy consumption while maintaining model accuracy for ultra low-bit quantized models deployed on mainstream CPU devices.
Created on 22 Apr. 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.

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.