TL;DR
MIRAGE introduces a hierarchical decomposition framework ("1+M+N Mode") for multi-vector image retrieval in multimodal RAG systems. By adaptively matching text sub-queries to image segments across multiple granularities and applying three runtime scheduling optimizations, it doubles the accuracy gains of traditional multi-vector retrieval while slashing computational overhead by up to 3.5×.
What Problem Does This Paper Address?
Retrieval-Augmented Generation (RAG) is essential for anchoring Large Language Models (LLMs) in user-specific data. When extended to multimodal systems (like image retrieval), standard "single-vector" methods compress an entire image and query into one embedding. This "1 Mode" approach is fast but loses fine-grained details, leading to poor accuracy for complex scenes.
To fix this, recent state-of-the-art Multi-Vector Retrieval (MVR) methods decompose queries into sub-queries and segment images into $N$ patches (the "1+N Mode"). However, MVR hits two major roadblocks:
- Granularity Misalignment: A fixed patch size ($N$) rarely fits every object in an image. Small objects get fragmented across patches, while large objects get awkwardly merged with the background.
- High Computational Cost: Matching every sub-query against every single image patch across a massive database explodes the number of similarity calculations required, making it too slow for practical deployment.
MIRAGE addresses this accuracy-efficiency dilemma by rethinking how we decompose and schedule multi-vector image retrieval.
Methods
MIRAGE replaces the rigid "1+N" paradigm with a flexible "1+M+N" Hierarchical Decomposition framework.
Instead of choosing a single patch size, images are segmented into a hierarchy of multiple granularities (e.g., coarse $M_1=4$, medium $M_2=9$, fine $N=25$). Sub-queries are then matched across these levels, allowing a large object like a "chair" to settle at a coarse granularity while a small object like a "keyboard" resolves at a finer level.
To counteract the added computational weight of checking multiple layers, the authors introduce three core scheduling optimizations:
- Low-Similarity Tail Pruning: Coarse-grained rounds are highly effective at identifying completely irrelevant images. MIRAGE tracks image rankings across iterations and aggressively prunes low-ranking candidates early on, saving expensive fine-grained calculations for only the top contenders.
- Hierarchy Depth Optimization (Early Exit): Not every query requires pixel-perfect fine-grained analysis. MIRAGE monitors the stability of the top-$k$ retrieved list between layers using Kendall’s $\tau$ coefficient. Once the ranking stabilizes, the system triggers an early exit.
- Hollow Hierarchy Elimination: Some intermediate layers provide redundant information that adjacent layers already capture. MIRAGE uses an offline validation step to identify and completely skip these "hollow" layers.
Finally, an Automated Configuration algorithm uses a latency-guided grid search to automatically tune these parameters ($\alpha, T, \tau$) for any given dataset, ensuring the system balances accuracy and speed without manual intervention.
Datasets
The authors evaluated MIRAGE on four standard text-image retrieval benchmarks:
- CREPE: 1K images, highly complex compositional queries.
- MSCOCO: A randomly sampled 40K image subset of the popular common objects dataset.
- NoCaps: 2K images evaluating novel object captioning/retrieval.
- Flickr: 2K images from the Flickr30k dataset.
For all datasets, image captions were treated as the target queries, and the goal was to retrieve the exact corresponding image.
Key Insights and Ideas
- More Layers Can Mean Less Work: Counter-intuitively, adding intermediate granularities ($M$) creates an optimization space. Because coarse layers preserve enough macro-information, they act as highly efficient filters to eliminate the "long tail" of irrelevant images before fine-grained matching happens.
- Pruning as a Denoiser: In visually complex datasets like CREPE, pruning low-similarity images actually improved final retrieval accuracy. This suggests that fine-grained matching on irrelevant images introduces semantic noise that can skew final rankings.
- Rank Stability is a Reliable Trigger: Using Kendall’s $\tau$ to measure rank correlation between consecutive layers proved to be a highly stable and reliable mathematical indicator for early-exiting, preventing unnecessary deep traversals.
Key Results
MIRAGE consistently outperformed both vanilla dense retrieval and the state-of-the-art MVR baseline (POQD):
- Speedup: MIRAGE achieved up to a 3.5× increase in Queries Per Second (QPS) compared to POQD, bringing multi-vector retrieval performance remarkably close to single-vector efficiency.
- Accuracy: It achieved the highest retrieval accuracy (measured via NDCG@10) across all datasets. For instance, on the complex CREPE dataset, MIRAGE hit an NDCG@10 of 72.83, compared to POQD's 71.62 and Vanilla's 65.11.
- Ablation Efficiency: Introducing Hollow Hierarchy Elimination doubled throughput with virtually zero accuracy loss, while adding Tail Pruning boosted throughput by nearly 7×.
Limitations and Future Work
The primary limitation of MIRAGE is its reliance on an offline profiling phase. The automated configuration and hollow hierarchy elimination algorithms require a validation query split and take tens of minutes to run. While this is perfectly acceptable for static or slow-changing image databases (like product catalogs or archival search), it may pose challenges for highly dynamic real-time streaming databases where data distributions shift rapidly.
The authors suggest that future work will focus on tighter integration with downstream multimodal LLM agents and exploring broader application-specific optimizations.
Summary updated