[论文解读] PVP: Pre-trained Visual Parameter-Efficient Tuning
本文提出预训练视觉参数高效微调(PVP),通过在大规模数据上预训练参数高效微调模块(如提示标记)后再在下游任务上微调,从而提升少样本图像分类性能。通过使用预训练权重初始化这些模块,PVP在1-shot设置下相比先前的PETuning方法(如VPT)实现最先进性能,准确率最高提升16.08%。
Large-scale pre-trained transformers have demonstrated remarkable success in various computer vision tasks. However, it is still highly challenging to fully fine-tune these models for downstream tasks due to their high computational and storage costs. Recently, Parameter-Efficient Tuning (PETuning) techniques, e.g., Visual Prompt Tuning (VPT) and Low-Rank Adaptation (LoRA), have significantly reduced the computation and storage cost by inserting lightweight prompt modules into the pre-trained models and tuning these prompt modules with a small number of trainable parameters, while keeping the transformer backbone frozen. Although only a few parameters need to be adjusted, most PETuning methods still require a significant amount of downstream task training data to achieve good results. The performance is inadequate on low-data regimes, especially when there are only one or two examples per class. To this end, we first empirically identify the poor performance is mainly due to the inappropriate way of initializing prompt modules, which has also been verified in the pre-trained language models. Next, we propose a Pre-trained Visual Parameter-efficient (PVP) Tuning framework, which pre-trains the parameter-efficient tuning modules first and then leverages the pre-trained modules along with the pre-trained transformer backbone to perform parameter-efficient tuning on downstream tasks. Experiment results on five Fine-Grained Visual Classification (FGVC) and VTAB-1k datasets demonstrate that our proposed method significantly outperforms state-of-the-art PETuning methods.
研究动机与目标
- 为解决现有参数高效微调(PETuning)方法在少样本学习场景下的表现不佳问题,特别是在每类仅有一两个样本时。
- 探究PETuning在低数据环境下表现差的根源,特别是提示模块随机或零初始化的影响。
- 提出一种新颖框架,预先在大规模数据集上预训练PETuning方法的可微调模块,以改善初始化并提升下游性能。
- 证明预训练提示模块能显著增强少样本图像分类中的泛化能力和鲁棒性。
- 验证所提框架在多种PETuning方法(包括VPT、Adapter和LoRA)中的通用性与有效性。
提出的方法
- 使用相同的预训练视觉Transformer主干网络,在ImageNet-1k上预训练参数高效微调模块(如提示标记)。
- 将预训练模块作为下游PETuning的初始化,同时保持视觉Transformer主干网络冻结。
- 在下游任务中应用预训练模块,仅进行少量微调,利用更优的初始化实现更快收敛和更高准确率。
- 通过顺序加载预训练提示标记来保留位置信息,其性能优于基于平均的加载方式。
- 通过验证集搜索优化提示标记数量,证明在不同提示长度下均具有鲁棒性。
- 将该框架扩展至其他PETuning方法(如Adapter和LoRA),展示其广泛适用性。
实验结果
研究问题
- RQ1为何现有PETuning方法(如VPT)在少样本图像分类中表现不佳,特别是在每类仅有一两个样本时?
- RQ2提示模块的初始化如何影响PETuning在低数据环境下的性能?
- RQ3在大规模数据上预训练提示模块是否能提升少样本学习中的下游性能?
- RQ4所提出的PVP框架对提示长度和初始化策略的变化有多强的鲁棒性?
- RQ5微调模块的预训练是否能在不同PETuning方法(如VPT、Adapter和LoRA)间实现泛化?
主要发现
- 在细粒度视觉分类(FGVC)数据集上,PVP在1-shot设置下相比VPT平均准确率提升16.08%。
- 在FGVC上,PVP相比VPT在2、4、8和16-shot设置下分别提升准确率11.52%、6.36%、2.94%和1.95%。
- 在VTAB-1k基准上,PVP取得最先进结果,相比近期PETuning方法平均准确率提升2.33%。
- 在VTAB-Natural、VTAB-Specialized和VTAB-Structured任务上,PVP分别提升平均准确率3.34%、2.85%和3.66%。
- 提示模块的预训练使框架对提示长度变化具有鲁棒性,在NABirds数据集上4-shot设置下准确率波动小于2%,而标准VPT波动超过25%。
- 顺序加载预训练提示标记优于基于平均的加载方式,通过保留位置信息,在少样本设置下实现更优性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。