BinaryBERT: Pushing the Limit of BERT Quantization

By Haoli Bai, Wei Zhang, Lu Hou, Lifeng Shang, Jing Jin, Xin Jiang, Qun Liu, Michael R. Lyu, Irwin King. 2020

276 citations recorded by the source corpus.

The rapid development of large pre-trained language models has greatly increased the demand for model compression techniques, among which quantization is a popular solution. In this paper, we propose BinaryBERT, which pushes BERT quantization to the limit by weight binarization. We find that a binary BERT is hard to be trained directly than a ternary counterpart due to its complex and irregular loss landscape. Therefore, we propose ternary weight splitting, which initializes BinaryBERT by equivalently splitting from a half-sized ternary network. The binary model thus inherits the good performance of the ternary one, and can be further enhanced by fine-tuning the new architecture after splitting. Empirical results show that our BinaryBERT has only a slight performance drop compared with the full-precision model while being 24x smaller, achieving the state-of-the-art compression results on the GLUE and SQuAD benchmarks. Code will be released.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models, 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. Kurt Keutzer
  2. Iryna Gurevych
  3. Zi-Mei Yao
  4. Yi Tay
  5. A. Gholami
  6. Michael W. Mahoney
  7. Luke S. Zettlemoyer
  8. Mohit Bansal

In Computer Vision and Pattern Recognition

  1. Kurt Keutzer
  2. Dacheng Tao
  3. Zi-Mei Yao
  4. Michael W. Mahoney
  5. A. Gholami
  6. Luc Van Gool
  7. Jianfei Cai
  8. Xiaogang Wang

In Large Language Models

  1. Zi-Mei Yao
  2. Minjia Zhang
  3. Kurt Keutzer
  4. Lu Hou
  5. Yuxiong He
  6. Conglong Li
  7. Xiaoxia Wu
  8. Wei Zhang

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