BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction

By Yuhang Li, Ruihao Gong, Xu Tan, Yang Yang, Peng Hu, Qi Zhang, Fisher Yu, Shi Gu. 2021

675 citations recorded by the source corpus.

We study the challenging task of neural network quantization without end-to-end retraining, called Post-training Quantization (PTQ). PTQ usually requires a small subset of training data but produces less powerful quantized models than Quantization-Aware Training (QAT). In this work, we propose a novel PTQ framework, dubbed BRECQ, which pushes the limits of bitwidth in PTQ down to INT2 for the first time. BRECQ leverages the basic building blocks in neural networks and reconstructs them one-by-one. In a comprehensive theoretical study of the second-order error, we show that BRECQ achieves a good balance between cross-layer dependency and generalization error. To further employ the power of quantization, the mixed precision technique is incorporated in our framework by approximating the inter-layer and intra-layer sensitivity. Extensive experiments on various handcrafted and searched neural architectures are conducted for both image classification and object detection tasks. And for the first time we prove that, without bells and whistles, PTQ can attain 4-bit ResNet and MobileNetV2 comparable with QAT and enjoy 240 times faster production of quantized models. Codes are available at https://github.com/yhhhli/BRECQ.

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

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. Song Han
  3. Tijmen Blankevoort
  4. Dan Alistarh
  5. Ji Lin
  6. Torsten Hoefler
  7. Elias Frantar
  8. Zhen Dong

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Yu Qiao
  4. Xiaogang Wang
  5. Jitendra Malik
  6. Song Han
  7. Yi Yang
  8. Trevor Darrell

In Efficiency & Compression

  1. Dan Alistarh
  2. Elias Frantar
  3. Song Han
  4. Kurt Keutzer
  5. Torsten Hoefler
  6. Tijmen Blankevoort
  7. Ji Lin
  8. Zhen Dong

In Optimization & Training

  1. Tijmen Blankevoort
  2. Daniel Soudry
  3. Torsten Hoefler
  4. Itay Hubara
  5. Saleh Ashkboos
  6. Dan Alistarh
  7. Kurt Keutzer
  8. Elias Frantar

Citations in the corpus