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

被引:69
作者
Ganesh, Prakhar [1 ]
Chen, Yao [1 ]
Lou, Xin [1 ]
Khan, Mohammad Ali [1 ]
Yang, Yin [2 ]
Sajjad, Hassan [3 ]
Nakov, Preslav [3 ]
Chen, Deming [4 ]
Winslett, Marianne [4 ]
机构
[1] Adv Digital Sci Ctr, Singapore, Singapore
[2] Hamad Bin Khalifa Univ, Coll Sci & Engn, Ar Rayyan, Qatar
[3] Hamad Bin Khalifa Univ, Qatar Comp Res Inst, Ar Rayyan, Qatar
[4] Univ Illinois, Urbana, IL USA
基金
新加坡国家研究基金会;
关键词
All Open Access; Gold; Green;
D O I
10.1162/tacl_a_00413
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 resourcehungry and computation-intensive to suit lowcapability devices or applications with strict latency requirements. One potential remedy for this is model compression, which has attracted considerable 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.
引用
收藏
页码:1061 / 1080
页数:20
相关论文
共 82 条
  • [41] Narayan S, 2018, 2018 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2018), P1797
  • [42] Prakash P, 2020, FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2020, P4711
  • [43] Prasanna Sai, 2020, ARXIV200500561, P3208
  • [44] Pre-trained models for natural language processing: A survey
    Qiu XiPeng
    Sun TianXiang
    Xu YiGe
    Shao YunFan
    Dai Ning
    Huang XuanJing
    [J]. SCIENCE CHINA-TECHNOLOGICAL SCIENCES, 2020, 63 (10) : 1872 - 1897
  • [45] Radford A., 2018, OPENAI BLOG
  • [46] Radford A. J., 2019, LANGUAGE MODELS ARE
  • [47] Raffel C, 2020, J MACH LEARN RES, V21
  • [48] Raganato A, 2020, FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2020, P556
  • [49] Rajpurkar P., P 2016 C EMP METH NA, P2383
  • [50] Rajpurkar P, 2018, PROCEEDINGS OF THE 56TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, VOL 2, P784