Enhancing Multimodal Large Language Models with Multi-instance Visual Prompt Generator for Visual Representation Enrichment
Wenliang Zhong, Wenyi Wu, Qi Li, Rob Barton, Boxin Du, Shioulin Sam, Karim Bouyarmane, Ismail Tutar, Junzhou Huang
TL;DR
Multimodal Large Language Models often rely on single-image inputs and standard visual prompt generators, limiting their ability to leverage richer visual representations. This paper introduces the Multi-instance Visual Prompt Generator (MIVPG), a MIL-inspired module that aggregates across images and patches and includes Correlated Self-Attention (CSA) to capture inter-instance relationships, with QFormer shown as a special case. Across three vision-language datasets spanning natural imagery, pathology WSIs, and e-commerce products, MIVPG consistently outperforms QFormer-based baselines, particularly in data-scarce regimes and multi-input scenarios. The work provides both theoretical and empirical support for MIL-based visual prompting and offers a practical path to richer multimodal understanding in LLMs.
Abstract
Multimodal Large Language Models (MLLMs) have achieved SOTA performance in various visual language tasks by fusing the visual representations with LLMs leveraging some visual adapters. In this paper, we first establish that adapters using query-based Transformers such as Q-former is a simplified Multi-instance Learning method without considering instance heterogeneity/correlation. We then propose a general component termed Multi-instance Visual Prompt Generator (MIVPG) to incorporate enriched visual representations into LLMs by taking advantage of instance correlation between images or patches for the same sample. Quantatitive evaluation on three public vision-language (VL) datasets from different scenarios shows that the proposed MIVPG improves Q-former in main VL tasks.
