[Paper Review] Facing the Elephant in the Room: Visual Prompt Tuning or Full Finetuning?
The paper compares visual prompt tuning (VPT) with full finetuning (FT) across 19 VTAB-1k tasks, identifying when VPT is preferable and why, with insights on data distribution and task disparity.
As the scale of vision models continues to grow, the emergence of Visual Prompt Tuning (VPT) as a parameter-efficient transfer learning technique has gained attention due to its superior performance compared to traditional full-finetuning. However, the conditions favoring VPT (the ``when") and the underlying rationale (the ``why") remain unclear. In this paper, we conduct a comprehensive analysis across 19 distinct datasets and tasks. To understand the ``when" aspect, we identify the scenarios where VPT proves favorable by two dimensions: task objectives and data distributions. We find that VPT is preferrable when there is 1) a substantial disparity between the original and the downstream task objectives (e.g., transitioning from classification to counting), or 2) a similarity in data distributions between the two tasks (e.g., both involve natural images). In exploring the ``why" dimension, our results indicate VPT's success cannot be attributed solely to overfitting and optimization considerations. The unique way VPT preserves original features and adds parameters appears to be a pivotal factor. Our study provides insights into VPT's mechanisms, and offers guidance for its optimal utilization.
Motivation & Objective
- Assess when visual prompt tuning (VPT) outperforms full finetuning (FT) across diverse downstream tasks.
- Characterize the influence of task objective disparity and data distribution similarity on transfer learning performance.
- Investigate underlying reasons for VPT’s success beyond overfitting and parameter count.
- Provide actionable guidance for applying prompts in pretrain-then-finetune pipelines.
Proposed method
- Compare FT and VPT on ViT-B/16 pretrained on ImageNet-21k across 19 VTAB-1k tasks (Natural, Specialized, Structured).
- Use Fréchet Inception Distance (FID) to measure disparity between pretraining and downstream data distributions.
- Perform ablations including Mixed and FT-then-PT to analyze optimization and feature preservation roles.
- Vary downstream data sizes (400 to 20,000) to study performance as dataset scale changes.
- Use GradCAM and other visual explanations to interpret how prompts affect feature learning.
Experimental results
Research questions
- RQ1In which transfer learning scenarios does VPT outperform FT across task objectives and data distributions?
- RQ2To what extent do data distribution disparity and task objective disparity explain VPT’s success?
- RQ3Is VPT’s advantage due to overfitting, extra parameters, or preservation of pretrained features?
- RQ4How does downstream data size affect the FT vs VPT performance gap?
- RQ5Do visual prompts guide the model to learn different or stronger features compared to FT?
Key findings
- VPT outperforms FT in 16 of 19 tasks overall, especially when downstream tasks have high objective disparity or similar data distributions.
- FT gains relative to VPT as downstream data size increases, reducing the gap and sometimes surpassing VPT in high-resource settings.
- Overfitting is not the sole reason for FT’s poorer performance; in high-disparity tasks, overfitting is more evident, while in similar-distribution tasks both methods overfit less.
- Extra parameters from prompts help escape local minima are not the primary reason for VPT’s advantage; preserving the original features is crucial.
- Visualization (GradCAM) suggests prompts help focus on meaningful regions and may enhance feature learning beyond FT.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.