Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SPoT: Better Frozen Model Adaptation through Soft Prompt Transfer

About

There has been growing interest in parameter-efficient methods to apply pre-trained language models to downstream tasks. Building on the Prompt Tuning approach of Lester et al. (2021), which learns task-specific soft prompts to condition a frozen pre-trained model to perform different tasks, we propose a novel prompt-based transfer learning approach called SPoT: Soft Prompt Transfer. SPoT first learns a prompt on one or more source tasks and then uses it to initialize the prompt for a target task. We show that SPoT significantly boosts the performance of Prompt Tuning across many tasks. More remarkably, across all model sizes, SPoT matches or outperforms standard Model Tuning (which fine-tunes all model parameters) on the SuperGLUE benchmark, while using up to 27,000x fewer task-specific parameters. To understand where SPoT is most effective, we conduct a large-scale study on task transferability with 26 NLP tasks in 160 combinations, and demonstrate that many tasks can benefit each other via prompt transfer. Finally, we propose an efficient retrieval approach that interprets task prompts as task embeddings to identify similar tasks and predict the most transferable source tasks for a novel target task.

Tu Vu, Brian Lester, Noah Constant, Rami Al-Rfou, Daniel Cer• 2021

Related benchmarks

TaskDatasetResultRank
Multi-hop Question Answering2WikiMultiHopQA (test)
EM20.03
195
Natural Language UnderstandingSuperGLUE
SGLUE Score91.2
84
Reading ComprehensionC3
Accuracy50.3
73
Aspect-level Sentiment AnalysisCOTE BD
F1 Score91.22
34
Natural Language UnderstandingSuperGLUE
MultiRC Score74
22
Extractive Question AnsweringMRQA
NewsQA Score58.2
19
Natural Language InferenceCMNLI syntactically perturbed
Accuracy71.85
17
Semantic SimilarityAFQMC syntactically perturbed
Accuracy92.01
17
Semantic SimilarityBQ syntactically perturbed
Accuracy73.48
17
Reading ComprehensionDRCD
F1 Score83.93
17
Showing 10 of 28 rows

Other info

Code

Follow for update