arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.03228cs.CLcs.AIcs.LG
收藏

超越保持的准确性:评估BERT压缩的可靠性和鲁棒性

Beyond Preserved Accuracy: Evaluating Loyalty and Robustness of BERT Compression

Microsoft Research Asia(微软亚洲研究院);University of California, San Diego(加利福尼亚大学圣迭戈分校);Stanford University(斯坦福大学);Beihang University(北京航空航天大学)

Canwen Xu, Wangchunshu Zhou, Tao Ge, Ke Xu, Julian McAuley, Furu Wei

摘要:

关于预训练语言模型压缩的最新研究(例如,BERT)通常使用保留的准确度作为评估的度量。在本文中,我们提出了两个新的度量标准,标签忠诚度和概率忠诚度,衡量压缩模型(即,学生)模仿原始模型(即,教师)。我们还探讨了在对抗攻击下压缩对鲁棒性的影响。我们对量化、剪枝、知识蒸馏和渐进模块替换进行了基准测试,测试了它们的忠诚度和鲁棒性。通过结合多种压缩技术,我们提供了一种实用的策略,以实现更好的准确性,忠诚度和鲁棒性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑