Beyond Preserved Accuracy: Evaluating Loyalty and Robustness of BERT Compression

By Canwen Xu, Wangchunshu Zhou, Tao Ge, Kelvin J. Xu, Julian McAuley, Furu Wei. 2021

47 citations recorded by the source corpus.

Recent studies on compression of pretrained language models (e.g., BERT) usually use preserved accuracy as the metric for evaluation. In this paper, we propose two new metrics, label loyalty and probability loyalty that measure how closely a compressed model (i.e., student) mimics the original model (i.e., teacher). We also explore the effect of compression with regard to robustness under adversarial attacks. We benchmark quantization, pruning, knowledge distillation and progressive module replacing with loyalty and robustness. By combining multiple compression techniques, we provide a practical strategy to achieve better accuracy, loyalty and robustness.

Subfields: Artificial Intelligence, 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. Adina Williams
  2. Melanie Kambadur
  3. Eric Michael Smith
  4. Eleonora Presani
  5. Julian McAuley
  6. Sebastian Gehrmann
  7. Canwen Xu
  8. Julia Kreutzer

In Efficiency & Compression

  1. Julian McAuley
  2. Julia Kreutzer
  3. Orevaoghene Ahia
  4. Canwen Xu
  5. Sebastian Gehrmann
  6. Sara Hooker
  7. Eric Michael Smith
  8. Adina Williams

Citations in the corpus