English

Beyond Preserved Accuracy: Evaluating Loyalty and Robustness of BERT Compression

Computation and Language 2021-10-05 v2 Artificial Intelligence Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2109.03228,
  title  = {Beyond Preserved Accuracy: Evaluating Loyalty and Robustness of BERT Compression},
  author = {Canwen Xu and Wangchunshu Zhou and Tao Ge and Ke Xu and Julian McAuley and Furu Wei},
  journal= {arXiv preprint arXiv:2109.03228},
  year   = {2021}
}

Comments

Accepted to EMNLP 2021 (main conference)

R2 v1 2026-06-24T05:45:53.760Z