ADePT: Adaptive Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning

Pengwei Tang, Xiaolin Hu, Yong Liu
1/1/2025

No official code found. Best implementation: ShiZhengyan/DePT (102 stars, MIT, last commit 2024-04-10). 1 more below.

Abstract

Prompt Tuning (PT) enables the adaptation of Pre-trained Large Language Models (PLMs) to downstream tasks by optimizing a small amount of soft virtual tokens, which are prepended to the input token embeddings. Recently, Decomposed Prompt Tuning (DePT) has demonstrated superior adaptation capabilities by decomposing the soft prompt into a shorter soft prompt and a pair of low-rank matrices. The product of the pair of low-rank matrices is added to the input token embeddings to offset them. Additionally, DePT achieves faster inference compared to PT due to the shorter soft prompt. However, in this paper, we find that the position-based token embedding offsets of DePT restrict its ability to generalize across diverse model inputs, and that the shared embedding offsets across many token embeddings result in sub-optimization. To tackle these issues, we introduce Adaptive Decomposed Prompt Tuning (ADePT), which is composed of a short soft prompt and a shallow token-shared feed-forward neural network. ADePT utilizes the token-shared feed-forward neural network to learn the embedding offsets for each token, enabling adaptive embedding offsets that vary according to the model input and better optimization of token embedding offsets. This enables ADePT to achieve superior adaptation performance without requiring more inference time or additional trainable parameters compared to vanilla PT and its variants. In comprehensive experiments across 23 natural language processing tasks and 4 typical PLMs of different scales, ADePT consistently surpasses the other leading parameter-efficient fine-tuning methods, and even outperforms the full fine-tuning in certain scenarios. We also provide a theoretical analysis towards ADePT. Code is available at https://github.com/HungerPWAY/ADePT.

View on arXivView PDF

Code Implementations(2)

HungerPWAY/ADePTCommunity100%
30PythonDec 24, 20249 months ago
ShiZhengyan/DePTCommunity73%
MIT

[ICLR 2024] This is the repository for the paper titled "DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning"

10215PythonSep 11, 20232 years agoMIT
fine-tuninglanguage-modellarge-language-modelsnatural-language-processingnlp+6 more

Similar Papers

Cite this paper

@article{tang2025adept,
  title  = {ADePT: Adaptive Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning},
  author = {Pengwei Tang and Xiaolin Hu and Yong Liu},
  year   = {2025},
  eprint = {2501.03291},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2501.03291},
  journal = {ICLR 2025 2025}
}

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/2501.03291.svg)](https://codeofpaper.com/paper/2501.03291)

Discussion