TL;DR
This paper introduces "Poly-Visual-Expert" (MouSi), a novel Vision-Language Model (VLM) architecture that leverages an ensemble of specialized visual encoders (e.g., for image-text matching, segmentation, OCR) to overcome the limitations of single-expert VLMs. By synergizing these experts and optimizing positional encoding for long visual sequences, MouSi achieves state-of-the-art performance across various multimodal tasks, demonstrating the power of diverse visual perception.
What Problem Does This Paper Address?
Current large Vision-Language Models (VLMs) often rely on a single visual encoder, which can be a bottleneck for understanding complex visual information. This single encoder might excel at certain tasks (like image-text matching) but struggle with others (like fine-grained segmentation or OCR). Furthermore, processing long sequences of visual tokens (especially from high-resolution images) leads to excessive computational costs and can exceed the maximum input length of Large Language Models (LLMs). The paper aims to address these limitations by creating a VLM that can effectively integrate multiple specialized visual "experts" and efficiently handle long visual inputs.
Methods
The core innovation is the Poly-Visual-Expert architecture. Instead of a single visual encoder, MouSi uses a fusion network to combine outputs from multiple pre-trained visual experts. The authors selected six diverse experts: CLIP (image-text matching), DINOV2 (robust feature extraction), LayoutLMv3 (document AI), ConvNeXt (general vision), SAM (segmentation), and MAE (image reconstruction).
To handle the increased number of visual tokens from multiple experts, they propose two key techniques:
- Multi-patch-single-token projection: This method compresses local visual information by representing multiple image patches with a single token, reducing the sequence length and computational cost.
- Efficient Positional Encoding Schemes: Recognizing that visual tokens can already have positional information, they explore schemes like "share-all" (one PE for all tokens) and "share-by-row&col" to drastically reduce the positional encoding overhead, mitigating the "position overflow" problem.
Two fusion network approaches are explored: an MLP projection and a Q-Former network.
Datasets
The paper uses standard datasets for training and evaluation:
- Pre-training: LCS-558K dataset (~558K image-text pairs from LAION-CC-SBU, annotated with BLIP-generated captions).
- Fine-tuning (SFT): Default SFT data from LLaVA-1.5 (~665K pairs) including VQA, OCR, region-level VQA, visual conversation, and language conversation data.
- Evaluation Benchmarks: VQAV2, GQA, SQA-IMG, TextVQA, POPE, MMBench, MMBench-Chinese, SEED-Bench-IMG, and MM-Vet.
Key Insights and Ideas
- Synergy of Specialized Experts: The most significant insight is that combining diverse visual experts leads to superior performance compared to any single expert, even the best one. This highlights that different visual tasks benefit from specialized processing capabilities.
- Complementarity is Key: The paper suggests that combining experts with overlapping strengths (like CLIP and ConvNeXt) might be less effective than combining experts with complementary skills (like DINOv2 and CLIP), where one provides broad semantic understanding and the other offers robust feature extraction.
- Positional Encoding is Overkill: The authors demonstrate that re-assigning LLM positional embeddings to visual tokens, which already possess positional information from their encoders, is redundant and wasteful. Efficient schemes can significantly reduce this overhead without performance degradation.
- Addressing the "Length Limit" Problem: The proposed multi-patch-single-token projection and efficient positional encoding are crucial for making multi-expert VLMs practical, especially for high-resolution images, by managing the quadratic increase in computational cost and token count.
Key Results
- State-of-the-Art Performance: The Poly-Visual-Expert model (MouSi) achieves state-of-the-art (SoTA) performance on a broad range of nine benchmarks.
- Performance Gains with More Experts: Performance consistently improves as more experts are integrated. Triple experts generally outperform double experts, which in turn outperform single experts.
- Significant Improvement: The poly-visual-expert VLMs show improved average performance over single-expert VLMs by +1.3/+1.8 with only a modest increase in parameters.
- Efficiency Gains: The multi-patch-single-token projection and optimized positional encoding drastically reduce the number of visual tokens and positional encoding cost. For instance, SAM's positional occupancy was reduced from 4096 to 64 or even 1.
- MLP Fusion Superiority: The MLP projection fusion network outperformed the Q-Former network, despite having fewer parameters and not being pre-trained.
- Qualitative Success: Case studies demonstrate the model's ability to follow multimodal instructions across various tasks like complex image captioning, OCR, visual math problem solving, and visual grounding.
Limitations and Future Work
- Increasing Experts: While performance improves with more experts, the paper notes that increasing the number of experts beyond three yields diminishing returns and significantly increases training and inference costs due to excessive token counts.
- Expert Contribution Analysis: The analysis shows that while CLIP is the dominant visual channel, LayoutLMv3's contribution is minimal (only 1% of CLIP's). The paper raises the question of the relevance of such minimally contributing visual channels, suggesting future work could explore strategies for managing or optimizing their integration.
- Fusion Method Performance: While MLP fusion performed better in their experiments, the paper mentions that Q-Former could be further explored, especially with pre-trained parameters.
- Future Directions: The authors suggest that a well-integrated assembly of expert encoders can lead to substantial improvements in handling complex multimodal inputs, implying further exploration into optimal expert selection and fusion strategies.
Summary updated