HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Prompt Tuning for Generative Multimodal Pretrained Models

Hao Yang Junyang Lin An Yang Peng Wang Chang Zhou Hongxia Yang

Prompt Tuning for Generative Multimodal Pretrained Models

Abstract

Prompt tuning has become a new paradigm for model tuning and it has demonstrated success in natural language pretraining and even vision pretraining. In this work, we explore the transfer of prompt tuning to multimodal pretraining, with a focus on generative multimodal pretrained models, instead of contrastive ones. Specifically, we implement prompt tuning on the unified sequence-to-sequence pretrained model adaptive to both understanding and generation tasks. Experimental results demonstrate that the light-weight prompt tuning can achieve comparable performance with finetuning and surpass other light-weight tuning methods. Besides, in comparison with finetuned models, the prompt-tuned models demonstrate improved robustness against adversarial attacks. We further figure out that experimental factors, including the prompt length, prompt depth, and reparameteratization, have great impacts on the model performance, and thus we empirically provide a recommendation for the setups of prompt tuning. Despite the observed advantages, we still find some limitations in prompt tuning, and we correspondingly point out the directions for future studies. Codes are available at \url{https://github.com/OFA-Sys/OFA}

Code Repositories

ofa-sys/ofa
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-captioning-on-coco-captionsPrompt Tuning
BLEU-4: 41.81
CIDER: 141.4
METEOR: 31.51
SPICE: 24.42
visual-entailment-on-snli-ve-testPrompt Tuning
Accuracy: 90.12
visual-entailment-on-snli-ve-valPrompt Tuning
Accuracy: 90.04
visual-question-answering-on-vqa-v2-test-stdPrompt Tuning
overall: 78.53

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 Tuning for Generative Multimodal Pretrained Models | Papers | HyperAI