Bayesian Bits: Unifying Quantization and Pruning

By Mart van Baalen, Christos Louizos, Markus Nagel, Rana Ali Amjad, Tijmen Blankevoort, Max Welling. 2020

143 citations recorded by the source corpus.

We introduce Bayesian Bits, a practical method for joint mixed precision quantization and pruning through gradient based optimization. Bayesian Bits employs a novel decomposition of the quantization operation, which sequentially considers doubling the bit width. At each new bit width, the residual error between the full precision value and the previously rounded value is quantized. We then decide whether or not to add this quantized residual error for a higher effective bit width and lower quantization noise. By starting with a power-of-two bit width, this decomposition will always produce hardware-friendly configurations, and through an additional 0-bit option, serves as a unified view of pruning and quantization. Bayesian Bits then introduces learnable stochastic gates, which collectively control the bit width of the given tensor. As a result, we can obtain low bit solutions by performing approximate inference over the gates, with prior distributions that encourage most of them to be switched off. We experimentally validate our proposed method on several benchmark datasets and show that we can learn pruned, mixed precision networks that provide a better trade-off between accuracy and efficiency than their static bit width equivalents.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

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. Kurt Keutzer
  2. Michael W. Mahoney
  3. Zi-Mei Yao
  4. A. Gholami
  5. Tijmen Blankevoort
  6. Markus Nagel
  7. Yelysei Bondarenko
  8. Zhen Dong

In Computer Vision and Pattern Recognition

  1. Kurt Keutzer
  2. Zi-Mei Yao
  3. A. Gholami
  4. Michael W. Mahoney
  5. Tijmen Blankevoort
  6. Markus Nagel
  7. Yelysei Bondarenko
  8. Zhen Dong

Citations in the corpus