Residual Prompt Tuning: Improving Prompt Tuning with Residual Reparameterization

Anastasia Razdaibiedina, Yuning Mao, Rui Hou, Madian Khabsa, Mike Lewis +2 more
5/6/2023
cs.CLcs.AI

No official code found. Best implementation: arazd/ResidualPrompts (56 stars, Apache-2.0, last commit 2023-05-10).

Abstract

Prompt tuning is one of the successful approaches for parameter-efficient tuning of pre-trained language models. Despite being arguably the most parameter-efficient (tuned soft prompts constitute <0.1% of total parameters), it typically performs worse than other efficient tuning methods and is quite sensitive to hyper-parameters. In this work, we introduce Residual Prompt Tuning - a simple and efficient method that significantly improves the performance and stability of prompt tuning. We propose to reparameterize soft prompt embeddings using a shallow network with a residual connection. Our experiments show that Residual Prompt Tuning significantly outperforms prompt tuning on SuperGLUE benchmark. Notably, our method reaches +7 points improvement over prompt tuning with T5-Base and allows to reduce the prompt length by 10x without hurting performance. In addition, we show that our approach is robust to the choice of learning rate and prompt initialization, and is effective in few-shot settings.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Residual Prompt Tuning: a method for faster and better prompt tuning.

568Shell, PythonMay 3, 20233 years agoApache-2.0
llmsnlpprompt-tuning

Similar Papers

Cite this paper

@article{razdaibiedina2023residual,
  title  = {Residual Prompt Tuning: Improving Prompt Tuning with Residual Reparameterization},
  author = {Anastasia Razdaibiedina and Yuning Mao and Rui Hou and Madian Khabsa and Mike Lewis and Jimmy Ba and Amjad Almahairi},
  year   = {2023},
  eprint = {2305.03937},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.03937v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.03937.svg)](https://codeofpaper.com/paper/2305.03937)

Discussion