BERT-of-Theseus: Compressing BERT by Progressive Module Replacing

By Canwen Xu, Wangchunshu Zhou, Tao Ge, Furu Wei, Ming Zhou. 2020

228 citations recorded by the source corpus.

In this paper, we propose a novel model compression approach to effectively compress BERT by progressive module replacing. Our approach first divides the original BERT into several modules and builds their compact substitutes. Then, we randomly replace the original modules with their substitutes to train the compact modules to mimic the behavior of the original modules. We progressively increase the probability of replacement through the training. In this way, our approach brings a deeper level of interaction between the original and compact models. Compared to the previous knowledge distillation approaches for BERT compression, our approach does not introduce any additional loss function. Our approach outperforms existing knowledge distillation approaches on GLUE benchmark, showing a new perspective of model compression.

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. Furu Wei
  2. Jianfeng Gao
  3. Kurt Keutzer
  4. Zhe Gan
  5. Xipeng Qiu
  6. Li Dong
  7. Mohit Bansal
  8. Zi-Mei Yao

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Jitendra Malik
  4. Zicheng Liu
  5. Cordelia Schmid
  6. Trevor Darrell
  7. Jianfeng Gao
  8. Furu Wei

In Large Language Models

  1. Furu Wei
  2. Li Dong
  3. Canwen Xu
  4. Anna Rogers
  5. Julian McAuley
  6. Shaohan Huang
  7. Anna Rumshisky
  8. Olga Kovaleva

In Efficiency & Compression

  1. Kurt Keutzer
  2. A. Gholami
  3. Michael W. Mahoney
  4. Zi-Mei Yao
  5. Sehoon Kim
  6. Canwen Xu
  7. Julian McAuley
  8. Furu Wei

Citations in the corpus