arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.06901cs.CVcs.LG
收藏

PRO-VPT:通过提示重定位实现分布自适应的视觉提示微调

PRO-VPT: Distribution-Adaptive Visual Prompt Tuning via Prompt Relocation

Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University(中国教育部多媒体可信感知与高效计算重点实验室,厦门大学);School of Informatics, Xiamen University(厦门大学信息学院);Shenzhen University(深圳大学);Guangdong University of Technology(广东技术大学);Hong Kong Baptist University(香港 Baptist 大学);CAIR, HKISI, CAS(中国科学院CAS HKISI CAIR);MAIS, CASIA(中国科学院CASIA MAIS)

Chikai Shang, Mengke Li, Yiqun Zhang, Zhen Chen, Jinlin Wu, Fangqing Gu, Yang Lu, Yiu-ming Cheung

AI总结:

本文提出PRO-VPT框架,通过嵌套优化定义自适应分布优化,并采用提示重定位策略迭代调整提示分布,显著提升视觉提示微调性能,在VTAB-1k和FGVC基准上超越现有方法。

摘要:

视觉提示微调(VPT),即微调一些轻量级的提示令牌,为将预训练模型适配到各种下游任务提供了一种高效且有效的方法。然而,大多数现有方法在不同任务中不加区分地使用固定的提示分布,忽略了每个块的重要性随任务而变化。在本文中,我们通过解决两个关键问题来引入自适应分布优化(ADO):(1)如何适当且正式地定义ADO,以及(2)如何设计一种由该定义指导的自适应分布策略?通过实证分析,我们首先确认适当调整分布能显著提升VPT性能,并进一步揭示一个关键见解:ADO与VPT之间存在嵌套关系。基于这些发现,我们提出了一种新的VPT框架,称为PRO-VPT(基于迭代提示重定位的VPT),该框架基于嵌套优化公式自适应地调整分布。具体来说,我们开发了一种源于该公式的提示重定位策略,包括两个步骤:从提示饱和的块中剪除空闲提示,然后将这些提示分配给最需要提示的块。通过迭代执行提示重定位和VPT,我们的方法能够以基于嵌套优化的方式自适应地学习最优提示分布,从而释放VPT的全部潜力。大量实验表明,我们的方法显著优于先进的VPT方法,例如,PRO-VPT在VTAB-1k和FGVC基准上分别以1.6个百分点和2.0个百分点的平均准确率超越VPT,使基于提示的方法达到最先进的性能。代码可在https://github.com/ckshang/PRO-VPT获取。

英文摘要:

Visual prompt tuning (VPT), i.e., fine-tuning some lightweight prompt tokens, provides an efficient and effective approach for adapting pre-trained models to various downstream tasks. However, most prior art indiscriminately uses a fixed prompt distribution across different tasks, neglecting the importance of each block varying depending on the task. In this paper, we introduce adaptive distribution optimization (ADO) by tackling two key questions: (1) How to appropriately and formally define ADO, and (2) How to design an adaptive distribution strategy guided by this definition? Through empirical analysis, we first confirm that properly adjusting the distribution significantly improves VPT performance, and further uncover a key insight that a nested relationship exists between ADO and VPT. Based on these findings, we propose a new VPT framework, termed PRO-VPT (iterative Prompt RelOcation-based VPT), which adaptively adjusts the distribution built upon a nested optimization formulation. Specifically, we develop a prompt relocation strategy derived from this formulation, comprising two steps: pruning idle prompts from prompt-saturated blocks, followed by allocating these prompts to the most prompt-needed blocks. By iteratively performing prompt relocation and VPT, our proposal can adaptively learn the optimal prompt distribution in a nested optimization-based manner, thereby unlocking the full potential of VPT. Extensive experiments demonstrate that our proposal significantly outperforms advanced VPT methods, e.g., PRO-VPT surpasses VPT by 1.6 pp and 2.0 pp average accuracy, leading prompt-based methods to state-of-the-art performance on VTAB-1k and FGVC benchmarks. The code is available at https://github.com/ckshang/PRO-VPT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑