Our new X account is live! Follow @wizwand_team for updates
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
143
Natural Language UnderstandingSuperGLUE
SGLUE Score91.2
84
Extractive Question AnsweringMRQA
NewsQA Score58.2
19
Natural Language UnderstandingGLUE & SuperGLUE (test)
RTE Accuracy69.8
17
Natural Language UnderstandingOthers (WG, Yelp, SciTail, PAWS)
WG Accuracy50.4
11
Non-Classification NLP TasksNon-classification tasks (Non-Cls)
ARG (Cls -> Non-Cls)851
5
Question AnsweringQuestion Answering (QA)
ARG (QA->QA) (%)25.65
5
Text ClassificationR tasks
ARG (%) (R → R)7.14
5
Paraphrase IdentificationParaphrase tasks P
ARG (NP -> P)-5.19
5
Text ClassificationClassification tasks
ARG Success Rate (Cls -> Cls)-5.64
5
Showing 10 of 10 rows

Other info

Code

Follow for update