Weakly-Supervised Visual-Retriever-Reader for Knowledge-based Question Answering

Man Luo, Yankai Zeng, Pratyay Banerjee, Chitta Baral

Abstract

Knowledge-based Visual Question Answering (VQA) requires systems to integrate visual information with external factual knowledge. Current approaches face challenges due to inconsistent knowledge sources, format friction between structured and unstructured data, and the difficulty of cross-modal retrieval. This paper introduces a standardized natural language knowledge base and a "Visual-Retriever-Reader" pipeline that treats VQA as an open-domain text search problem. By utilizing image captions as a bridge, the proposed model achieves state-of-the-art performance on the OK-VQA benchmark.

Introduction

Knowledge-based VQA goes beyond simple object recognition. For instance, identifying a fire hydrant is insufficient to answer "What sort of vehicle uses this item?"; the system must access an external encyclopedia to link the hydrant to a "fire truck." Research in this area has been hindered by three main issues: the lack of a unified knowledge source, the complexity of mixing structured knowledge graphs with unstructured text, and the "retrieval gap" in finding relevant information from massive datasets based on visual cues.

Methodology

The authors propose a two-stage Visual Retriever-Reader pipeline, inspired by Open-Domain Question Answering (ODQA) in natural language processing.

The Visual Retriever-Reader pipeline architecture, showing the flow from image/question to knowledge retrieval and final prediction.

The Visual Retriever

The retriever searches a large corpus for relevant sentences. Three variants were evaluated:

  • BM25: A traditional keyword-matching baseline.
  • Image-DPR: A neural retriever encoding images and questions jointly using LXMERT.
  • Caption-DPR: A neural retriever that converts images into text captions before performing a BERT-based search.

The Visual Reader

The reader processes the retrieved knowledge to predict an answer. The study compared a Classification Reader (fixed answer set) and an Extraction Reader (identifying answer spans within text). Training is conducted via Weak Supervision, where any sentence containing the ground-truth answer is treated as potentially relevant.

Datasets and Knowledge Corpus

To address the lack of standardization, the authors created a new knowledge corpus using Google Search snippets related to OK-VQA training pairs. This corpus consists of approximately 112,000 training and 168,000 testing sentences in a uniform natural language format, facilitating easier integration with transformer-based models.

Results and Discussion

The best-performing pipeline, combining Caption-DPR with an Extraction Reader, achieved a state-of-the-art accuracy of 39.20% on OK-VQA.

Qualitative examples comparing the proposed model with LXMERT baselines. The use of captions and retrieved knowledge allows the model to correctly identify 'fire truck' and 'hawaii'.

Key Insights

  • Captions as a Bridge: Converting images to captions simplifies cross-modal search into a text-to-text problem, significantly improving retrieval performance.
  • Neural Retrieval Superiority: Neural retrievers (DPR) outperformed BM25, indicating that semantic understanding is vital for bridging visual scenes and factual text.
  • The Retrieval Bottleneck: "Oracle" tests (providing the exact correct sentence) yielded 59.22% accuracy, suggesting that while the "Reader" is highly capable, the primary challenge remains the "Retriever."

Conclusion

This work demonstrates the effectiveness of a retriever-reader architecture for knowledge-based VQA. While the model sets a new state-of-the-art, limitations remain, including noise in the automatically generated knowledge corpus and the reliance on weak supervision. Future research will focus on more sophisticated cross-modality retrievers and refined supervision techniques to ensure deeper understanding of the link between visual evidence and external facts.

Summary updated

BibTeX
@inproceedings{luo2021weakly,
  author = {Man Luo and Yankai Zeng and Pratyay Banerjee and Chitta Baral},
  title = {{Weakly-Supervised Visual-Retriever-Reader for Knowledge-based Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.517},
}
Figure