Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of Deep Neural Networks

By Albert Gural, Michael Wu, Chris Dick. 2019

171 citations recorded by the source corpus.

We propose a method of training quantization thresholds (TQT) for uniform symmetric quantizers using standard backpropagation and gradient descent. Contrary to prior work, we show that a careful analysis of the straight-through estimator for threshold gradients allows for a natural range-precision trade-off leading to better optima. Our quantizers are constrained to use power-of-2 scale-factors and per-tensor scaling of weights and activations to make it amenable for hardware implementations. We present analytical support for the general robustness of our methods and empirically validate them on various CNNs for ImageNet classification. We are able to achieve near-floating-point accuracy on traditionally difficult networks such as MobileNets with less than 5 epochs of quantized (8-bit) retraining. Finally, we present Graffitist, a framework that enables automatic quantization of TensorFlow graphs for TQT (available at this https URL ).

Subfields: 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 Efficiency & Compression

  1. Luke S. Zettlemoyer
  2. Tijmen Blankevoort
  3. Tim Dettmers
  4. Markus Nagel
  5. Dan Alistarh
  6. Rana Ali Amjad
  7. Max Welling
  8. Mart van Baalen

Citations in the corpus