On Transferability of Prompt Tuning for Natural Language Processing
arXiv:2111.06719 · doi:10.18653/v1/2022.naacl-main.290
Abstract
Prompt tuning (PT) is a promising parameter-efficient method to utilize extremely large pre-trained language models (PLMs), which can achieve comparable performance to full-parameter fine-tuning by only tuning a few soft prompts. However, PT requires much more training time than fine-tuning. Intuitively, knowledge transfer can help to improve the efficiency. To explore whether we can improve PT via prompt transfer, we empirically investigate the transferability of soft prompts across different downstream tasks and PLMs in this work. We find that (1) in zero-shot setting, trained soft prompts can effectively transfer to similar tasks on the same PLM and also to other PLMs with a cross-model projector trained on similar tasks; (2) when used as initialization, trained soft prompts of similar tasks and projected prompts of other PLMs can significantly accelerate training and also improve the performance of PT. Moreover, to explore what decides prompt transferability, we investigate various transferability indicators and find that the overlapping rate of activated neurons strongly reflects the transferability, which suggests how the prompts stimulate PLMs is essential. Our findings show that prompt transfer is promising for improving PT, and further research shall focus more on prompts' stimulation to PLMs. The source code can be obtained from https://github.com/thunlp/Prompt-Transferability.
References in corpus (6)
- Distilling the Knowledge in a Neural Network
- An Overview of Multi-Task Learning in Deep Neural Networks
- ERNIE 3.0: Large-scale Knowledge Enhanced Pre-training for Language Understanding and Generation
- PanGu-: Large-scale Autoregressive Pretrained Chinese Language Models with Auto-parallel Computation
- Natural Language Understanding with the Quora Question Pairs Dataset
- CPM-2: Large-scale Cost-effective Pre-trained Language Models
Cited by in corpus (4)
- Matching Exemplar as Next Sentence Prediction (MeNSP): Zero-shot Prompt Learning for Automatic Scoring in Science Education
- Soft Prompt Decoding for Multilingual Dense Retrieval
- Exploring the Impact of Model Scaling on Parameter-Efficient Tuning
- Task Prompt Vectors: Effective Initialization through Multi-Task Soft-Prompt Transfer