Skip to main content
QUICK REVIEW

[Paper Review] ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Prompts

Akari Asai, Mohammadreza Salehi|arXiv (Cornell University)|May 24, 2022
Domain Adaptation and Few-Shot LearningComputer Science16 citations
TL;DR

ATTEMPT introduces a parameter-efficient multi-task tuning method that uses an attention mechanism to dynamically combine soft prompts from high-resource source tasks with a new target task prompt, keeping the language model frozen. It achieves state-of-the-art performance on 21 NLP datasets with only 0.4% of the parameters updated compared to full fine-tuning, significantly outperforming prompt tuning and matching fully fine-tuned models while being highly efficient and modular.

ABSTRACT

This work introduces a new multi-task, parameter-efficient language model (LM) tuning method that learns to transfer knowledge across different tasks via a mixture of soft prompts-small prefix embedding vectors pre-trained for different tasks. Our method, called ATTEMPT (ATTEntional Mixtures of Prompt Tuning), obtains source prompts as encodings of large-scale source tasks into a small number of parameters and trains an attention module to interpolate the source prompts and a newly initialized target prompt for every instance in the target task. During training, only the target task prompt and the attention weights, which are shared between tasks in multi-task training, are updated, while the original LM and source prompts are intact. ATTEMPT is highly parameter-efficient (e.g., updates 2,300 times fewer parameters than full fine-tuning) while achieving high task performance using knowledge from high-resource tasks. Moreover, it is modular using pre-trained soft prompts, and can flexibly add or remove source prompts for effective knowledge transfer. Our experimental results across 21 diverse NLP datasets show that ATTEMPT significantly outperforms prompt tuning and outperforms or matches fully fine-tuned or other parameter-efficient tuning approaches that use over ten times more parameters. Finally, ATTEMPT outperforms previous work in few-shot learning settings.

Motivation & Objective

  • To address the inefficiency and limited knowledge transfer in existing parameter-efficient tuning methods that rely only on target task data.
  • To enable effective knowledge transfer from high-resource source tasks to low-resource target tasks without fine-tuning the language model.
  • To develop a modular, interpretable, and reusable framework for multi-task learning using pre-trained soft prompts.
  • To reduce parameter updates while maintaining or improving performance across diverse NLP tasks, especially in few-shot settings.
  • To eliminate the need for precomputed priors on task relatedness by learning attention weights that identify relevant source tasks.

Proposed method

  • Pre-train soft prompts on large-scale source tasks to create reusable, transferable prompt embeddings.
  • Initialize a new, task-specific soft prompt for the target task, which is trained alongside an attention mechanism.
  • Use a lightweight, shared attention network to compute instance-wise weighted combinations of source prompts and the target prompt for each input token.
  • Update only the target prompt and the shared attention weights during training, keeping the language model and source prompts frozen.
  • Apply the attention-weighted prompt mixture as a prefix to the input sequence, which is then processed by the frozen language model.
  • Enable inference with multiple pre-loaded soft prompts on a single frozen model, supporting multi-task inference without retraining.

Experimental results

Research questions

  • RQ1Can a parameter-efficient method effectively transfer knowledge from multiple high-resource source tasks to a low-resource target task without fine-tuning the language model?
  • RQ2How does the attention-based mixture of soft prompts compare to standard prompt tuning and full fine-tuning in terms of performance and parameter efficiency?
  • RQ3Can the attention mechanism learn meaningful task similarities and focus on relevant source tasks without relying on precomputed priors?
  • RQ4To what extent does modular prompt composition improve performance and flexibility in multi-task learning?
  • RQ5How effective is the method in few-shot learning and low-resource settings?

Key findings

  • ATTEMPT significantly outperforms prompt tuning across 21 diverse NLP datasets, achieving state-of-the-art performance with only 0.4% of the parameters updated compared to full fine-tuning.
  • The method matches or exceeds the performance of fully fine-tuned models and other parameter-efficient methods that update over ten times more parameters.
  • In few-shot learning settings (4–32 shots), ATTEMPT consistently outperforms baselines, demonstrating strong generalization capability.
  • Ablation studies confirm that learned attention weights, multi-task learning, and modular transfer from multiple source tasks are key contributors to performance gains.
  • Attention distributions reveal meaningful task similarities (e.g., between entailment and paraphrase detection), indicating effective knowledge transfer.
  • The method is highly parameter-efficient, especially when scaling to larger backbone models, where other parameter-efficient methods show rapid increases in trainable parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.