超越保持的准确性:评估BERT压缩的可靠性和鲁棒性
Beyond Preserved Accuracy: Evaluating Loyalty and Robustness of BERT Compression
摘要:
关于预训练语言模型压缩的最新研究(例如,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分析而来,可能存在错误,请以论文正文为准。