FilterRAG: Zero-Shot Informed Retrieval-Augmented Generation to Mitigate Hallucinations in VQA
Nobin Sarwar
TL;DR
FilterRAG addresses hallucinations in Visual Question Answering by grounding responses in external knowledge sources through a Retrieval-Augmented Generation framework built on BLIP-VQA and a frozen GPT-Neo 1.3B generator. By dividing images into patches, retrieving relevant content from Wikipedia and DBpedia, and integrating this knowledge into answer generation, the approach improves grounding and robustness, particularly in Out-of-Distribution scenarios. The probabilistic formulation $P_{\text{RAG}}(\hat{A}) \approx \prod_{i} \sum_{z \in \text{top-k}(p_\eta(\cdot \mid I, Q))} p_\eta(z \mid I, Q) p_\theta(a_i \mid I, Q, z, a_{1:i-1})$ encapsulates how retrieved knowledge shapes the final answer. Experiments on OK-VQA show the method achieves 36.5% accuracy (ID+OOD) with noticeable reductions in hallucinations, demonstrating practical potential for knowledge-grounded VQA in real-world deployments.
Abstract
Visual Question Answering requires models to generate accurate answers by integrating visual and textual understanding. However, VQA models still struggle with hallucinations, producing convincing but incorrect answers, particularly in knowledge-driven and Out-of-Distribution scenarios. We introduce FilterRAG, a retrieval-augmented framework that combines BLIP-VQA with Retrieval-Augmented Generation to ground answers in external knowledge sources like Wikipedia and DBpedia. FilterRAG achieves 36.5% accuracy on the OK-VQA dataset, demonstrating its effectiveness in reducing hallucinations and improving robustness in both in-domain and Out-of-Distribution settings. These findings highlight the potential of FilterRAG to improve Visual Question Answering systems for real-world deployment.
