Abstract
The rapid advancement of unsupervised representation learning and large-scale pre-trained vision-language models has significantly improved cross-modal retrieval tasks. However, existing multi-modal information retrieval (MMIR) studies lack a comprehensive exploration of document-level retrieval and suffer from the absence of cross-domain datasets at this granularity. To address this limitation, we introduce DocMMIR, a novel multi-modal document retrieval framework designed explicitly to unify diverse document formats and domains—including Wikipedia articles, scientific papers (arXiv), and presentation slides—within a comprehensive retrieval scenario. We construct a large-scale cross-domain multi-modal benchmark, comprising 450K samples which systematically integrates textual and visual information. Our comprehensive experimental analysis reveals substantial limitations in current state-of-the-art MLLMs (CLIP, BLIP2, SigLIP-2, ALIGN) when applied to our tasks, with only CLIP demonstrating reasonable zero-shot performance. Furthermore, we conduct a systematic investigation of training strategies, including cross-modal fusion methods and loss functions, and develop a tailored approach to train CLIP on our benchmark. This results in a +31% improvement in MRR@10 compared to the zero-shot baseline.
Introduction
Most current Multi-Modal Information Retrieval (MMIR) systems are "snippet-centric," excelling at matching single captions to single images but struggling with the complexity of entire documents. Real-world documents, such as scientific papers or slide decks, contain intricate layouts where text, figures, and tables are interleaved across multiple pages. Existing benchmarks often focus on narrow domains or ignore the holistic document context. DocMMIR addresses this gap by providing a framework and benchmark for retrieving entire multi-modal documents based on high-level queries.
The DocMMIR Framework
The DocMMIR framework treats diverse document formats as a standardized data structure. It utilizes a dual-encoder architecture: one encoder processes the user's text query, while the other processes the multi-modal document.
To handle multi-modal content, the system concatenates all text segments into a single sequence for encoding. Simultaneously, it encodes every image in the document independently and calculates their mean embedding. For fusion, the authors found that a simple weighted-sum approach—combining text and image embeddings with a tunable hyperparameter—outperformed more complex learnable layers. Training is optimized using a symmetric batch-wise binary cross-entropy (BCE) loss, which provides greater stability than standard InfoNCE loss for document-level alignment.
The DocMMIR Benchmark
The core of this work is the DocMMIR Benchmark, a large-scale, cross-domain dataset designed to test retrieval robustness across different document styles. It comprises 450K training samples and nearly 20K validation/test samples curated from three distinct sources: Wikipedia (entity-dense), arXiv (technical/scientific), and Slideshare (visual-heavy).
This variety forces models to learn different "modal balances." For instance, Wikipedia retrieval relies heavily on coherent text, while Slideshare requires the model to extract meaning from fragmented OCR text and visual cues.
Key Insights and Results
Experimental results highlight a significant "Zero-Shot Failure" among modern models. Off-the-shelf state-of-the-art (SOTA) models like SigLIP-2 and ALIGN performed poorly on whole-document retrieval, with only CLIP (ViT-L/14) showing baseline competence.
Fine-tuning CLIP on the DocMMIR dataset resulted in a +31% improvement in MRR@10 compared to the zero-shot baseline, reaching an overall MRR@10 of 0.6993. Interestingly, models trained on Wikipedia data generalized significantly better to other domains, suggesting that Wikipedia’s rich, coherent text acts as a catalyst for learning transferable semantic features. While text remains the dominant signal, incorporating visual features provided critical marginal gains, particularly in text-sparse domains like presentation slides.
Conclusion
While DocMMIR represents a major step forward, challenges remain. Current late-fusion strategies ignore the spatial relationships between text and images on a page. Future work will explore layout-aware models that can interpret document structures more natively. Additionally, while LLM-generated queries (using Qwen2.5-VL) allowed for massive scaling, future iterations will aim to incorporate more diverse, human-centric search patterns to further bridge the gap between AI benchmarks and real-world information retrieval.
Summary updated