Data-Free Quantization Through Weight Equalization and Bias Correction

By Markus Nagel, Mart van Baalen, Tijmen Blankevoort, Max Welling. 2019

645 citations recorded by the source corpus.

We introduce a data-free quantization method for deep neural networks that does not require fine-tuning or hyperparameter selection. It achieves near-original model performance on common computer vision architectures and tasks. 8-bit fixed-point quantization is essential for efficient inference on modern deep learning hardware. However, quantizing models to run in 8-bit is a non-trivial task, frequently leading to either significant performance reduction or engineering time spent on training a network to be amenable to quantization. Our approach relies on equalizing the weight ranges in the network by making use of a scale-equivariance property of activation functions. In addition the method corrects biases in the error that are introduced during quantization. This improves quantization accuracy performance, and can be applied to many common computer vision architectures with a straight forward API call. For common architectures, such as the MobileNet family, we achieve state-of-the-art quantized model performance. We further show that the method also extends to other computer vision architectures and tasks such as semantic segmentation and object detection.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Dan Alistarh
  2. Kurt Keutzer
  3. Luke S. Zettlemoyer
  4. Michael W. Mahoney
  5. Tijmen Blankevoort
  6. Zi-Mei Yao
  7. Elias Frantar
  8. A. Gholami

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Luc Van Gool
  3. Yi Yang
  4. Ming-Hsuan Yang
  5. Xiaogang Wang
  6. Jitendra Malik
  7. Trevor Darrell
  8. Andrew Zisserman

In Efficiency & Compression

  1. Dan Alistarh
  2. Elias Frantar
  3. Tijmen Blankevoort
  4. Luke S. Zettlemoyer
  5. Tim Dettmers
  6. Kurt Keutzer
  7. A. Gholami
  8. Zi-Mei Yao

Citations in the corpus