MAPL: Parameter-Efficient Adaptation of Unimodal Pre-Trained Models for Vision-Language Few-Shot Prompting
Authors:
Preprint
Abstract
Large pre-trained models have proved to be remarkable zero- and (prompt-based) few-shot learners in unimodal vision and language tasks. We propose MAPL, a simple and parameter-efficient method that reuses frozen pre-trained unimodal models and leverages their strong generalization capabilities in multimodal vision-language (VL) settings. MAPL learns a lightweight mapping between the representation spaces of unimodal models using aligned image-text data, and can generalize to unseen VL tasks from just a few in-context examples. The small number of trainable parameters makes MAPL effective at low-data and in-domain learning. Moreover, MAPL's modularity enables easy extension to other pre-trained models. Extensive experiments on several visual question answering and image captioning benchmarks show that MAPL achieves superior or competitive performance compared to similar methods while training orders of magnitude fewer parameters. MAPL can be trained in just a few hours using modest computational resources and public datasets. We release our code and pre-trained model weights at https://github.com/mair-lab/mapl.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Reassessing Evaluation Practices in Visual Question Answering: A Case Study on Out-of-Distribution Generalization2023
- An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAProceedings of the AAAI Conference on Artificial Intelligence, 2022
- VisualGPT: Data-efficient Adaptation of Pretrained Language Models for Image Captioning2022
- MAGMA – Multimodal Augmentation of Generative Models through Adapter-based Finetuning2022
- Enabling Multimodal Generation on CLIP via Vision-Language Knowledge Distillation2022
- A Good Prompt Is Worth Millions of Parameters: Low-resource Prompt-based Learning for Vision-Language Models2022
- Self-Attention with Relative Position Representations2018