Skip to main content
QUICK REVIEW

[Paper Review] MAPL: Parameter-Efficient Adaptation of Unimodal Pre-Trained Models for Vision-Language Few-Shot Prompting

Oscar Mañas, Pau Rodríguez|arXiv (Cornell University)|Oct 13, 2022
Multimodal Machine Learning ApplicationsComputer Science7 citations
TL;DR

MAPL is a parameter-efficient method that adapts frozen unimodal vision and language models for vision-language few-shot prompting by learning a lightweight mapping between their representation spaces. It achieves competitive performance on VQA and image captioning benchmarks while training orders of magnitude fewer parameters than prior methods, even in low-data and in-domain settings.

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.

Motivation & Objective

  • To enable few-shot generalization in vision-language tasks using only a few in-context examples.
  • To reduce the number of trainable parameters compared to existing methods that fine-tune or adapter-layers on large pre-trained models.
  • To enable effective low-data and in-domain learning by reusing frozen unimodal foundation models.
  • To provide a modular, extensible framework that can be adapted to new or improved pre-trained models.
  • To demonstrate that parameter efficiency does not compromise performance on downstream vision-language benchmarks.

Proposed method

  • MAPL reuses frozen pre-trained vision encoders (e.g., CLIP) and autoregressive language models (e.g., GPT) without any fine-tuning or adapter layers.
  • It introduces a lightweight, learnable mapping head that aligns the representation spaces of the frozen vision and language encoders using paired image-text data.
  • The mapping is trained end-to-end on image-caption pairs, enabling the model to generalize to unseen vision-language tasks via in-context learning.
  • The method is modular and can be applied to any pre-trained unimodal model, enabling easy extension to newer or better models.
  • Training is performed on public datasets using modest computational resources, with training completed in just a few hours.
  • The model leverages the in-context learning capabilities of the frozen language model to generalize from only a few few-shot examples.

Experimental results

Research questions

  • RQ1Can a lightweight mapping between frozen unimodal models achieve strong few-shot performance in vision-language tasks?
  • RQ2How does MAPL perform compared to methods that fine-tune or use adapter layers on large-scale multimodal data?
  • RQ3Can MAPL generalize effectively in low-data and in-domain learning settings with minimal parameter updates?
  • RQ4Does the parameter efficiency of MAPL lead to reduced performance, or can it match or exceed more complex methods?
  • RQ5How sensitive is MAPL's performance to random weight initialization, and can variance be mitigated?

Key findings

  • MAPL achieves superior or competitive performance on multiple image captioning and VQA benchmarks compared to methods like Frozen, Eichenberg et al. (2021), and Dai et al. (2022), despite training orders of magnitude fewer parameters.
  • In low-data learning (1% of multimodal data), MAPL significantly outperforms Frozen, demonstrating strong parameter efficiency.
  • In in-domain learning, where MAPL is trained directly on 100% or 1% of task-specific data without prior pre-training, it outperforms Frozen under the same conditions.
  • MAPL can be trained in just a few hours using modest computational resources and public datasets, making it accessible to small labs and independent researchers.
  • The model shows non-negligible performance variance across different random seeds, likely due to its small number of trainable parameters, though average performance across seeds is stable.
  • MAPL struggles to leverage more shots in in-context learning, possibly due to being trained on single image-caption pairs rather than multi-example sequences, suggesting a need for improved pretext tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.