NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Visual Prompt Tuning

Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie, Serge J. Belongie, Bharath Hariharan, Ser-Nam Lim

Abstract

Visual Prompt Tuning (VPT) introduces a parameter-efficient alternative to full fine-tuning for large-scale vision Transformers. By prepending a small set of learnable "prompts" to the input sequence while keeping the model backbone frozen, VPT achieves superior performance across a wide range of downstream tasks with less than 1% of the tunable parameters.

Introduction

The rise of "foundation models" like ViT-Huge has revolutionized computer vision. However, adapting these massive models to specific downstream tasks typically requires full fine-tuning, which involves updating and storing all model parameters for every new task. This approach is computationally expensive and logistically challenging for large-scale deployments. Existing parameter-efficient methods, such as linear probing or adapter modules, often struggle to match the accuracy of full fine-tuning.

Methodology: Visual Prompt Tuning

Inspired by prompt tuning in Natural Language Processing, the authors propose Visual Prompt Tuning (VPT). VPT keeps the pre-trained Transformer backbone frozen and only trains a small number of learnable parameters, called prompts, added to the input space.

VPT-Shallow architecture showing prompt injection into the first Transformer layer.

The paper explores two main variants:

  1. VPT-Shallow: Learnable prompts are inserted only at the input of the first Transformer layer.
  2. VPT-Deep: Prompts are inserted at the input of every Transformer layer, providing more flexibility for feature adaptation across different levels of abstraction.

In both cases, the entire pre-trained backbone remains frozen, reducing per-task storage requirements by over 99% compared to full fine-tuning.

Experimental Results

VPT was evaluated on 24 diverse vision tasks, including fine-grained classification (FGVC) and the Visual Task Adaptation Benchmark (VTAB-1k).

Comparison of VPT with existing tuning protocols and its performance across various classification tasks.

Key Findings

  • Superior Performance: VPT-Deep outperformed full fine-tuning on 20 out of 24 tasks. It was particularly effective on "Structured" tasks (e.g., object counting), where it achieved 54.98% accuracy compared to 47.64% for full fine-tuning.
  • Extreme Efficiency: For a ViT-Base model, VPT-Deep requires only 0.53% additional parameters, significantly reducing per-task storage requirements.
  • Scalability: The advantages of VPT persist as model size increases, showing consistent gains from ViT-Base to ViT-Huge.
  • Regularization Effect: Freezing the backbone likely acts as a regularizer, preventing overfitting on smaller downstream datasets—a common issue with full fine-tuning.

Conclusion

Visual Prompt Tuning offers a compelling solution for adapting large-scale vision models. By focusing on the input space rather than internal weights, VPT provides a highly efficient and accurate alternative to traditional fine-tuning methods, paving the way for more scalable deployment of foundation models in diverse vision applications.

Summary updated

BibTeX
@inproceedings{jia2022visual,
  author = {Menglin Jia and Luming Tang and Bor-Chun Chen and Claire Cardie and Serge J. Belongie and Bharath Hariharan and Ser-Nam Lim},
  title = {{Visual Prompt Tuning}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19827-4\_41},
}
Figure