[Paper Review] Prompt Tuning for Generative Multimodal Pretrained Models
This paper introduces prompt tuning for generative multimodal pretrained models, demonstrating that lightweight prompt tuning with only ~1% trainable parameters achieves performance comparable to full fine-tuning while significantly improving robustness against adversarial attacks. The method uses prefix tuning within an encoder-decoder framework and provides empirical guidelines for optimal prompt length, depth, and reparameterization strategies.
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}
Motivation & Objective
- To investigate whether prompt tuning can effectively transfer generative multimodal pretrained models, especially in comparison to full fine-tuning.
- To evaluate the performance and robustness of prompt tuning on multimodal understanding and generation tasks.
- To identify key hyperparameters—such as prompt length, depth, and reparameterization—that influence model performance.
- To provide empirical recommendations for prompt tuning setup in generative multimodal models.
- To explore the limitations of prompt tuning, particularly slow convergence and training instability, and suggest future research directions.
Proposed method
- Applies prefix tuning, a lightweight prompt tuning method, to a unified sequence-to-sequence multimodal pretrained model for both understanding and generation tasks.
- Freezes most parameters of the pretrained model and only tunes prompt embeddings and the output layer, reducing trainable parameters to approximately 1%.
- Inserts learnable prompt tokens at multiple layers of the Transformer encoder and decoder, with ablation studies on insertion depth (encoder-only, decoder-only, or both).
- Employs reparameterization via an MLP to stabilize training and improve optimization, comparing it with direct optimization of prompt embeddings.
- Uses a unified sequence-to-sequence framework that supports both vision-and-text-based tasks, enabling end-to-end fine-tuning with minimal parameter updates.
Experimental results
Research questions
- RQ1Can prompt tuning achieve performance comparable to full fine-tuning in generative multimodal pretrained models?
- RQ2How does prompt tuning compare to other lightweight tuning methods such as adapters and BitFit in multimodal settings?
- RQ3What is the impact of prompt length, depth, and reparameterization on downstream performance and robustness?
- RQ4Does prompt tuning improve model robustness against adversarial attacks compared to fine-tuned models?
- RQ5What hyperparameter configurations yield optimal performance for prompt tuning in multimodal generation tasks?
Key findings
- Prompt tuning achieves performance comparable to full fine-tuning while using only about 1% of the parameters, significantly reducing computational cost.
- The prompt-tuned models demonstrate superior robustness against adversarial attacks compared to fine-tuned models.
- A prompt length of 64 tokens yields the best average performance across tasks, with diminishing returns and potential degradation at longer lengths.
- Inserting prompts into all layers of the Transformer model yields the best performance, though inserting into the encoder alone outperforms decoder-only insertion.
- Reparameterization via an MLP improves performance on some datasets (e.g., RefCOCO, RefCOCOg) but harms performance on others (e.g., SNLI-VE, VQA), indicating context-dependent effectiveness.
- Prompt tuning converges slowly, requiring at least 40 epochs to reach optimal performance on some benchmarks, highlighting a key limitation despite its efficiency gains.
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.