Compressing Large-Scale Transformer-Based Models: A Case Study on BERT
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- A Primer in BERTology: What We Know About How BERT WorksTransactions of the Association for Computational Linguistics, 2020
- GPT-3: Its Nature, Scope, Limits, and ConsequencesMinds and Machines, 2020
- Pre-trained models for natural language processing: A surveyScience China Technological Sciences, 2020
- SDSK2BERT: Explore the Specific Depth with Specific Knowledge to Compress BERT2020
- AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Search2020
- A survey of word embeddings based on deep learningComputing, 2019