Towards the Limit of Network Quantization

By Yoojin Choi, Mostafa El-Khamy, Jungwon Lee. 2016

217 citations recorded by the source corpus.

Network quantization is one of network compression techniques to reduce the redundancy of deep neural networks. It reduces the number of distinct network parameter values by quantization in order to save the storage for them. In this paper, we design network quantization schemes that minimize the performance loss due to quantization given a compression ratio constraint. We analyze the quantitative relation of quantization errors to the neural network loss function and identify that the Hessian-weighted distortion measure is locally the right objective function for the optimization of network quantization. As a result, Hessian-weighted k-means clustering is proposed for clustering network parameters to quantize. When optimal variable-length binary codes, e.g., Huffman codes, are employed for further compression, we derive that the network quantization problem can be related to the entropy-constrained scalar quantization (ECSQ) problem in information theory and consequently propose two solutions of ECSQ for network quantization, i.e., uniform quantization and an iterative solution similar to Lloyd's algorithm. Finally, using the simple uniform quantization followed by Huffman coding, we show from our experiments that the compression ratios of 51.25, 22.17 and 40.65 are achievable for LeNet, 32-layer ResNet and AlexNet, respectively.

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. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Jianfeng Gao
  4. Yoshua Bengio
  5. Caiming Xiong
  6. Graham Neubig
  7. Yu Cheng
  8. Yejin Choi

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Xiaogang Wang
  4. Ming-Hsuan Yang
  5. Andrea Vedaldi
  6. Trevor Darrell
  7. Jitendra Malik
  8. Chen Change Loy

In Efficiency & Compression

  1. Dan Alistarh
  2. Luke S. Zettlemoyer
  3. Tim Dettmers
  4. Elias Frantar
  5. Eirikur Agustsson
  6. Michael Tschannen
  7. Mohammad Rastegari
  8. Yunhui Guo

Citations in the corpus