Operator Selection and Ordering in a Pipeline Approach to Efficiency Optimizations for Transformers

0Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.

Abstract

There exists a wide variety of efficiency methods for natural language processing (NLP) tasks, such as pruning, distillation, dynamic inference, quantization, etc. From a different perspective, we can consider an efficiency method as an operator applied on a model. Naturally, we may construct a pipeline of operators, i.e., to apply multiple efficiency methods on the model sequentially. In this paper, we study the plausibility of this idea, and more importantly, the commutativity and cumulativeness of efficiency operators. We make two interesting observations from our experiments: (1) The operators are commutative-the order of efficiency methods within the pipeline has little impact on the final results; (2) The operators are also cumulative-the final results of combining several efficiency methods can be estimated by combining the results of individual methods. These observations deepen our understanding of efficiency operators and provide useful guidelines for building them in real-world applications.

Cite

CITATION STYLE

APA

Xin, J., Tang, R., Jiang, Z., Yu, Y., & Lin, J. (2023). Operator Selection and Ordering in a Pipeline Approach to Efficiency Optimizations for Transformers. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 2870–2882). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.findings-acl.180

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