mlsanityData to 7 Oct 2026

Development of Quantized DNN Library for Exact Hardware Emulation

arXiv 2106.08892 ↗First posted 15 Jun 2021cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Quantization is used to speed up execution time and save power when runnning Deep neural networks (DNNs) on edge devices like AI chips. To investigate the effect of quantization, we need performing inference after quantizing the weights of DNN with 32-bit floating-point precision by a some bit width, and then quantizing them back to 32-bit floating-point precision. This is because the DNN library can only handle floating-point numbers. However, the accuracy of the emulation does not provide accurate precision. We need accurate precision to detect overflow in MAC operations or to verify the operation on edge de vices. We have developed PyParch, a DNN library that executes quantized DNNs (QNNs) with exactly the same be havior as hardware. In this paper, we describe a new proposal and implementation of PyParch. As a result of the evaluation, the accuracy of QNNs with arbitrary bit widths can be estimated for la rge and complex DNNs such as YOLOv5, and the overflow can be detected. We evaluated the overhead of the emulation time and found that it was 5.6 times slower for QNN and 42 times slower for QNN with overflow detection compared to the normal DNN execution time.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 22 references that are in the map. First posted on arXiv 15 Jun 2021.

Builds on

12 of 22 references.

References · 12

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2019Searching for MobileNetV3cited by 1,984
  6. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  7. 2013Network In Networkcited by 600
  8. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
  9. 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 515
  10. 2017A Survey of Model Compression and Acceleration for Deep Neural Networkscited by 298
  11. 2019QPyTorch: A Low-Precision Arithmetic Simulation Frameworkcited by 21
  12. 2017TensorQuant - A Simulation Toolbox for Deep Neural Network Quantizationcited by 8

Built on by

Not cited yet.