Modular and Parameter-Efficient Multimodal Fusion with Prompting

Sheng Liang, Mengjie Zhao, Hinrich Schütze

Abstract

Adapting large-scale Pretrained Language Models (PLMs) for multimodal tasks typically requires significant computational resources and extensive fine-tuning. This paper presents PromptFuse and BlindPrompt, two novel methods for parameter-efficient multimodal fusion. By introducing a small set of trainable prompt vectors (~15K) to align frozen vision and language encoders, these models achieve competitive performance in low-resource scenarios. Our approach disentangles feature extraction from modality alignment, offering a modular and scalable solution for integrating diverse data streams like images, audio, and video.

Introduction

While PLMs like GPT-3 and BART excel in natural language tasks, extending them to understand visual or auditory inputs often involves retraining massive encoders. Previous methods, such as the "Frozen" model, required vision encoders to simultaneously extract features and learn the language model's internal representation. This dual requirement limits modularity and increases training complexity. We address this by proposing a modular framework that keeps heavy-duty encoders fixed, focusing training only on the "glue" that aligns their respective embedding spaces.

Methods: PromptFuse and BlindPrompt

The core of our approach is the separation of feature extraction from modality alignment. We propose two primary architectures:

  1. PromptFuse: This architecture keeps both the Vision Encoder (VE) and the PLM frozen. A small set of $N$ trainable prompt vectors is introduced into the PLM’s embedding layer. These vectors learn to map fixed image representations into the text-based embedding space of the language model.
  2. BlindPrompt: To mitigate overfitting to spurious statistical cues, BlindPrompt employs a specialized attention mask. This mask prevents prompt vectors from directly attending to the specific content of the input (image or text), forcing them to learn general alignment properties between modality spaces rather than memorizing task-specific shortcuts.
Figure 1: The PromptFuse architecture aligns a frozen Vision Encoder (VE) and Language Model (LM) using a small set of trainable prompt vectors.

This modular design allows for easy extension; adding a new modality, such as audio, simply requires plugging in a frozen audio encoder and training a corresponding set of prompt vectors.

Experimental Evaluation

We evaluated our models on two multimodal benchmarks:

  • VQAv2 (Visual Question Answering): Tested in low-resource settings (128 and 512 training samples) to assess learning efficiency.
  • MUStARD (Multimodal Sarcasm Detection): A three-modality task (video, audio, text) used to demonstrate the scalability of the prompting approach.

Key Results

Our experiments highlight the efficiency and robustness of the prompting methods. PromptFuse utilizes only 15,000 trainable parameters, a 5000x reduction compared to the 86 million parameters updated during standard fine-tuning.

Figure 5: Performance comparison on VQAv2 across different data regimes. Prompting methods show strong performance in low-resource (128 and 512 shot) settings.

In 128-shot and 512-shot VQA experiments, PromptFuse and BlindPrompt achieved accuracies comparable to full fine-tuning and significantly outperformed linear projection baselines. Notably, on the MUStARD dataset, prompting methods outperformed full fine-tuning in 8-shot and 64-shot scenarios, suggesting that freezing large encoders helps preserve general knowledge and prevents overfitting when data is scarce.

Discussion and Conclusion

The success of PromptFuse and BlindPrompt demonstrates that disentangling feature extraction from alignment is a viable path for efficient multimodal learning. While these methods currently face a performance ceiling in high-resource settings—likely due to the limited capacity of 15K parameters—they offer a highly modular and robust alternative for data-scarce environments. Future work will explore more complex prompt encoders, such as LSTMs, to increase parameter capacity without sacrificing the benefits of frozen, modular components.

Summary updated

BibTeX
@inproceedings{liang2022modular,
  author = {Sheng Liang and Mengjie Zhao and Hinrich Schütze},
  title = {{Modular and Parameter-Efficient Multimodal Fusion with Prompting}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=uSl2-LfX_qP},
}
Figure