NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MIVC: Multiple Instance Visual Component for Visual-Language Models

Wenyi Wu, Qi Li, Wenliang Zhong, Junzhou Huang

Introduction

Most state-of-the-art Vision-Language Models (VLMs), such as BLIP-2 or Flamingo, are pre-trained on a "one image, one text" paradigm. However, real-world entities—particularly in domains like e-commerce—are frequently represented by a collection of images (a "bag") rather than a single shot. Standard approaches to handling multiple images, such as image concatenation or selecting a single "hero" image, often lead to information loss or excessive computational overhead.

This paper introduces the Multiple Instance Visual Component (MIVC), a lightweight, plug-and-play module designed to aggregate features from a varying number of images into a single, consolidated representation compatible with downstream Large Language Models (LLMs).

Methodology

MIVC acts as a bridge between a frozen vision encoder (e.g., ViT) and a frozen or fine-tuned LLM. By leveraging Multiple Instance Learning (MIL), MIVC processes a set of $N$ visual embeddings and produces a single entity-level embedding.

Architectural comparison of standard VLMs and MIVC-enhanced models.

The core of the MIVC module is its pooling strategy. The authors explored four distinct methods to consolidate the "bag" of images:

  1. Average Pooling: A simple mean of all image embeddings.
  2. Max Pooling: Selecting the maximum value across each embedding dimension.
  3. Attention Pooling: Learning a weighted average where the model assigns importance to specific images.
  4. Gated Attention Pooling: An advanced attention mechanism incorporating non-linearity to capture complex visual relationships.
The internal mechanism of the MIVC pooling layer, showing how individual image embeddings are weighted and aggregated.

A critical property of MIVC is its permutation invariance. The order of images in the input bag does not affect the final representation, ensuring the model treats the collection as a single entity.

Experimental Results

The researchers evaluated MIVC using the Amazon Berkeley Objects (ABO) dataset, which contains over 147,000 products with varying numbers of images (2 to 21). The model was tested on three tasks: product categorization, attribute inference (e.g., material, color), and image captioning.

Performance Gains

MIVC consistently outperformed both single-image and concatenation baselines. In attribute inference, the MIVC-Attention model achieved 67.4% accuracy, compared to 62.9% for the single-image baseline. For captioning tasks, MIVC reached a text-retrieval R@1 score of 81.7%, significantly higher than the single-image (76.0%) and concatenation (76.8%) methods.

Efficiency and Interpretability

MIVC is highly efficient, adding only approximately 1.5% more parameters to the total model architecture (e.g., 185M parameters added to a 12.4B parameter model). Furthermore, the attention weights provide interpretability; for instance, when queried about specific product details like patterns, the model automatically assigns higher weights to zoomed-in detail shots.

Conclusion

MIVC provides a scalable and efficient solution for multi-image visual reasoning. By consolidating information from multiple views into a single representation, it allows standard VLMs to handle complex real-world data without significant architectural changes. Future work may explore cross-modality attention, where the text prompt directly influences the visual aggregation process.

Summary updated

BibTeX
@inproceedings{wu2024mivc,
  author = {Wenyi Wu and Qi Li and Wenliang Zhong and Junzhou Huang},
  title = {{MIVC: Multiple Instance Visual Component for Visual-Language Models}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00793},
}
Figure