Guided Query Refinement: Multimodal Hybrid Retrieval with Test-Time Optimization
Omri Uzan, Asaf Yehudai, Roi pony, Eyal Shnarch, Ariel Gera
TL;DR
This work tackles the efficiency-performance gap in multimodal visual document retrieval by proposing Guided Query Refinement (GQR), a test-time optimization that refines a primary retriever's query embedding using guidance from a complementary retriever. By operating within the primary retriever's embedding space and computing a KL-based learning signal from a union candidate pool, GQR achieves consistent improvements over base models and surpasses traditional hybrid fusion methods in both accuracy and resource usage. Extensive experiments on ViDoRe benchmarks demonstrate notable latency and memory savings (up to ~14x faster and ~54x less memory) while maintaining strong retrieval performance, effectively expanding the Pareto frontier for multimodal retrieval. The work also analyzes design choices, hyperparameters, and efficiency tradeoffs, providing practical guidance for deploying test-time hybrid retrieval systems.
Abstract
Multimodal encoders have pushed the boundaries of visual document retrieval, matching textual query tokens directly to image patches and achieving state-of-the-art performance on public benchmarks. Recent models relying on this paradigm have massively scaled the sizes of their query and document representations, presenting obstacles to deployment and scalability in real-world pipelines. Furthermore, purely vision-centric approaches may be constrained by the inherent modality gap still exhibited by modern vision-language models. In this work, we connect these challenges to the paradigm of hybrid retrieval, investigating whether a lightweight dense text retriever can enhance a stronger vision-centric model. Existing hybrid methods, which rely on coarse-grained fusion of ranks or scores, fail to exploit the rich interactions within each model's representation space. To address this, we introduce Guided Query Refinement (GQR), a novel test-time optimization method that refines a primary retriever's query embedding using guidance from a complementary retriever's scores. Through extensive experiments on visual document retrieval benchmarks, we demonstrate that GQR allows vision-centric models to match the performance of models with significantly larger representations, while being up to 14x faster and requiring 54x less memory. Our findings show that GQR effectively pushes the Pareto frontier for performance and efficiency in multimodal retrieval. We release our code at https://github.com/IBM/test-time-hybrid-retrieval
