[Paper Review] PVP: Pre-trained Visual Parameter-Efficient Tuning
This paper proposes Pre-trained Visual Parameter-efficient Tuning (PVP), a method that improves few-shot image classification by pre-training the parameter-efficient tuning modules (e.g., prompt tokens) on large-scale data before fine-tuning on downstream tasks. By initializing these modules with pre-trained weights, PVP achieves state-of-the-art performance, improving accuracy by up to 16.08% under 1-shot settings compared to prior PETuning methods like VPT.
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.
Motivation & Objective
- To address the poor performance of existing Parameter-Efficient Tuning (PETuning) methods in few-shot learning scenarios, especially with only one or two examples per class.
- To investigate the root cause of poor performance in PETuning under low-data regimes, particularly the impact of random or zero initialization of prompt modules.
- To propose a novel framework that pre-trains the tunable modules of PETuning methods on large-scale datasets to improve initialization and downstream performance.
- To demonstrate that pre-training the prompt modules significantly enhances generalization and robustness in few-shot image classification.
- To validate the versatility and effectiveness of the proposed framework across multiple PETuning methods, including VPT, Adapter, and LoRA.
Proposed method
- Pre-train the parameter-efficient tuning modules (e.g., prompt tokens) on ImageNet-1k using the same pre-trained vision transformer backbone.
- Use the pre-trained modules as initialization for downstream PETuning, keeping the vision transformer backbone frozen.
- Apply the pre-trained modules to downstream tasks with minimal fine-tuning, leveraging better initialization for faster convergence and higher accuracy.
- Use sequential loading of pre-trained prompt tokens to preserve positional information, outperforming average-based loading.
- Optimize the number of prompt tokens via validation set search, demonstrating robustness across different prompt lengths.
- Extend the framework to other PETuning methods such as Adapter and LoRA, showing broad applicability.
Experimental results
Research questions
- RQ1Why do existing PETuning methods like VPT underperform in few-shot image classification, especially with only one or two examples per class?
- RQ2How does the initialization of prompt modules affect the performance of PETuning in low-data regimes?
- RQ3Can pre-training the prompt modules on large-scale data improve downstream performance in few-shot learning?
- RQ4How robust is the proposed PVP framework to variations in prompt length and initialization strategy?
- RQ5Does the pre-training of tuning modules generalize across different PETuning methods such as VPT, Adapter, and LoRA?
Key findings
- PVP achieves a 16.08% average accuracy improvement over VPT in the 1-shot setting on Fine-Grained Visual Classification (FGVC) datasets.
- On FGVC, PVP improves accuracy by 11.52%, 6.36%, 2.94%, and 1.95% in 2, 4, 8, and 16-shot settings, respectively, compared to VPT.
- On the VTAB-1k benchmark, PVP achieves state-of-the-art results, surpassing recent PETuning methods by 2.33% average accuracy.
- PVP improves average accuracy by 3.34%, 2.85%, and 3.66% on VTAB-Natural, VTAB-Specialized, and VTAB-Structured tasks, respectively.
- The pre-training of prompt modules makes the framework robust to prompt length variations, with less than 2% accuracy fluctuation under 4-shot settings on NABirds, compared to over 25% in standard VPT.
- Sequential loading of pre-trained prompt tokens outperforms average-based loading by preserving positional information, leading to better performance in few-shot regimes.
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.