SPoT: Better Frozen Model Adaptation through Soft Prompt Transfer
Tu Vu1,2★ Brian Lester1 Noah Constant1 Rami Al-Rfou1 Daniel Cer1 Google Research1 University of Massachusetts Amherst2
Abstract
There has been growing interest in parameter-efficient methods to apply pre-trained language models to downstream tasks. Building on the PromptTuning 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 PromptTuning across many tasks. More remarkably, across all model sizes, SPoT matches or outperforms standard ModelTuning (which fine-tunes all model parameters) on the SuperGLUE benchmark, while using up to 27,000 $\times$ 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 tas
原文 arXiv:2110.07904;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2110.07904v2