Training with Quantization Noise for Extreme Model Compression

By Angela Fan, Pierre Stock, Benjamin Graham, Edouard Grave, Rémi Gribonval, Herv'e J'egou, Armand Joulin. 2020

267 citations recorded by the source corpus.

We tackle the problem of producing compact models, maximizing their accuracy for a given model size. A standard solution is to train networks with Quantization Aware Training, where the weights are quantized during training and the gradients approximated with the Straight-Through Estimator. In this paper, we extend this approach to work beyond int8 fixed-point quantization with extreme compression methods where the approximations introduced by STE are severe, such as Product Quantization. Our proposal is to only quantize a different random subset of weights during each forward, allowing for unbiased gradients to flow through the other weights. Controlling the amount of noise and its form allows for extreme compression rates while maintaining the performance of the original model. As a result we establish new state-of-the-art compromises between accuracy and model size both in natural language processing and image classification. For example, applying our method to state-of-the-art Transformer and ConvNet architectures, we can achieve 82.5% accuracy on MNLI by compressing RoBERTa to 14MB and 80.0 top-1 accuracy on ImageNet by compressing an EfficientNet-B3 to 3.3MB.

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. Quoc V. Le
  5. Graham Neubig
  6. Percy Liang
  7. Hannaneh Hajishirzi
  8. Hinrich Schütze

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Xiaogang Wang
  5. Ming-Hsuan Yang
  6. Cordelia Schmid
  7. Jitendra Malik
  8. Andrew Zisserman

In Efficiency & Compression

  1. Kurt Keutzer
  2. Alexander M. Rush
  3. A. Gholami
  4. Mohammad Rastegari
  5. Luke S. Zettlemoyer
  6. Armand Joulin
  7. Zi-Mei Yao
  8. Herv'e J'egou

Citations in the corpus