Abstract
ATTEMPT (ATTEntional Mixtures of Prompt Tuning) is a parameter-efficient tuning method designed to transfer knowledge across tasks by blending "source prompts" from high-resource datasets with a new "target prompt." By updating only 0.4% of a model's parameters (up to 2,300x fewer than full fine-tuning), ATTEMPT achieves performance that matches or exceeds full fine-tuning, particularly on small datasets and in few-shot learning scenarios.
Introduction
As Large Language Models (LLMs) continue to scale, full fine-tuning—updating every parameter for a specific task—has become prohibitively expensive. Parameter-Efficient Fine-Tuning (PEFT) methods, such as prompt tuning, have emerged as alternatives. In prompt tuning, only a small set of learnable vectors (soft prompts) prepended to the input are updated while the base model remains frozen.
However, standard prompt tuning faces two major challenges: a performance gap compared to full fine-tuning and knowledge isolation, where models fail to leverage multi-task learning benefits. ATTEMPT addresses these by modularizing knowledge into "packets" that can be dynamically combined for new tasks.
Methods
The authors propose a modular, two-stage approach to bridge the performance gap in PEFT:
- Source Prompt Pre-training: "Source prompts" are first trained on several large-scale, diverse tasks (e.g., MNLI, SQuAD). These prompts act as compressed knowledge representations for specific domains.
- Attentional Mixture: When tackling a new target task, ATTEMPT initializes a new target prompt. A lightweight Attention Module analyzes the input instance to determine how much to "borrow" from each pre-trained source prompt.
- Instance-wise Interpolation: The final prompt is a weighted combination of source and target prompts. These weights are calculated per instance, allowing the model to dynamically shift its behavior based on the specific input sentence.
During target task training, the original LLM and the source prompts remain frozen; only the small target prompt and the attention module are updated.
Key Results
ATTEMPT was evaluated across 21 NLP datasets, including GLUE, SuperGLUE, and MRQA 2019. The results highlight several key advantages:
- Efficiency and Performance: ATTEMPT updates only ~0.4% of parameters. On the GLUE benchmark, the multi-task version (ATTEMPT-m) achieved an average score of 85.2, outperforming standard Prompt Tuning (72.2) and matching heavier methods like Adapters (84.4).
- Few-Shot Excellence: In 4-shot and 16-shot settings, ATTEMPT significantly outperformed fine-tuning and other PEFT methods, proving that borrowing knowledge from source prompts is vital when data is scarce.
- Scalability: As models grow (e.g., T5-base to T5-XL), the number of parameters ATTEMPT needs to update remains nearly flat, whereas methods like Adapters see parameter counts increase significantly.
Conclusion
ATTEMPT demonstrates that intelligent interpolation of behaviors learned on previous tasks can eliminate the need for full model retraining. Its modularity allows for easy addition or removal of source tasks, and its attentional weights provide a degree of interpretability. Future work will explore extending this attentional mixture approach to generative tasks and automating the selection of optimal source prompts.
Summary updated