Abstract
Large pre-trained language models reach state-of-the-art results on many different NLP tasks when fine-tuned individually; They also come with a significant memory and computational requirements, calling for methods to reduce model sizes (green AI). We propose a two-stage model-compression method to reduce a model's inference time cost. We first decompose the matrices in the model into smaller matrices and then perform feature distillation on the internal representation to recover from the decomposition. This approach has the benefit of reducing the number of parameters while preserving much of the information within the model. We experimented on BERT-base model with the GLUE benchmark dataset and show that we can reduce the number of parameters by a factor of 0.4x, and increase inference speed by a factor of 1.45x, while maintaining a minimal loss in metric performance.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, AACL-IJCNLP 2020 |
| Editors | Kam-Fai Wong, Kevin Knight, Hua Wu |
| Publisher | Association for Computational Linguistics (ACL) |
| Pages | 884-889 |
| Number of pages | 6 |
| ISBN (Electronic) | 9781952148910 |
| DOIs | |
| State | Published - 2020 |
| Event | 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, AACL-IJCNLP 2020 - Virtual, Online, China Duration: 4 Dec 2020 → 7 Dec 2020 |
Publication series
| Name | Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, AACL-IJCNLP 2020 |
|---|
Conference
| Conference | 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, AACL-IJCNLP 2020 |
|---|---|
| Country/Territory | China |
| City | Virtual, Online |
| Period | 4/12/20 → 7/12/20 |
Bibliographical note
Publisher Copyright:© 2020 Association for Computational Linguistics.
Fingerprint
Dive into the research topics of 'Compressing Pre-trained Language Models by Matrix Decomposition'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver