TL;DR
RoRA-VLM introduces a robust retrieval-augmented framework tailored for Vision-Language Models (VLMs) on knowledge-intensive visual question answering (VQA). By combining an image-anchored two-stage retrieval process with noise-injected training and visual token refinement, a 7B LLaVA-based model achieves state-of-the-art results across major benchmarks, consistently outperforming models up to 8× its size.
What Problem Does This Paper Address?
While modern VLMs excel at general visual perception (e.g., recognizing that an image contains a building or a bird), they often fail on knowledge-intensive VQA—such as asking "Who designed the tallest building in this picture?" or "What is the closest parent taxonomy of this bird?" It is infeasible to encode all dynamic real-world facts directly into model parameters.
Bringing Retrieval-Augmented Generation (RAG) to the vision-language domain introduces two major hurdles:
- Modality Discrepancy: Questions frequently contain anaphoric references (e.g., "this building"), which makes text-only search ineffective without visual context, while image search alone lacks the explicit user intent.
- Information Noise: Multimodal retrievers are imprecise (Recall@1 is often below 20%). Irrelevant retrieved passages, mismatched entities, and distracting background elements in retrieved images easily derail the model's reasoning.
Methods
To tackle these challenges, the authors propose RoRA-VLM, which is built on LLaVA-1.5 (7B) and includes:
- Image-Anchored Textual-Query Expansion (Two-Stage Retrieval):
- Stage 1: The query image serves as a visual anchor to retrieve visually similar candidate images from a dense index of Wikipedia-based image-text pairs (WIT).
- Stage 2: The entity names and descriptions of retrieved images are extracted to resolve anaphoric ambiguities in the original question. A web search engine (Google Search via Serper) then retrieves highly specific textual knowledge passages using the expanded query.
- Query-Oriented Visual Token Refinement:
- Standard ViT encoders generate hundreds of patch tokens (576 tokens per image).
- To prune query-irrelevant visual clutter, the model calculates cosine similarity between image patch embeddings and the CLIP text query embedding, retaining only the top $m=144$ most relevant visual tokens. For retrieved images, it keeps patches most similar to the query image's selected patches.
- Adversarial Noise Injection:
- During training, the model is fed top retrieved snippets alongside intentionally injected, randomly sampled mismatched entity snippets (noise). This teaches the VLM to compare visual cues between the query and retrieved images and ignore non-matching textual knowledge.
- Knowledge-Intensive Pre-training:
- Pre-trained on 1 million entity-rich webpage image-text instances (WikiWeb2M) to better map fine-grained visual appearances to background knowledge.
Datasets
- Pre-training: WikiWeb2M (curated 1 million entity-rich image-text-title instances).
- Evaluation Benchmarks:
- OVEN (Open-domain Visual Entity Recognition): Grounding images to over 6 million Wikipedia entities.
- InfoSeek: Large-scale knowledge-seeking VQA requiring deep factual web knowledge.
- Encyclopedic-VQA (Enc-VQA): Questions about detailed properties of fine-grained categories (including an iNaturalist subset used for out-of-domain evaluation).
- Note: No new datasets were introduced; the authors relied on existing standardized benchmarks.
Key Insights and Ideas
- Multimodal Cues Enable Noise Rejection: Text-only RAG degrades significantly compared to full multimodal RAG (Table 2: 17.29% vs. 24.56% on InfoSeek Entity). Without seeing the retrieved image alongside the passage, the LLM cannot visually verify whether the retrieved text discusses the exact entity present in the query image.
- Visual Token Pruning Boosts Accuracy: Pruning 576 tokens down to 144 using query-based CLIP similarity outperforms conventional spatial average pooling (24.56% vs. 23.94%), showing that background noise in images acts as a real distractor for VLMs.
- Resilience to Noisy Retrieval: Even when two out of three retrieved snippets were replaced with adversarial random distractors, RoRA-VLM’s performance dropped by less than 1% on InfoSeek, showing that noise-injected training successfully teaches the model selective attention.
Key Results
- Beating Massive Baselines with 7B Parameters:
- On InfoSeek, RoRA-VLM achieves 25.10% (Entity) and 27.34% (Query), outperforming PaLI-X 55B (20.80% / 23.50%) and Wiki-LLaVA (21.44% / 23.68%).
- On OVEN, it achieves 15.08% on the Entity split, beating Wiki-LLaVA (14.43%) and PaLI-17B (12.40%).
- On Enc-VQA, it scores 20.29%, compared to LLaVA-v1.6 (13.54%) and Wiki-LLaVA (18.61%).
- Zero-Shot Domain Transfer: When trained on non-insect categories and evaluated strictly on unseen "Insect" categories in Enc-VQA, RoRA-VLM scored 20.26%, surpassing the fully supervised LLaVA-1.5 baseline (18.23%).
- Retrieval Gain: The two-stage expansion improved retrieval precision by up to 11.52% compared to standard single-stage image-only retrieval.
Limitations and Future Work
- Visual Perception Trade-offs: On tasks requiring general perception rather than external knowledge (e.g., the OVEN Query subset), RoRA-VLM (24.06%) was slightly outpaced by LLaVA-1.6 (24.55%), which benefits from higher-resolution image partitioning.
- Reliance on Commercial Search: The second retrieval phase relies on Google Search via an external API (Serper), which limits deployment in purely offline or latency-critical production environments.
- Context Length Constraints: Fixed sequence truncation (at 400 tokens per passage) and bounding retrieved images to top-$k=3$ were necessary to fit within standard LLM context windows, though the authors demonstrated most critical entities appear early in retrieved text.
Summary updated