SYQ: Learning Symmetric Quantization for Efficient Deep Neural Networks

By Julian Faraone, Nicholas J. Fraser, Michaela Blott, Philip Heng Wai Leong. 2018

142 citations recorded by the source corpus.

Inference for state-of-the-art deep neural networks is computationally expensive, making them difficult to deploy on constrained hardware environments. An efficient way to reduce this complexity is to quantize the weight parameters and/or activations during training by approximating their distributions with a limited entry codebook. For very low-precisions, such as binary or ternary networks with 1-8-bit activations, the information loss from quantization leads to significant accuracy degradation due to large gradient mismatches between the forward and backward functions. In this paper, we introduce a quantization method to reduce this loss by learning a symmetric codebook for particular weight subgroups. These subgroups are determined based on their locality in the weight matrix, such that the hardware simplicity of the low-precision representations is preserved. Empirically, we show that symmetric quantization can substantially improve accuracy for networks with extremely low-precision weights and activations. We also demonstrate that this representation imposes minimal or no hardware implications to more coarse-grained approaches. Source code is available at https://www.github.com/julianfaraone/SYQ.

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. Luc Van Gool
  2. Chunhua Shen
  3. Ian David Reid
  4. Greg Mori
  5. Dengxin Dai
  6. Frederick Tung
  7. Nicu Sebe
  8. Stamatios Georgoulis

In Computer Vision and Pattern Recognition

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

Citations in the corpus