Approximated Prompt Tuning for Vision-Language Pre-trained Models

Qiong Wu, Shubin Huang, Yiyi Zhou, Pingyang Dai, Annan Shu +2 more
6/27/2023
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Prompt tuning is a parameter-efficient way to deploy large-scale pre-trained models to downstream tasks by adding task-specific tokens. In terms of vision-language pre-trained (VLP) models, prompt tuning often requires a large number of learnable tokens to bridge the gap between the pre-training and downstream tasks, which greatly exacerbates the already high computational overhead. In this paper, we revisit the principle of prompt tuning for Transformer-based VLP models, and reveal that the impact of soft prompt tokens can be actually approximated via independent information diffusion steps, thereby avoiding the expensive global attention modeling and reducing the computational complexity to a large extent. Based on this finding, we propose a novel Approximated Prompt Tuning (APT) approach towards efficient VL transfer learning. To validate APT, we apply it to two representative VLP models, namely ViLT and METER, and conduct extensive experiments on a bunch of downstream tasks. Meanwhile, the generalization of APT is also validated on CLIP for image classification and StableDiffusion for text-to-image generation. The experimental results not only show the superior performance gains and computation efficiency of APT against the conventional prompt tuning methods, e.g., +7.01% accuracy and -82.30% additional computation overhead on METER, but also confirm its merits over other parameter-efficient transfer learning approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2023approximated,
  title  = {Approximated Prompt Tuning for Vision-Language Pre-trained Models},
  author = {Qiong Wu and Shubin Huang and Yiyi Zhou and Pingyang Dai and Annan Shu and Guannan Jiang and Rongrong Ji},
  year   = {2023},
  eprint = {2306.15706},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.15706v2}
}

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

Discussion