MouSi: Poly-Visual-Expert Vision-Language Models

Xiaoran Fan, Tao Ji, Changhao Jiang, Shuo Li, Senjie Jin, Sirui Song, Junke Wang, Boyang Hong, Lu Chen, Guodong Zheng, Ming Zhang, Caishuang Huang, Rui Zheng, Zhiheng Xi, Yuhao Zhou, Shihan Dou, Junjie Ye, Hang Yan, Tao Gui, Qi Zhang, Xipeng Qiu, Xuanjing Huang, Zuxuan Wu, Yu-Gang JiangarXiv 2024

Abstract

Current large vision-language models (VLMs) often encounter challenges such as insufficient capabilities of a single visual component and excessively long visual tokens. These issues can limit the model's effectiveness in accurately interpreting complex visual information and over-lengthy contextual information. Addressing these challenges is crucial for enhancing the performance and applicability of VLMs. This paper proposes the use of ensemble experts technique to synergizes the capabilities of individual visual encoders, including those skilled in image-text matching, OCR, image segmentation, etc. This technique introduces a fusion network to unify the processing of outputs from different visual experts, while bridging the gap between image encoders and pre-trained LLMs. In addition, we explore different positional encoding schemes to alleviate the waste of positional encoding caused by lengthy image feature sequences, effectively addressing the issue of position overflow and length limitations. Experimental results demonstrate that VLMs with multiple experts exhibit consistently superior performance over isolated visual encoders and mark a significant performance boost as more experts are integrated.

Introduction

Most modern Vision-Language Models (VLMs), such as LLaVA or Qwen-VL, rely on a single visual backbone—usually a variant of CLIP. While CLIP is excellent at aligning global image semantics with text, it has notable "blind spots" in fine-grained spatial reasoning, precise object counting, and optical character recognition (OCR). Simply adding more encoders to address these gaps typically leads to "token overflow," where the LLM is overwhelmed by thousands of visual tokens, consuming the context window and slowing inference. The MouSi framework addresses this by ensembling specialized visual experts with efficient token compression and optimized positional encoding.

Methodology

The MouSi (named after the Chinese word for "poly-visual") architecture integrates a pool of diverse visual experts to provide a comprehensive understanding of visual data.

The MouSi architecture integrates multiple visual experts through a Poly-Expert Fusion Network.

Multi-Expert Pool and Fusion

MouSi selects from six pre-trained experts: CLIP (semantics), DINOv2 (robust features), LayoutLMv3 (OCR), ConvNeXt (classification), SAM (segmentation), and MAE (fine-grained perception). These experts are bridged to the LLM (Vicuna-1.5) via a Poly-Expert Fusion Network. While both Q-Formers and MLP projections were tested, the simpler MLP projection was found to be more efficient and effective.

Efficiency Optimizations

To prevent token explosion, MouSi employs m-patch-one-token compression, merging $m$ neighboring patches into a single token to reduce sequence length by factors of 2 to 8. Furthermore, the authors optimized Positional Encoding (PE). By utilizing "share-all" or 2D "share-by-row&col" schemes, they reduced positional occupancy (e.g., from 4096 tokens to 64 for SAM) without sacrificing performance, as the experts already possess internal spatial awareness.

Key Results and Insights

Experimental evaluations across nine major benchmarks (including VQAv2, GQA, and TextVQA) demonstrate the clear advantage of the multi-expert approach.

Performance comparison of MouSi against state-of-the-art VLMs and the impact of increasing the number of visual experts.
  • Synergistic Scaling: Triple-expert configurations consistently outperformed double-expert and single-expert models. A triple-expert MouSi (LayoutLMv3 + DINOv2 + CLIP) achieved an average score of 65.0, surpassing the single-expert CLIP baseline of 63.2.
  • State-of-the-Art Performance: With data enhancement (scaling to 1.2M images), MouSi outperformed mainstream models like InstructBLIP and LLaVA-1.5 on 8 out of 9 benchmarks.
  • Positional Redundancy: Reducing PE occupancy from 576 to 1 actually improved average performance by 0.8 points, suggesting that unique positional embeddings for every visual token are largely unnecessary for the LLM.
  • Expert Ordering: Performance is sensitive to the sequence of expert tokens; placing the strongest expert (CLIP) closest to the text generation yielded the best results.

Conclusion

MouSi demonstrates that ensembling specialized visual experts significantly enhances VLM capabilities while maintaining efficiency through token compression and positional encoding optimization. While running multiple encoders increases initial computational overhead, the gains in accuracy and the reduction in LLM context usage provide a compelling path forward. Future work will explore dynamic "Router" mechanisms to select experts on-the-fly and expand the framework to include audio and video modalities.

Summary updated

BibTeX
@misc{fan2024mousi,
  author = {Xiaoran Fan and Tao Ji and Changhao Jiang and Shuo Li and Senjie Jin and Sirui Song and Junke Wang and Boyang Hong and Lu Chen and Guodong Zheng and Ming Zhang and Caishuang Huang and Rui Zheng and Zhiheng Xi and Yuhao Zhou and Shihan Dou and Junjie Ye and Hang Yan and Tao Gui and Qi Zhang and Xipeng Qiu and Xuanjing Huang and Zuxuan Wu and Yu-Gang Jiang},
  title = {{MouSi: Poly-Visual-Expert Vision-Language Models}},
  year = {2024},
  eprint = {2401.17221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.17221},
}
Figure