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

重新审视提示在视觉微调中的力量

Revisiting the Power of Prompt for Visual Tuning

Zhejiang Lab(之江实验室);School of Computer Science and Information Engineering, Hefei University of Technology(合肥工业大学计算机与信息工程学院);School of Artificial Intelligence, Xidian University(西安电子科技大学人工智能学院);School of Automation, Northwestern Polytechnical University(西北工业大学自动化学院)

Yuzhu Wang, Lechao Cheng, Chaowei Fang, Dingwen Zhang, Manni Duan, Meng Wang

AI总结:

本文提出用下游令牌原型初始化视觉提示,并优化令牌构建流程,在FGVC和VTAB-1K上以<0.4%参数超越全量微调,自监督适应性能提升10%-30%。

摘要:

视觉提示微调(VPT)是一种有前景的解决方案,它通过引入可学习的提示令牌来定制预训练模型以适应下游任务。然而,VPT及其变体经常面临提示初始化、提示长度以及在自监督预训练中性能不佳等挑战,这些阻碍了成功的上下文适应。本研究首先探讨了在熟练训练过程中提示与补丁令牌之间的相关性演变。受提示令牌倾向于与补丁令牌共享高互信息的观察启发,我们提出用下游令牌原型来初始化提示。这种策略性初始化,作为先前初始化的替代,显著提高了微调性能。为进一步优化,我们通过简化的流程优化令牌构建,与VPT相比,在几乎不增加计算开销的情况下保持了优异的性能。大量实验表明,我们提出的方法以显著优势超越了现有方法。例如,在FGVC和VTAB-1K基准上,使用不到0.4%的可学习参数,在24个任务中有19个超过了全量微调。值得注意的是,我们的方法显著推进了自监督预训练的适应,实现了至少10%到30%的显著任务性能提升。此外,实验结果证明所提出的SPT对提示长度具有鲁棒性,并能随模型容量和训练数据规模良好扩展。最后,我们深入探讨了促进预训练模型适应下游任务所需的目标数据量。代码可在https://github.com/WangYZ1608/Self-Prompt-Tuning获取。

英文摘要:

Visual prompt tuning (VPT) is a promising solution incorporating learnable prompt tokens to customize pre-trained models for downstream tasks. However, VPT and its variants often encounter challenges like prompt initialization, prompt length, and subpar performance in self-supervised pretraining, hindering successful contextual adaptation. This study commences by exploring the correlation evolvement between prompts and patch tokens during proficient training. Inspired by the observation that the prompt tokens tend to share high mutual information with patch tokens, we propose initializing prompts with downstream token prototypes. The strategic initialization, a stand-in for the previous initialization, substantially improves performance in fine-tuning. To refine further, we optimize token construction with a streamlined pipeline that maintains excellent performance with almost no increase in computational expenses compared to VPT. Exhaustive experiments show our proposed approach outperforms existing methods by a remarkable margin. For instance, it surpasses full fine-tuning in 19 out of 24 tasks, using less than 0.4% of learnable parameters on the FGVC and VTAB-1K benchmarks. Notably, our method significantly advances the adaptation for self-supervised pretraining, achieving impressive task performance gains of at least 10% to 30%. Besides, the experimental results demonstrate the proposed SPT is robust to prompt lengths and scales well with model capacity and training data size. We finally provide an insightful exploration into the amount of target data facilitating the adaptation of pre-trained models to downstream tasks. The code is available at https://github.com/WangYZ1608/Self-Prompt-Tuning.

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

↑