arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2002.11985cs.LGstat.ML
收藏

压缩基于大规模Transformer的模型:BERT的案例研究

Compressing Large-Scale Transformer-Based Models: A Case Study on BERT

Advanced Digital Sciences Center(高级数字科学中心);College of Science and Engineering, Hamad Bin Khalifa University(哈马德·本·哈利法大学科学与工程学院);Qatar Computing Research Institute, Hamad Bin Khalifa University(哈马德·本·哈利法大学卡塔尔计算研究所);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Prakhar Ganesh, Yao Chen, Xin Lou, Mohammad Ali Khan, Yin Yang, Hassan Sajjad, Preslav Nakov, Deming Chen, Marianne Winslett

摘要:

预训练的基于transformer的模型在各种自然语言处理(NLP)任务中实现了最先进的性能。然而,这些模型通常具有数十亿个参数,并且因此过于消耗资源和计算密集型,以适应具有严格延迟要求的低性能设备或应用。一个潜在的补救办法是模型压缩,这已经吸引了大量的研究关注。在这里,我们总结了压缩Transformers的研究,重点是特别流行的BERT模型。特别是,我们调查了BERT压缩的最新技术水平,我们澄清了当前压缩大规模Transformer模型的最佳实践,我们提供了各种方法的工作原理的见解。我们的分类和分析也揭示了未来有前途的研究方向,以实现轻量级,准确和通用的NLP模型。

英文摘要:

Pre-trained Transformer-based models have achieved state-of-the-art performance for various Natural Language Processing (NLP) tasks. However, these models often have billions of parameters, and, thus, are too resource-hungry and computation-intensive to suit low-capability devices or applications with strict latency requirements. One potential remedy for this is model compression, which has attracted a lot of research attention. Here, we summarize the research in compressing Transformers, focusing on the especially popular BERT model. In particular, we survey the state of the art in compression for BERT, we clarify the current best practices for compressing large-scale Transformer models, and we provide insights into the workings of various methods. Our categorization and analysis also shed light on promising future research directions for achieving lightweight, accurate, and generic NLP models.

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

↑