Abstract
Visual Document Retrieval (VDR) has emerged as a promising alternative to traditional OCR-based pipelines by treating document pages as multimodal images. This study provides a comprehensive evaluation of the state-of-the-art ColPali model, exploring its reproducibility, replicability across different backbones, and the underlying mechanisms of its success. Our findings confirm that late interaction is essential for high-performance retrieval, with the proposed ColQwen2 model achieving a new state-of-the-art of 87.7 nDCG@5. Furthermore, we demonstrate that VDR is more robust to scaling than OCR-based methods and operates through a form of "abstract lexical matching" between text queries and visual patches.
Introduction
For decades, searching through PDFs and scanned documents has relied on a "text-first" pipeline: using Optical Character Recognition (OCR) to convert pixels into text before indexing. However, this process is inherently brittle, often failing on complex layouts, tables, and charts. Visual Document Retrieval (VDR) sidesteps these issues by processing document pages directly as images. This paper investigates the robustness of this paradigm, specifically focusing on the ColPali model and its "late interaction" mechanism, which matches query tokens to individual image patches.
Methodology
The research was structured around three core objectives:
- Reproduction: Re-training the original PaliGemma-based ColPali model to verify reported results.
- Replicability: Implementing the late interaction architecture on a different backbone, Qwen2-VL, resulting in the ColQwen2 model.
- Architecture Comparison: Evaluating "multi-vector" late interaction models against "single-vector" models to quantify the impact of embedding compression.
- Visual Analysis: Utilizing statistical tests to identify visual traits (e.g., text density, figure presence) that influence retrieval success.
The study utilized the ViDoRe benchmark and expanded datasets like ArXivQA and Health to 100,000 documents to test large-scale performance.
Key Insights: The Power of Late Interaction
The most significant finding is that late interaction—the ability to match query tokens directly to specific image patches—is non-negotiable for high-quality retrieval. Moving from a single-vector representation to late interaction improved performance by over 25 points in nDCG@5, as compression significantly degrades retrieval quality in VDR.
This mechanism enables what the authors term "Abstract Lexical Matching." Unlike traditional keyword search, VDR models match query tokens not just to the exact pixels of a word, but to surrounding patches and visually similar tokens, providing a context-aware form of matching that generalizes across modalities.
Results and Scaling
The reproduction effort was successful, with the re-trained ColPali achieving 83.0 nDCG@5 (compared to the original 84.8). The new ColQwen2 model set a new benchmark at 87.7 nDCG@5, proving that stronger vision-language backbones directly translate to better retrieval performance.
VDR also proved more robust to scale than OCR-based methods. As document collections grew from 500 to 10,000, OCR-based retrieval effectiveness dropped by 21%, whereas VDR only saw a 17% decrease. On the figure-rich ArXivQA dataset, VDR models outperformed the best OCR-based text models (e.g., BGE-M3) by a staggering margin of 86.0 vs 40.7 nDCG@5.
Conclusion and Future Directions
While VDR offers superior performance on complex documents, it comes with an "efficiency tax." Late interaction requires storing thousands of vectors per page, leading to higher storage requirements and slower inference compared to single-vector models. Future work must address this overhead without sacrificing the performance gains of late interaction. Additionally, the potential for "pixel poisoning" adversarial attacks remains a critical security concern for image-based retrieval systems.
Summary updated