Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation

arXiv:2004.09602 First posted 2020-04-20 v1 20 pages, 7 figures
Cite this paper ×
BibTeX
@misc{wu2020integer,
  title = {Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation},
  author = {Hao Wu and Patrick Judd and Xiaojie Zhang and Mikhail Isaev and Paulius Micikevicius},
  year = {2020},
  eprint = {2004.09602},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2004.09602}
}
APA 7
Wu, H., Judd, P., Zhang, X., Isaev, M., & Micikevicius, P. (2020). Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2004.09602
GB/T 7714
WU H, JUDD P, ZHANG X, et al. Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation[EB/OL]. (2020-04-20)[2026-11-30]. https://arxiv.org/abs/2004.09602.

Abstract

Quantization techniques can reduce the size of Deep Neural Networks and improve inference latency and throughput by taking advantage of high throughput integer instructions. In this paper we review the mathematical aspects of quantization parameters and evaluate their choices on a wide range of neural network models for different application domains, including vision, speech, and language. We focus on quantization techniques that are amenable to acceleration by processors with high-throughput integer math pipelines. We also present a workflow for 8-bit quantization that is able to maintain accuracy within 1% of the floating-point baseline on all networks studied, including models that are more difficult to quantize, such as MobileNets and BERT-large.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!