Analyzing redundancy in pretrained transformer models

41Citations
Citations of this article
101Readers
Mendeley users who have this article in their library.

Abstract

Transformer-based deep NLP models are trained using hundreds of millions of parameters, limiting their applicability in computationally constrained environments. In this paper, we study the cause of these limitations by defining a notion of Redundancy, which we categorize into two classes: General Redundancy and Task-specific Redundancy. We dissect two popular pretrained models, BERT and XLNet, studying how much redundancy they exhibit at a representation-level and at a more fine-grained neuron-level. Our analysis reveals interesting insights, such as: i) 85% of the neurons across the network are redundant and ii) at least 92% of them can be removed when optimizing towards a downstream task. Based on our analysis, we present an efficient feature-based transfer learning procedure, which maintains 97% performance while using at-most 10% of the original neurons.

Cite

CITATION STYLE

APA

Dalvi, F., Sajjad, H., Durrani, N., & Belinkov, Y. (2020). Analyzing redundancy in pretrained transformer models. In EMNLP 2020 - 2020 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference (pp. 4908–4926). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2020.emnlp-main.398

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free