GME: Improving Universal Multimodal Retrieval by Multimodal LLMs

Xin Zhang, Yanzhao Zhang, Wen Xie, Mingxin Li, Ziqi Dai, Dingkun Long, Pengjun Xie, Meishan Zhang, Wenjie Li, Min Zhang · OpenReview

Abstract

Universal Multimodal Retrieval (UMR) aims to enable search across various modalities using a unified model, where queries and candidates can consist of pure text, images, or a combination of both. Previous work has attempted to adopt multimodal large language models (MLLMs) to realize UMR using only text data. However, our preliminary experiments demonstrate that more diverse multimodal training data can further unlock the potential of MLLMs. Despite its effectiveness, the existing multimodal training data is highly imbalanced in terms of modality, which motivates us to develop a training data synthesis pipeline and construct a large-scale, high-quality fused-modal training dataset. Based on the synthetic training data, we develop the General Multimodal Embedder (GME), an MLLM-based dense retriever designed for UMR. Furthermore, we construct a comprehensive UMR Benchmark (UMRB) to evaluate the effectiveness of our approach. Experimental results show that our method achieves state-of-the-art performance among existing UMR methods. Last, we provide in-depth analyses of model scaling, training strategies, and perform ablation studies on both the model and synthetic data.

Introduction

Traditional retrieval systems are often "siloed"—you have one model for text-to-text search and another for text-to-image. Universal Multimodal Retrieval (UMR) aims for a "unified field theory" of search: a single model where queries and candidates can be text, images, or a combination of both (fused-modal).

The three paradigms of retrieval: Single-modal, Cross-modal, and Fused-modal.

The challenge is twofold:

  1. Data Scarcity: While text-only and image-text pairs are abundant, high-quality "fused-modal" data (e.g., a query containing both an image and text searching for a specific document) is rare.
  2. Modality Gap: Existing models often struggle to project different modalities into a truly shared embedding space, leading to "modality clusters" where the model recognizes the format (image vs. text) better than the semantic content.

Methodology

The authors propose GME, built upon the Qwen2-VL Multimodal Large Language Model (MLLM) series.

Key Innovations:

  • Architecture: GME utilizes the final hidden state of the last token in the MLLM as the unified embedding. It incorporates task-specific instructions (e.g., "Find a screenshot relevant to the user's question") to guide the embedding process.
  • Two-Stage Contrastive Learning: The model is first trained with random negatives, followed by a second stage of "Hard Negative Mining" using the ANCE framework to refine the model's ability to distinguish between subtly different candidates.
  • Fused-Modal Data Synthesis: To solve the data gap, the authors built a "Doc2Query" style pipeline for multimodal data. They extracted Wikipedia paragraphs, used an LLM to generate queries, extracted entities, and then either retrieved images via Google or generated them using the FLUX diffusion model. This resulted in 1.1 million high-quality synthetic fused-modal pairs.

The UMRB Benchmark

The study introduces the Universal Multimodal Retrieval Benchmark (UMRB), a massive evaluation suite comprising 47 datasets across three categories:

  1. Single-modal: Text-to-Text (e.g., MSMARCO), Image-to-Image (e.g., Nights).
  2. Cross-modal: Text-to-Image (e.g., MSCOCO), Text-to-Visual Document (e.g., ViDoRe/DocVQA).
  3. Fused-modal: Queries or candidates that combine text and images (e.g., WebQA, EVQA).

For training, they used a balanced mix of 8 million instances spanning all these modalities.

Results and Discussion

GME sets a new high-water mark for multimodal retrieval. GME-Qwen2-VL-7B achieved an average score of 67.44 on the UMRB benchmark, significantly outperforming previous leaders like E5-V (42.52) and CLIP-SF (43.66). On complex tasks involving mixed text and images, GME showed massive gains, jumping from CLIP-SF's 55.65 to 73.62 on IT→IT tasks.

The "Intermingled" Embedding Space

One of the most striking findings is visualized via t-SNE plots. While models like CLIP keep image and text embeddings in separate clusters, GME's embeddings are "intermingled."

t-SNE visualization comparing embedding spaces. GME (right) shows significantly better intermingling of text, image, and fused-modal embeddings compared to baselines.

This suggests GME has achieved a higher degree of modality universality, where the semantic meaning overrides the input format. Furthermore, ablation studies showed that models trained on synthetic data (GenGoogle/GenFlux) actually outperformed those trained on the original EVQA dataset, proving that LLM-driven data synthesis can produce higher-quality training signals than some "organic" multimodal datasets.

Conclusion

GME demonstrates that MLLMs can serve as a unified backbone for searching anything with anything. While currently limited to single-image inputs and primarily optimized for English, it sets a strong foundation for future work in multi-image interleaved retrieval and multilingual UMR. The success of the synthetic data pipeline also highlights a scalable path forward for training increasingly capable multimodal models.

Summary updated

BibTeX
@inproceedings{zhang2025gme,
  author = {Xin Zhang and Yanzhao Zhang and Wen Xie and Mingxin Li and Ziqi Dai and Dingkun Long and Pengjun Xie and Meishan Zhang and Wenjie Li and Min Zhang},
  title = {{GME: Improving Universal Multimodal Retrieval by Multimodal LLMs}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00866},
}
Figure