HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Prompt Learning via Meta-Regularization

Jinyoung Park Juyeon Ko Hyunwoo J. Kim

Prompt Learning via Meta-Regularization

Abstract

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.

Code Repositories

mlvlab/prometar
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
prompt-engineering-on-caltech-101ProMetaR
Harmonic mean: 96.16
prompt-engineering-on-dtdProMetaR
Harmonic mean: 72.31
prompt-engineering-on-eurosatProMetaR
Harmonic mean: 85.30
prompt-engineering-on-fgvc-aircraftProMetaR
Harmonic mean: 40.25
prompt-engineering-on-food-101ProMetaR
Harmonic mean: 91.34
prompt-engineering-on-imagenetProMetaR
Harmonic mean: 74.09
prompt-engineering-on-oxford-102-flowerProMetaR
Harmonic mean: 86.70
prompt-engineering-on-oxford-iiit-pet-datasetProMetaR
Harmonic mean: 96.49
prompt-engineering-on-stanford-cars-1ProMetaR
Harmonic mean: 76.72
prompt-engineering-on-sun397ProMetaR
Harmonic mean: 80.82
prompt-engineering-on-ucf101ProMetaR
Harmonic mean: 83.25

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Prompt Learning via Meta-Regularization | Papers | HyperAI