Skip to main navigation Skip to search Skip to main content

General Bitwidth Assignment for Efficient Deep Convolutional Neural Network Quantization

  • Wen Fei
  • , Wenrui Dai*
  • , Chenglin Li
  • , Junni Zou
  • , Hongkai Xiong
  • *Corresponding author for this work
  • Shanghai Jiao Tong University

Research output: Contribution to journal › Article › peer-review

Abstract

Model quantization is essential to deploy deep convolutional neural networks (DCNNs) on resource-constrained devices. In this article, we propose a general bitwidth assignment algorithm based on theoretical analysis for efficient layerwise weight and activation quantization of DCNNs. The proposed algorithm develops a prediction model to explicitly estimate the loss of classification accuracy led by weight quantization with a geometrical approach. Consequently, dynamic programming is adopted to achieve optimal bitwidth assignment on weights based on the estimated error. Furthermore, we optimize bitwidth assignment for activations by considering the signal-to-quantization-noise ratio (SQNR) between weight and activation quantization. The proposed algorithm is general to reveal the tradeoff between classification accuracy and model size for various network architectures. Extensive experiments demonstrate the efficacy of the proposed bitwidth assignment algorithm and the error rate prediction model. Furthermore, the proposed algorithm is shown to be well extended to object detection.

Original languageEnglish
Pages (from-to)5253-5267
Number of pages15
JournalIEEE Transactions on Neural Networks and Learning Systems
Volume33
Issue number10
DOIs
StatePublished - 1 Oct 2022
Externally publishedYes

Keywords

  • Bitwidth assignment
  • deep convolutional neural networks (DCNNs)
  • network quantization
  • quantization noise

Fingerprint

Dive into the research topics of 'General Bitwidth Assignment for Efficient Deep Convolutional Neural Network Quantization'. Together they form a unique fingerprint.

Cite this