paper-with-me

홈 › Papers

How fine can fine-tuning be? Learning efficient language models

2020-04-24 · Evani Radiya-Dixit, Xin Wang

State-of-the-art performance on language understanding tasks is now achieved with increasingly large networks; the current record holder has billions of parameters. Given a language model pre-trained on massive unlabeled text corpora, only very light supervised fine-tuning is needed to learn a task: the number of fine-tuning steps is typically five orders of magnitude lower than the total parameter count. Does this mean that fine-tuning only introduces small differences from the pre-trained model in the parameter space? If so, can one avoid storing and computing an entire model for each task? In this work, we address these questions by using Bidirectional Encoder Representations from Transformers (BERT) as an example. As expected, we find that the fine-tuned models are close in parameter space to the pre-trained one, with the closeness varying from layer to layer. We show that it suffices to fine-tune only the most critical layers. Further, we find that there are surprisingly many good solutions in the set of sparsified versions of the pre-trained model. As a result, fine-tuning of huge language models can be achieved by simply setting a certain number of entries in certain layers of the pre-trained parameters to zero, saving both task-specific parameter storage and computational cost.

📄 PDF Abstract BibTeX arXiv:2004.14129

Code (0)

등록된 구현이 없습니다.

Tasks

Language Modelling

Similar Papers 제목 키워드 기반

Selecting Informative Contexts Improves Language Model Finetuning

2020-05-01 · Richard Antonello, Nicole Beckage, Javier Turek, Alexander Huth

Language model fine-tuning is essential for modern natural language processing, but is computationally expensive and time-consuming. Further, the effectiveness of fine-tuning is limited by the inclusion of training examp…

Language ModelingLanguage Modellingmodel

Selecting Informative Contexts Improves Language Model Fine-tuning

2021-08-01 · ACL 2021 5 · Richard Antonello, Nicole Beckage, Javier Turek, Alexander Huth

Language model fine-tuning is essential for modern natural language processing, but is computationally expensive and time-consuming. Further, the effectiveness of fine-tuning is limited by the inclusion of training examp…

Language ModelingLanguage Modellingmodel

Is Prompt-Based Finetuning Always Better than Vanilla Finetuning? Insights from Cross-Lingual Language Understanding

2023-07-15 · Bolei Ma, Ercong Nie, Helmut Schmid, Hinrich Schütze

Multilingual pretrained language models (MPLMs) have demonstrated substantial performance improvements in zero-shot cross-lingual transfer across various natural language understanding tasks by finetuning MPLMs on task-s…

Cross-Lingual TransferNatural Language InferenceNatural Language UnderstandingParaphrase Identification+3

Multitask Finetuning for Improving Neural Machine Translation in Indian Languages

2021-12-03 · Shaily Desai, Atharva Kshirsagar, Manisha Marathe

Transformer based language models have led to impressive results across all domains in Natural Language Processing. Pretraining these models on language modeling tasks and finetuning them on downstream tasks such as Text…

Causal Language ModelingLanguage ModelingLanguage ModellingMachine Translation+4

FireAct: Toward Language Agent Fine-tuning

2023-10-09 · Baian Chen, Chang Shu, Ehsan Shareghi, Nigel Collier 외

Recent efforts have augmented language models (LMs) with external tools or environments, leading to the development of language agents that can reason and act. However, most of these agents rely on few-shot prompting tec…

Question Answering