Efficient Execution of Quantized Deep Learning Models: A Compiler Approach
Not on the map. Why?
Abstract (arXiv)
A growing number of applications implement predictive functions using deep learning models, which require heavy use of compute and memory. One popular technique for increasing resource efficiency is 8-bit integer quantization, in which 32-bit floating point numbers (fp32) are represented using shorter 8-bit integer numbers. Although deep learning frameworks such as TensorFlow, TFLite, MXNet, and PyTorch enable developers to quantize models with only a small drop in accuracy, they are not well suited to execute quantized models on a variety of hardware platforms. For example, TFLite is optimized to run inference on ARM CPU edge devices but it does not have efficient support for Intel CPUs and Nvidia GPUs. In this paper, we address the challenges of executing quantized deep learning models on diverse hardware platforms by proposing an augmented compiler approach. A deep learning compiler such as Apache TVM can enable the efficient execution of model from various frameworks on various targets. Many deep learning compilers today, however, are designed primarily for fp32 computation and cannot optimize a pre-quantized INT8 model. To address this issue, we created a new dialect called Quantized Neural Network (QNN) that extends the compiler's internal representation with a quantization context. With this quantization context, the compiler can generate efficient code for pre-quantized models on various hardware platforms. As implemented in Apache TVM, we observe that the QNN-augmented deep learning compiler achieves speedups of 2.35x, 2.15x, 1.35x and 1.40x on Intel Xeon Cascade Lake CPUs, Nvidia Tesla T4 GPUs, ARM Raspberry Pi3 and Pi4 respectively against well optimized fp32 execution, and comparable performance to the state-of-the-art framework-specific solutions.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 3; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
13 papers.
Sort:
By area:
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2022QONNX: Representing Arbitrary-Precision Quantized Neural Networkscited by 10
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2021Reduced Precision Strategies for Deep Learning: A High Energy Physics Generative Adversarial Network Use Casecited by 6
- 2022Quantune: Post-training Quantization of Convolutional Neural Networks using Extreme Gradient Boosting for Fast Deploymentcited by 6
- 2023Performance Characterization of using Quantization for DNN Inference on Edge Devices: Extended Versioncited by 4
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 3
- 2021Automated Backend-Aware Post-Training Quantizationcited by 2
- 2021Understanding Cache Boundness of ML Operators on ARM Processorscited by 1
- 2021Pre-Quantized Deep Learning Models Codified in ONNX to Enable Hardware/Software Co-Designcited by 1
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Surveycited by 1
- 2026A Comparative Study of CNN Optimization Methods for Edge AI: Exploring the Role of Early Exits16 Apr 2026
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Survey15 Aug 2024
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables12 Sep 2023
- 2023Performance Characterization of using Quantization for DNN Inference on Edge Devices: Extended Version9 Mar 2023
- 2022Decompiling x86 Deep Neural Network Executables3 Oct 2022
- 2022QONNX: Representing Arbitrary-Precision Quantized Neural Networks15 Jun 2022
- 2022Quantune: Post-training Quantization of Convolutional Neural Networks using Extreme Gradient Boosting for Fast Deployment10 Feb 2022
- 2021Pre-Quantized Deep Learning Models Codified in ONNX to Enable Hardware/Software Co-Design4 Oct 2021
- 2021Automated Backend-Aware Post-Training Quantization27 Mar 2021
- 2021A Survey of Quantization Methods for Efficient Neural Network Inference25 Mar 2021
- 2021Reduced Precision Strategies for Deep Learning: A High Energy Physics Generative Adversarial Network Use Case18 Mar 2021
- 2021Understanding Cache Boundness of ML Operators on ARM Processors1 Feb 2021
1 more
- 2021UNIT: Unifying Tensorized Instruction Compilation21 Jan 2021
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2022QONNX: Representing Arbitrary-Precision Quantized Neural Networkscited by 10
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2021Reduced Precision Strategies for Deep Learning: A High Energy Physics Generative Adversarial Network Use Casecited by 6
- 2022Quantune: Post-training Quantization of Convolutional Neural Networks using Extreme Gradient Boosting for Fast Deploymentcited by 6
- 2023Performance Characterization of using Quantization for DNN Inference on Edge Devices: Extended Versioncited by 4
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 3
- 2021Automated Backend-Aware Post-Training Quantizationcited by 2
- 2021Understanding Cache Boundness of ML Operators on ARM Processorscited by 1
- 2021Pre-Quantized Deep Learning Models Codified in ONNX to Enable Hardware/Software Co-Designcited by 1
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Surveycited by 1
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Survey15 Aug 2024
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables12 Sep 2023
- 2023Performance Characterization of using Quantization for DNN Inference on Edge Devices: Extended Version9 Mar 2023
- 2022Decompiling x86 Deep Neural Network Executables3 Oct 2022
- 2022QONNX: Representing Arbitrary-Precision Quantized Neural Networks15 Jun 2022
- 2022Quantune: Post-training Quantization of Convolutional Neural Networks using Extreme Gradient Boosting for Fast Deployment10 Feb 2022
- 2021Pre-Quantized Deep Learning Models Codified in ONNX to Enable Hardware/Software Co-Design4 Oct 2021
- 2021Automated Backend-Aware Post-Training Quantization27 Mar 2021
- 2021A Survey of Quantization Methods for Efficient Neural Network Inference25 Mar 2021
- 2021Reduced Precision Strategies for Deep Learning: A High Energy Physics Generative Adversarial Network Use Case18 Mar 2021
- 2021Understanding Cache Boundness of ML Operators on ARM Processors1 Feb 2021
- 2021UNIT: Unifying Tensorized Instruction Compilation21 Jan 2021