Precision Empowers, Excess Distracts: Visual Question Answering With Dynamically Infused Knowledge In Language Models
Manas Jhalani, Annervaz K M, Pushpak Bhattacharyya
TL;DR
This work tackles KBVQA by dynamically extracting external knowledge from graphs to accompany images and questions. It introduces a dynamic triple-filtering module that selects a variable number of 2-hop triples based on similarity, feeding them into an OFA vision-language transformer for answer generation. Empirical results show average improvements of about 4.75% across KVQA, FVQA, and CRIC-VQA, with ablations confirming the advantage of dynamic over fixed-context triples and demonstrations of cross-domain generalization and benefit to large multimodal LLMs like LLAVA. The approach reduces noise, enhances reasoning, and demonstrates practical impact for real-time, user-centric VQA tasks, while outlining avenues for future end-to-end training and explainability.
Abstract
In the realm of multimodal tasks, Visual Question Answering (VQA) plays a crucial role by addressing natural language questions grounded in visual content. Knowledge-Based Visual Question Answering (KBVQA) advances this concept by adding external knowledge along with images to respond to questions. We introduce an approach for KBVQA, augmenting the existing vision-language transformer encoder-decoder (OFA) model. Our main contribution involves enhancing questions by incorporating relevant external knowledge extracted from knowledge graphs, using a dynamic triple extraction method. We supply a flexible number of triples from the knowledge graph as context, tailored to meet the requirements for answering the question. Our model, enriched with knowledge, demonstrates an average improvement of 4.75\% in Exact Match Score over the state-of-the-art on three different KBVQA datasets. Through experiments and analysis, we demonstrate that furnishing variable triples for each question improves the reasoning capabilities of the language model in contrast to supplying a fixed number of triples. This is illustrated even for recent large language models. Additionally, we highlight the model's generalization capability by showcasing its SOTA-beating performance on a small dataset, achieved through straightforward fine-tuning.
