When does Parameter-Efficient Transfer Learning Work for Machine Translation?

Ahmet Üstün, Asa Cooper Stickland
5/23/2022
cs.CL
lora-peft-merging

Official code: ahmetustun/fairseq (3 stars, Python, MIT, last commit 2021-07-23).

Abstract

Parameter-efficient fine-tuning methods (PEFTs) offer the promise of adapting large pre-trained models while only tuning a small number of parameters. They have been shown to be competitive with full model fine-tuning for many downstream tasks.

Show full abstract

However, prior work indicates that PEFTs may not work as well for machine translation (MT), and there is no comprehensive study showing when PEFTs work for MT. We conduct a comprehensive empirical study of PEFTs for MT, considering (1) various parameter budgets, (2) a diverse set of language-pairs, and (3) different pre-trained models. We find that 'adapters', in which small feed-forward networks are added after every layer, are indeed on par with full model fine-tuning when the parameter budget corresponds to 10% of total model parameters. Nevertheless, as the number of tuned parameters decreases, the performance of PEFTs decreases. The magnitude of this decrease depends on the language pair, with PEFTs particularly struggling for distantly related language-pairs. We find that using PEFTs with a larger pre-trained model outperforms full fine-tuning with a smaller model, and for smaller training data sizes, PEFTs outperform full fine-tuning for the same pre-trained model.

View on arXivView PDF

Code Implementations(1)

ahmetustun/fairseqOfficial100%
MIT

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.

30Python, CudaJun 17, 20215 years agoMIT

Similar Papers

Cite this paper

@article{stn2022when,
  title  = {When does Parameter-Efficient Transfer Learning Work for Machine Translation?},
  author = {Ahmet Üstün and Asa Cooper Stickland},
  year   = {2022},
  eprint = {2205.11277},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.11277}
}

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/2205.11277.svg)](https://codeofpaper.com/paper/2205.11277)

Discussion