Guided Query Refinement: Multimodal Hybrid Retrieval with Test-Time Optimization

Omri Uzan, Asaf Yehudai, roi pony, Eyal Shnarch, Ariel Gera

The Challenge of Visual Document Retrieval

Retrieving relevant information from visually complex documents—such as PDFs containing charts, tables, and intricate layouts—remains a significant hurdle for AI. Currently, the field is largely split into two paradigms:

  1. Text-centric approaches: These rely on Optical Character Recognition (OCR) to extract text, which is then fed into standard text retrievers. While fast, this method strips away crucial visual context and layout information.
  2. Vision-centric approaches: These utilize multimodal models (like ColPali) that process document pages directly as images. While highly accurate, these models have become increasingly "representation-heavy." Scaling up to massive dimensions makes them slow and expensive to deploy, with some models requiring up to 10MB of memory per page.

Furthermore, even the most advanced vision models suffer from a modality gap, struggling to perfectly map purely textual user queries to visual image patches. This raises a compelling question: Can we leverage a lightweight, traditional text retriever to "guide" a stronger vision model without incurring the massive overhead of scaling up?

Introducing Guided Query Refinement (GQR)

To bridge this gap, researchers have introduced Guided Query Refinement (GQR), a novel test-time optimization method. Unlike traditional hybrid retrieval methods that rely on coarse-grained fusion (simply averaging scores or ranks from different models), GQR operates directly at the representation level.

By iteratively "nudging" a vision-centric query embedding using signals from a text-based retriever, GQR allows smaller models to punch well above their weight class.

How GQR Works

GQR is an architecture-agnostic approach that does not require retraining the underlying models. It operates in two main stages during test time:

Overview of the Guided Query Refinement (GQR) pipeline, detailing candidate pooling and iterative query refinement.
  1. Candidate Pooling: The system first retrieves a small pool of top-K candidate documents using both a primary vision retriever and a complementary text retriever.
  2. Consensus Building: It generates a "consensus distribution"—a target probability indicating which documents are most likely relevant—by averaging the softmaxed scores from both the vision and text models.
  3. Iterative Refinement: Using gradient descent, GQR iteratively updates the query embedding of the primary vision retriever. The goal is to minimize the KL divergence between the vision model's distribution and the consensus distribution.
  4. Final Scoring: The newly refined, "text-aware" query embedding is then used to produce the final, highly accurate document ranking.

Key Insights

  • Soft Fusion via Geometry: Instead of bluntly overriding the vision model's scores, GQR filters the text model's signal through the vision model's own geometric embedding space. If the text model suggests a document that is geometrically impossible for the vision model to reconcile, the update is naturally constrained, preventing catastrophic errors.
  • Bridging the Modality Gap: Text-centric models, despite having lower overall performance on complex visual tasks, provide a strong "uni-modal" signal. This signal is highly effective at anchoring the vision model's search, particularly for text-heavy portions of a visual document.
  • Efficiency as a First-Class Citizen: GQR proves that scaling up model size isn't the only path to better performance. Intelligent, test-time interaction between two smaller, specialized models can rival or outperform a single monolithic giant.

Performance and Results

The researchers evaluated GQR using the ViDoRe (Visual Document Retrieval) benchmark suite, which covers diverse domains including biomedicine, economics, and ESG reports. The results demonstrate a massive leap in efficiency.

Performance vs. Latency trade-off, showing GQR pushing the Pareto frontier to match SOTA models at a fraction of the computational cost.
  • Massive Efficiency Gains: A Colnomic-7B model equipped with GQR successfully matched the performance of the massive LLAMA-NEMO-3B-COLEMBED (the current state-of-the-art). Remarkably, it achieved this while being 14x faster and requiring 54x less memory for storage.
  • Pushing the Pareto Frontier: As shown in the performance charts, GQR consistently pushes the Pareto frontier—the optimal trade-off curve between speed and accuracy—further than any existing hybrid or single-model approach.
  • Robust Consistency: Across nine different pairs of vision and text retrievers, GQR delivered consistent performance gains, even in scenarios where the complementary text model was significantly weaker than the primary vision model.

Limitations and Future Directions

While highly effective, GQR does come with trade-offs. Because it performs iterative optimization at test-time, it introduces a small amount of sequential latency (roughly 2ms per optimization step). While this is still drastically faster than running a massive SOTA model, it is inherently slower than a simple, one-shot retrieval pass.

Additionally, GQR's performance is sensitive to its hyperparameters: the learning rate ($\alpha$) and the number of optimization steps ($T$). Future work will likely explore dynamic learning-rate scheduling to adjust the "nudge" strength over time, as well as more complex loss functions to further refine the consensus between the guiding and primary models.

Summary updated

BibTeX
@inproceedings{uzan2026guided,
  author = {Omri Uzan and Asaf Yehudai and roi pony and Eyal Shnarch and Ariel Gera},
  title = {{Guided Query Refinement: Multimodal Hybrid Retrieval with Test-Time Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=4GRsedu43K},
}
Figure