Masking as an efficient alternative to finetuning for pretrained language models

N/ACitations
Citations of this article
170Readers
Mendeley users who have this article in their library.

Abstract

We present an efficient method of utilizing pretrained language models, where we learn selective binary masks for pretrained weights in lieu of modifying them through finetuning. Extensive evaluations of masking BERT, RoBERTa, and DistilBERT on eleven diverse NLP tasks show that our masking scheme yields performance comparable to finetuning, yet has a much smaller memory footprint when several tasks need to be inferred. Intrinsic evaluations show that representations computed by our binary masked language models encode information necessary for solving downstream tasks. Analyzing the loss landscape, we show that masking and finetuning produce models that reside in minima that can be connected by a line segment with nearly constant test accuracy. This confirms that masking can be utilized as an efficient alternative to finetuning.

Cite

CITATION STYLE

APA

Zhao, M., Lin, T., Mi, F., Jaggi, M., & Schütze, H. (2020). Masking as an efficient alternative to finetuning for pretrained language models. In EMNLP 2020 - 2020 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference (pp. 2226–2241). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2020.emnlp-main.174

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