GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inference

By Ali Hadi Zadeh, Andreas Moshovos. 2020

230 citations recorded by the source corpus.

Attention-based models have demonstrated remarkable success in various natural language understanding tasks. However, efficient execution remains a challenge for these models which are memory-bound due to their massive number of parameters. We present GOBO, a model quantization technique that compresses the vast majority (typically 99.9%) of the 32-bit floating-point parameters of state-of-the-art BERT models and their variants to 3 bits while maintaining their accuracy. Unlike other quantization methods, GOBO does not require fine-tuning nor retraining to compensate for the quantization error. We present two practical hardware applications of GOBO. In the first GOBO reduces memory storage and traffic and as a result inference latency and energy consumption. This GOBO memory compression mechanism is plug-in compatible with many architectures; we demonstrate it with the TPU, Eyeriss, and an architecture using Tensor Cores-like units. Second, we present a co-designed hardware architecture that also reduces computation. Uniquely, the GOBO architecture maintains most of the weights in 3b even during computation, a property that: (i) makes the processing elements area efficient, allowing us to pack more compute power per unit area, (ii) replaces most multiply-accumulations with additions, and (iii) reduces the off-chip traffic by amplifying on-chip memory capacity.

Subfields: Natural Language Processing, 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 Natural Language Processing

  1. Dan Jurafsky
  2. Qun Liu
  3. Kawin Ethayarajh
  4. Xin Jiang
  5. Wayne Xin Zhao
  6. Ji-rong Wen
  7. Lifeng Shang
  8. A. Gholami

In Efficiency & Compression

  1. Kurt Keutzer
  2. Zi-Mei Yao
  3. A. Gholami
  4. Michael W. Mahoney
  5. Sehoon Kim
  6. Minjia Zhang
  7. Yuxiong He
  8. Conglong Li

Citations in the corpus