[Paper Review] Prompt Tuning based Adapter for Vision-Language Model Adaption
This paper proposes Prompt-Adapter, a parameter-efficient vision-language model adaptation method that combines multi-task pre-trained prompt tuning with a learnable cache mechanism. By initializing prompts with multi-task pre-training and using separate training for prompt and adapter components, it achieves state-of-the-art performance on 11 few-shot image classification benchmarks, especially in 1-8 shot settings, outperforming prior methods by up to 1.55% accuracy with only 20 epochs of fine-tuning.
Large pre-trained vision-language (VL) models have shown significant promise in adapting to various downstream tasks. However, fine-tuning the entire network is challenging due to the massive number of model parameters. To address this issue, efficient adaptation methods such as prompt tuning have been proposed. We explore the idea of prompt tuning with multi-task pre-trained initialization and find it can significantly improve model performance. Based on our findings, we introduce a new model, termed Prompt-Adapter, that combines pre-trained prompt tunning with an efficient adaptation network. Our approach beat the state-of-the-art methods in few-shot image classification on the public 11 datasets, especially in settings with limited data instances such as 1 shot, 2 shots, 4 shots, and 8 shots images. Our proposed method demonstrates the promise of combining prompt tuning and parameter-efficient networks for efficient vision-language model adaptation. The code is publicly available at: https://github.com/Jingchensun/prompt_adapter.
Motivation & Objective
- To address the challenge of fine-tuning large vision-language models on low-resource downstream tasks due to high computational cost and overfitting risks.
- To improve few-shot image classification performance by combining prompt tuning with parameter-efficient adaptation mechanisms.
- To investigate whether multi-task pre-trained prompt initialization enhances zero-shot and few-shot generalization in vision-language models.
- To evaluate the effectiveness of separate training for prompt and adapter components versus joint training.
- To develop a method that outperforms existing state-of-the-art approaches in extreme low-data regimes (1–8 shots).
Proposed method
- Proposes Prompt-Adapter, a novel architecture that integrates a learnable text prompt with a non-parametric cache model to store and retrieve few-shot visual features.
- Uses multi-task pre-trained prompts initialized from a large-scale multi-task prompt learning objective to improve generalization and representation quality.
- Employs a separate training strategy where the prompt and the adapter (cache model) are trained independently to avoid performance degradation from balancing both components.
- Adapts the CLIP model by freezing the main network weights and only updating the prompt and adapter components, enabling efficient fine-tuning.
- Utilizes a non-parametric cache model that stores encoded image features and their one-hot labels, enabling inference-time retrieval of few-shot knowledge.
- Introduces two variants: Prompt-Adapter (inference-only, no training) and Prompt-Adapter-F (trained for 20 epochs) for improved accuracy.
Experimental results
Research questions
- RQ1Can multi-task pre-trained prompt initialization significantly improve few-shot image classification accuracy compared to random or manual prompt initialization?
- RQ2Does separating the training of the prompt and the adapter components lead to better performance than joint training?
- RQ3Can a prompt tuning-based adapter outperform existing state-of-the-art methods in extreme low-data regimes (1–8 shots)?
- RQ4How does the synergy between pre-trained prompts and a non-parametric cache model enhance model generalization in few-shot settings?
- RQ5Why does Prompt-Adapter-F achieve higher accuracy than UPT despite using only 20 epochs compared to UPT’s 200 epochs?
Key findings
- Prompt-Adapter-F achieves a new state-of-the-art accuracy of 81.96% on average across 11 few-shot image classification datasets, outperforming previous methods.
- The method improves classification accuracy by 1.55% over the previous state-of-the-art through multi-task pre-trained prompt initialization.
- Prompt-Adapter-F achieves 81.96% average accuracy on 1-shot to 8-shot settings, significantly outperforming CoOp, UPT, and Tip-Adapter-F.
- Separate training of the prompt and adapter components yields 81.96% average accuracy, surpassing joint training by 0.72%.
- Multi-task pre-trained prompt initialization achieves 80.64% accuracy, outperforming both random and manual initialization across all few-shot settings.
- On 8 out of 11 datasets, including Flowers102, FGVCAircraft, DTD, StanfordCars, Food101, SUN397, Caltech101, and UCF101, Prompt-Adapter-F achieves superior performance with significant margins.
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.