Prompt Learning via Meta-Regularization

1 Apr 2024  ·  Jinyoung Park, Juyeon Ko, Hyunwoo J. Kim ·

Pre-trained vision-language models have shown impressive success on various computer vision tasks with their zero-shot generalizability. Recently, prompt learning approaches have been explored to efficiently and effectively adapt the vision-language models to a variety of downstream tasks. However, most existing prompt learning methods suffer from task overfitting since the general knowledge of the pre-trained vision language models is forgotten while the prompts are finetuned on a small data set from a specific target task. To address this issue, we propose a Prompt Meta-Regularization (ProMetaR) to improve the generalizability of prompt learning for vision-language models. Specifically, ProMetaR meta-learns both the regularizer and the soft prompts to harness the task-specific knowledge from the downstream tasks and task-agnostic general knowledge from the vision-language models. Further, ProMetaR augments the task to generate multiple virtual tasks to alleviate the meta-overfitting. In addition, we provide the analysis to comprehend how ProMetaR improves the generalizability of prompt tuning in the perspective of the gradient alignment. Our extensive experiments demonstrate that our ProMetaR improves the generalizability of conventional prompt learning methods under base-to-base/base-to-new and domain generalization settings. The code of ProMetaR is available at https://github.com/mlvlab/ProMetaR.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Prompt Engineering Caltech-101 ProMetaR Harmonic mean 96.16 # 5
Prompt Engineering DTD ProMetaR Harmonic mean 72.31 # 3
Prompt Engineering EuroSAT ProMetaR Harmonic mean 85.30 # 3
Prompt Engineering FGVC-Aircraft ProMetaR Harmonic mean 40.25 # 3
Prompt Engineering Food-101 ProMetaR Harmonic mean 91.34 # 4
Prompt Engineering ImageNet ProMetaR Harmonic mean 74.09 # 5
Prompt Engineering Oxford 102 Flower ProMetaR Harmonic mean 86.70 # 3
Prompt Engineering Oxford-IIIT Pet Dataset ProMetaR Harmonic mean 96.49 # 5
Prompt Engineering Stanford Cars ProMetaR Harmonic mean 76.72 # 2
Prompt Engineering SUN397 ProMetaR Harmonic mean 80.82 # 4
Prompt Engineering UCF101 ProMetaR Harmonic mean 83.25 # 2

Methods


No methods listed for this paper. Add relevant methods here