Abstract
Current vision-language models (VLMs) still exhibit inferior performance on knowledge-intensive tasks, primarily due to the challenge of accurately encoding all the associations between visual objects and scenes to their corresponding entities and background knowledge. While retrieval augmentation methods offer an efficient way to integrate external knowledge, extending them to vision-language domain presents unique challenges in (1) precisely retrieving relevant information from external sources due to the inherent discrepancy within the multimodal queries, and (2) being resilient to the irrelevant, extraneous and noisy information contained in the retrieved multimodal knowledge snippets. In this work, we introduce RORA-VLM, a novel and robust retrieval augmentation framework specifically tailored for VLMs, with two key innovations: (1) a 2-stage retrieval process with image-anchored textual-query expansion to synergistically combine the visual and textual information in the query and retrieve the most relevant multimodal knowledge snippets; and (2) a robust retrieval augmentation method that strengthens the resilience of VLMs against irrelevant information in the retrieved multimodal knowledge by injecting adversarial noises into the retrieval-augmented training process, and filters out extraneous visual information, such as unrelated entities presented in images, via a query-oriented visual token refinement strategy. We conduct extensive experiments to validate the effectiveness and robustness of our proposed methods on three widely adopted benchmark datasets. Our results demonstrate that with a minimal amount of training instance, RORA-VLM enables the base model to achieve significant performance improvement and constantly outperform state-of-the-art retrieval-augmented VLMs on all benchmarks while also exhibiting a novel zero-shot domain transfer capability.
Introduction
Modern Vision-Language Models (VLMs) like LLaVA or GPT-4o excel at general visual description but often struggle with knowledge-intensive tasks. For instance, answering "Who designed the tallest building in this picture?" requires the model to ground the visual object (the building) and then retrieve external factual knowledge not necessarily stored in its parameters.
The authors identify two primary hurdles in current Retrieval-Augmented Generation (RAG) for vision:
- Modality Discrepancy: Formulating precise search queries using both an image and a vague text prompt is difficult.
- Information Noise: Retrieved content often contains irrelevant text or distracting background objects in images, leading to hallucinations.
Methodology
The RoRA-VLM framework introduces three core innovations to address these challenges:
Image-anchored Textual-query Expansion
To bridge the modality gap, RoRA-VLM uses a two-stage retrieval process. In the first stage, the query image acts as an "anchor" to find visually similar images in a database (e.g., WIT), from which entity names and descriptions are extracted. In the second stage, these names expand the original text query for a targeted search engine query (e.g., Google Search), resulting in deep, factual background knowledge.
Adversarial Noise Injection
During fine-tuning, the model is intentionally exposed to "wrong" retrieved snippets alongside correct ones. This adversarial training forces the model to distinguish between relevant evidence and distracting noise, improving reliability in real-world scenarios.
Query-oriented Visual Token Refinement
RoRA-VLM filters image patches (tokens) based on the text query, retaining only the $M$ patches most relevant to the question. This allows the model to ignore background clutter and focus on the subject of interest.
Experimental Results
The model was evaluated on three major benchmarks: OVEN (Open-domain Visual Entity Grounding), InfoSeek, and Encyclopedic-VQA (Enc-VQA).
Key findings include:
- Performance Gains: RoRA-VLM achieved up to a 14.36% accuracy improvement over baseline models and consistently outperformed Wiki-LLaVA.
- Parameter Efficiency: A 7B parameter model (LLaVA-v1.5) with RoRA-VLM outperformed much larger 17B and 55B models (like PaLI-X), suggesting that efficient external knowledge access is more critical than raw parameter count.
- Robustness: The adversarial noise injection was crucial for handling messy web search results.
- Zero-Shot Transfer: The framework demonstrated a novel zero-shot domain transfer capability, significantly outperforming baselines on unseen domains like "Insects."
Conclusion and Limitations
RoRA-VLM significantly enhances VLM performance on knowledge-intensive tasks through robust retrieval and noise-resilient training. However, limitations remain, such as potential information loss due to snippet truncation (400 tokens) and increased inference latency from the two-stage retrieval and live search. Additionally, while optimized for knowledge tasks, standard high-resolution models may still hold an edge in raw perceptual detail tasks.
Summary updated