English

Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation

Machine Learning 2020-04-22 v1 Machine Learning

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.

Keywords

Cite

@article{arxiv.2004.09602,
  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},
  journal= {arXiv preprint arXiv:2004.09602},
  year   = {2020}
}

Comments

20 pages, 7 figures