TL;DR
The paper introduces the General Multimodal Embedder (GME), a unified dense retrieval model based on Multimodal Large Language Models (MLLMs) that can search across text, images, and blended text-image inputs. To train it, the authors developed a novel pipeline to synthesize over 1 million high-quality text-image training pairs and compiled a massive 47-dataset evaluation benchmark (UMRB). GME achieves state-of-the-art performance, proving that a single model can excel at text, image, and complex visual document retrieval simultaneously.
What Problem Does This Paper Address?
Traditional search engines excel at matching text to text, while cross-modal retrievers (like CLIP) match text to images. However, real-world search is increasingly messy. In Universal Multimodal Retrieval (UMR), a query could be an image of a car with the text "What's the max torque on this car?", and the ideal candidate might be a screenshot of a technical PDF containing both text and diagrams.
Existing approaches fall short in two major ways:
- Modality Isolation: Models often project different modalities into separate sub-spaces rather than a truly unified embedding space.
- Data Scarcity: High-quality "fused-modal" data (inputs containing both text and images) is incredibly rare and highly imbalanced compared to standard text or image datasets.
This paper tackles these challenges by creating a truly universal embedding model capable of handling any combination of text and image inputs.
Methods
The authors present GME (General Multimodal Embedder), which leverages the Qwen2-VL MLLM series as its backbone.
Key methodological components include:
- Dense Representation: GME takes text, images, or image-text pairs alongside a task-specific instruction and uses the final hidden state of the last token (
[EOS]) as the unified embedding vector. - Two-Stage Contrastive Learning: The model is first trained using standard random negative samples, followed by a second stage of training using mined "hard negatives" to sharpen its retrieval accuracy.
- Fused-Modal Data Synthesis: To fix the data scarcity problem, the authors built an automated pipeline using Qwen2.5-72B-Instruct and image generation/retrieval tools.
The pipeline works by taking Wikipedia paragraphs, generating a natural query (Doc2Query), extracting the core entity, rewriting the query to be abstract (e.g., replacing "Iris pseudacorus" with "this plant"), and then pairing it with an image sourced via Google Image Search or generated via FLUX. Finally, a CLIP-based filter removes low-relevance pairs.
Datasets
GME was trained on a diverse mixture of 8 million instances:
- Single-modal: 1M text pairs (MSMARCO, NQ, etc.) and 1M image pairs (ImageNet).
- Cross-modal: 2M text-image/text-visual document pairs (LAION, MSCOCO, Docmatix).
- Fused-modal: 2M pairs (1.1M synthesized via their pipeline, 900k from M-BEIR).
For evaluation, the authors compiled the Universal Multimodal Retrieval Benchmark (UMRB), consisting of 47 datasets categorized into single-modal (e.g., BEIR), cross-modal, and fused-modal tasks. They also utilized a subset called UMRB-Partial for rapid ablation testing.
Key Insights and Ideas
- Data Diversity Unlocks MLLM Potential: Training on single-modality data restricts the model's capabilities. A balanced mixture of all retrieval types (text, image, cross, and fused) yields the best overall performance across the board.
- True Modality Universality: t-SNE visualizations reveal that while CLIP separates text and images into distinct clusters, GME successfully intermingles modalities based on their actual semantic meaning.
- Synthetic Data Outperforms Real Data: In ablation studies, models trained on the synthesized datasets (using FLUX or Google images) actually outperformed models trained on human-annotated datasets like EVQA, proving the viability of LLM-driven data engines.
- Linear Performance Scaling: The authors observed a clean, near-linear improvement in average retrieval performance as the number of training instances scaled up to 8 million.
Key Results
GME sets a new state-of-the-art standard for universal retrieval:
- Overall Performance: On the UMRB benchmark, GME-Qwen2-VL-7B achieved an average score of 67.44, drastically outperforming previous UMR models like VISTA (37.32) and E5-V (42.52).
- Visual Document Retrieval: On the ViDoRe benchmark (which tests page-level screenshot retrieval), GME-7B scored 89.92 NDCG@5, surpassing specialized document retrieval models like ColPali (81.3) and DSE (78.21).
- Text Retention: Unlike many multimodal models that sacrifice text-to-text accuracy, GME maintained highly competitive performance on the standard text-only BEIR benchmark.
Limitations and Future Work
The authors note two primary limitations:
- Single Image Limit: Due to the massive number of visual tokens generated per image (capped at 1,024 for efficiency), the current framework only supports queries and candidates containing a single image. It cannot handle interleaved documents with multiple images.
- Language Constraint: While the underlying Qwen2-VL model is multilingual, GME was exclusively trained and evaluated on English data.
Future work will focus on extending the model to support longer training periods, multi-image interleaved inputs, and multilingual retrieval capabilities.
Summary updated