EchoSight: Advancing Visual-Language Models with Wiki Knowledge

Yibin Yan, Weidi Xie

Abstract

Knowledge-based Visual Question Answering (KVQA) requires models to access external facts beyond visual content. Standard Visual-Language Models (VLMs) often struggle with fine-grained visual disambiguation and limited internal knowledge. We present EchoSight, a Retrieval-Augmented Generation (RAG) framework that utilizes a dual-stage "retrieve-then-rerank" strategy. By combining efficient visual similarity search with a multimodal reranker, EchoSight achieves state-of-the-art performance on E-VQA and InfoSeek benchmarks, effectively bridging the gap between raw pixels and encyclopedic knowledge.

Introduction

Standard Visual Question Answering (VQA) typically focuses on identifying objects or actions explicitly visible in an image. However, Knowledge-based VQA (KVQA) poses a greater challenge: answering questions that require external, encyclopedic facts not contained within the pixels themselves—for instance, identifying the founding year of a specific, obscure monastery.

Current state-of-the-art VLMs, such as GPT-4V or LLaVA, face two primary hurdles in this domain. First, they have a limited capacity to internalize the vast "long-tail" of human knowledge within their fixed parameters. Second, they suffer from visual ambiguity; many distinct entities (like different species of birds or similar-looking historical buildings) appear nearly identical. Without a precise mechanism to link visual attributes to specific knowledge entries, these models often hallucinate or fail to retrieve the correct context.

Methodology: The EchoSight Framework

EchoSight addresses these challenges through a novel two-stage Retrieval-Augmented Generation (RAG) mechanism designed to navigate million-scale knowledge bases like Wikipedia.

The EchoSight pipeline: Visual-only search identifies candidates, while multimodal reranking ensures the correct context is selected for the final answer.

1. Visual-only Retrieval

To handle the massive scale of the knowledge base efficiently, EchoSight first performs a similarity search. Using a frozen Eva-CLIP vision encoder, the system identifies the top-$k$ images in the database that most closely match the query image. This stage narrows down millions of possibilities to a manageable set of candidates.

2. Multimodal Reranking

The core innovation of EchoSight is the multimodal reranking stage. Because visual similarity alone is often insufficient for disambiguation, the system employs a Q-Former (from the BLIP-2 architecture) to fuse the query image and the text question into a single multimodal embedding. This embedding is then used to rerank the candidate Wikipedia sections based on their joint relevance to both the visual and textual components of the query.

A critical technical contribution here is the use of hard negative sampling during training. The reranker is specifically trained to distinguish between images that are visually similar but contextually incorrect for the specific question asked.

3. Answer Generation

The top-ranked Wikipedia section is provided as context to a Large Language Model (e.g., Mistral-7B or LLaMA-3). The LLM then generates the final answer using standard RAG techniques, ensuring the response is grounded in factual evidence.

Experimental Evaluation

The researchers evaluated EchoSight on two large-scale benchmarks:

  • Encyclopedic VQA (E-VQA): Over 1 million samples focused on fine-grained categories like animals, plants, and landmarks, utilizing a 2-million-article Wikipedia subset.
  • InfoSeek: 1.3 million visual information-seeking questions, tested against a 100k-article subset.

Key Results

EchoSight established new state-of-the-art (SOTA) results across both benchmarks:

  • E-VQA: Achieved 41.8% accuracy, significantly outperforming previous methods like Wiki-LLaVA (21.8%) and DPR (29.1%).
  • InfoSeek: Achieved 31.3% accuracy, setting a new performance ceiling.

The jump from visual-only search to multimodal reranking was particularly striking. On E-VQA, Recall@1 improved from 13.3% to 36.5% with the addition of the reranking stage. Furthermore, the framework proved to be LLM-agnostic, maintaining stable performance across various models (GPT-4, PaLM, Mistral, LLaMA), which suggests the primary bottleneck in KVQA is retrieval rather than reasoning.

Conclusion

EchoSight demonstrates that the key to solving knowledge-intensive visual tasks lies in sophisticated retrieval mechanisms. By effectively disambiguating visually similar entities through multimodal reranking, the framework allows even mid-sized LLMs to answer complex factual questions with high precision. Future work will focus on reducing the computational latency of the reranking stage and expanding the system's reach into specialized technical domains.

Summary updated

BibTeX
@inproceedings{yan2024echosight,
  author = {Yibin Yan and Weidi Xie},
  title = {{EchoSight: Advancing Visual-Language Models with Wiki Knowledge}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.83},
}
Figure