Parameter-Efficient Transfer Learning for NLP
Neil Houlsby, Andrei Giurgiu, Stanisław Jastrzȩbski et al. · arXiv (Cornell University) · 2019
Fine-tuning large pre-trained models is an effective transfer mechanism in NLP. However, in the presence of many downstream tasks, fine-tuning is parameter inefficient: an entire new model is required for every task. As an alternative, we propose transfer with adapter modules. Adapter modules yield a compact and extensible model; they add only a few trainable parameters per task, and new tasks can be added without revisiting previous ones. The parameters of the original network remain fixed, yielding a high degree of parameter sharing. To demonstrate adapter's effectiveness, we transfer the recently proposed BERT Transformer model to 26 diverse text classification tasks, including the GLUE benchmark. Adapters attain near state-of-the-art performance, whilst adding only a few parameters per task. On GLUE, we attain within 0.4% of the performance of full fine-tuning, adding only 3.6% parameters per task. By contrast, fine-tuning trains 100% of the parameters per task.
Cited by 136 works. doi:10.48550/arxiv.1902.00751 Open-access PDF
Authors
- Neil Houlsby
- Andrei Giurgiu
- Stanisław Jastrzȩbski
- Bruna Morrone
- Quentin de Laroussilhe
- Andréa Gesmundo
- Mona Attariyan
- Sylvain Gelly
References
- Deep Residual Learning for Image Recognition
- ImageNet: A large-scale hierarchical image database
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation
- Fully convolutional networks for semantic segmentation
- AutoResearch Lite: a reproducible paper-inspired experiment runner (Adam mechanism reproduction and convergence-speed comparison)
- Glove: Global Vectors for Word Representation
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- Distributed Representations of Words and Phrases and their Compositionality
- A unified architecture for natural language processing
- Class-based n -gram models of natural language