Towards a Unified View of Parameter-Efficient Transfer Learning

Junxian He, Chunting Zhou, Xuezhe Ma, Taylor Berg-Kirkpatrick, Graham Neubig
10/8/2021
1,324 citations
cs.CLcs.LG
lora-peft-merging

Official code: jxhe/unify-parameter-efficient-tuning (541 stars, Python, Apache-2.0, last commit 2022-03-24).

Abstract

Fine-tuning large pre-trained language models on downstream tasks has become the de-facto learning paradigm in NLP. However, conventional approaches fine-tune all the parameters of the pre-trained model, which becomes prohibitive as the model size and the number of tasks grow.

Show full abstract

Recent work has proposed a variety of parameter-efficient transfer learning methods that only fine-tune a small number of (extra) parameters to attain strong performance. While effective, the critical ingredients for success and the connections among the various methods are poorly understood. In this paper, we break down the design of state-of-the-art parameter-efficient transfer learning methods and present a unified framework that establishes connections between them. Specifically, we re-frame them as modifications to specific hidden states in pre-trained models, and define a set of design dimensions along which different methods vary, such as the function to compute the modification and the position to apply the modification. Through comprehensive empirical studies across machine translation, text summarization, language understanding, and text classification benchmarks, we utilize the unified view to identify important design choices in previous methods. Furthermore, our unified framework enables the transfer of design elements across different approaches, and as a result we are able to instantiate new parameter-efficient fine-tuning methods that tune less parameters than previous methods while being more effective, achieving comparable results to fine-tuning all parameters on all four tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Implementation of paper "Towards a Unified View of Parameter-Efficient Transfer Learning" (ICLR 2022)

54143Python, Jupyter NotebookJun 24, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{he2021towards,
  title  = {Towards a Unified View of Parameter-Efficient Transfer Learning},
  author = {Junxian He and Chunting Zhou and Xuezhe Ma and Taylor Berg-Kirkpatrick and Graham Neubig},
  year   = {2021},
  eprint = {2110.04366},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.04366}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.04366.svg)](https://codeofpaper.com/paper/2110.04366)

Discussion