[Paper Review] Multitask Prompt Tuning Enables Parameter-Efficient Transfer Learning
MPT learns a single transferable soft prompt via cross-task distillation and a shared prompt with low-rank task-specific updates, yielding strong transfer with extremely few tunable parameters and even beating full finetuning on some tasks.
Prompt tuning, in which a base pretrained model is adapted to each task via conditioning on learned prompt vectors, has emerged as a promising approach for efficiently adapting large language models to multiple downstream tasks. However, existing methods typically learn soft prompt vectors from scratch, and it has not been clear how to exploit the rich cross-task knowledge with prompt vectors in a multitask learning setting. We propose multitask prompt tuning (MPT), which first learns a single transferable prompt by distilling knowledge from multiple task-specific source prompts. We then learn multiplicative low rank updates to this shared prompt to efficiently adapt it to each downstream target task. Extensive experiments on 23 NLP datasets demonstrate that our proposed approach outperforms the state-of-the-art methods, including the full finetuning baseline in some cases, despite only tuning 0.035% as many task-specific parameters.
Motivation & Objective
- Motivate reducing parameter cost in adapting large language models across many NLP tasks.
- Develop a multitask framework to learn a shared prompt from multiple source tasks via decomposition and distillation.
- Enable efficient adaptation to new tasks through low-rank multiplicative updates to the shared prompt.
- Demonstrate broad transferability across NLU and NLG tasks and varied model scales.
Proposed method
- Decompose each source task prompt Pk into a shared prompt P* and a low-rank task-specific component Wk via a Hadamard product, where Wk = uk ⊗ vk^T.
- Distill knowledge from separately trained source prompts to learn a high-quality decomposable shared prompt via logits and hidden-state losses.
- Train teacher prompts on source tasks with vanilla prompt tuning, then train student prompts that share P* to minimize KL divergence and hidden-state MSE, forming LTotal = LPLM + λ (L_logits + L_hidden).
- Adapt to target tasks by initializing P̂t = P* ∘ (ut ⊗ vt^T) and jointly updating P*, ut, vt with task-specific loss; use different learning rates for P* vs ut, vt.
- Parameter-efficiency is achieved as each task needs only (l×d) + (l+d) tunable parameters after adaptation, with a total of (l×d) + (l+d) per task, and 0.035% tunable parameters per task in some settings.
- Two-stage workflow: 1) train a single shared prompt via multitask source training with distillation; 2) transfer to target tasks with low-rank multiplicative updates.
Experimental results
Research questions
- RQ1Can a single transferable prompt learned from multiple source tasks outperform task-specific prompts on unseen target tasks?
- RQ2Does prompt decomposition into a shared and low-rank task-specific component improve cross-task transfer and reduce interference?
- RQ3Do distillation losses (logits and hidden states) improve the quality of the shared prompt for downstream transfer?
- RQ4How does MPT perform across diverse NLP tasks (NLU and NLG) and model scales, compared to full finetuning and other parameter-efficient methods?
- RQ5What is the effect of few-shot data on the transferability of the MPT prompts?
Key findings
- MPT achieves strong results across 23 NLP datasets, often outperforming full finetuning while tuning only 0.035% of task-specific parameters.
- On GLUE and SuperGLUE, MPT provides 13% relative improvement over vanilla prompt tuning on GLUE and 16% over vanilla PT on SuperGLUE.
- MPT surpasses SPoT, ATTEMPT, and BitFit while using far fewer task-specific parameters, and can even exceed full finetuning on some benchmarks.
- Prompt decomposition plus distillation yields significant gains (SuperGLUE avg 74.1 with decomposition+distillation, vs 69.5 without).
- MPT transfers learned prompts from NLU source tasks to NLG targets (E2E, WebNLG) with BLEU improvements of 3.03% and 6.25% over vanilla PT.
- Across model sizes (T5-Small to T5-Large), MPT remains competitive and often superior in parameter efficiency and performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.