Performance-Efficiency Trade-Offs in Adapting Language Models to Text Classification Tasks

0Citations
Citations of this article
27Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Pre-trained language models (LMs) obtain state-of-the-art performance when adapted to text classification tasks. However, when using such models in real-world applications, efficiency considerations are paramount. In this paper, we study how different training procedures that adapt LMs to text classification perform, as we vary model and train set size. More specifically, we compare standard fine-tuning, prompting, and knowledge distillation (KD) when the teacher was trained with either finetuning or prompting. Our findings suggest that even though fine-tuning and prompting work well to train large LMs on large train sets, there are more efficient alternatives that can reduce compute or data cost. Interestingly, we find that prompting combined with KD can reduce compute and data cost at the same time.

Cite

CITATION STYLE

APA

Aina, L., Voskarides, N., & Blanco, R. (2022). Performance-Efficiency Trade-Offs in Adapting Language Models to Text Classification Tasks. In Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing: Long Paper, AACL-IJCNLP 2022 (Vol. 3, pp. 244–253). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2022.aacl-short.31

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