[论文解读] Facing the Elephant in the Room: Visual Prompt Tuning or Full Finetuning?
本文在19个VTAB-1k任务上比较视觉提示微调(VPT)与全量微调(FT),指出何时应首选VPT及原因,并给出关于数据分布和任务差异的见解。
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.
研究动机与目标
- 评估在多样化下游任务中,何时VPT优于FT。
- 表征任务目标差异和数据分布相似性对迁移学习性能的影响。
- 研究VPT成功背后的深层原因,超越过拟合和参数数量的解释。
- 为在预训练-再微调管线中应用提示提供可操作的指导。
提出的方法
- 在ImageNet-21k上预训练的ViT-B/16上,对19个VTAB-1k任务(Natural、Specialized、Structured)比较FT与VPT。
- 使用Fréchet Inception Distance(FID)来衡量预训练与下游数据分布之间的差异。
- 进行消融研究,包括Mixed和FT-then-PT,以分析优化过程与特征保留的作用。
- 改变下游数据量(400到20,000)以研究数据集规模变化时的性能。
- 使用GradCAM及其他视觉解释来解释提示如何影响特征学习。
实验结果
研究问题
- RQ1在哪些迁移学习情景下,VPT在任务目标和数据分布方面优于FT?
- RQ2数据分布差异和任务目标差异在多大程度上解释了VPT的成功?
- RQ3VPT的优势是由于过拟合、额外参数,还是对预训练特征的保留?
- RQ4下游数据量如何影响FT与VPT之间的性能差距?
- RQ5视觉提示是否引导模型学习与FT不同或更强的特征?
主要发现
- VPT在整体19个任务中16个任务优于FT,特别是在下游任务具有高目标差异或相似数据分布时。
- 随着下游数据量增加,FT相对于VPT的收益提高,缩小差距,有时在高资源设置中超过VPT。
- 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.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。