Abstract
Traditional Visual Question Answering (VQA) systems often function as "black boxes," relying on statistical patterns within training data rather than explicit reasoning. This paper introduces Ahab, a VQA framework that integrates external, structured knowledge from DBpedia to answer complex queries. By mapping visual concepts to a formal knowledge base (KB), Ahab performs traceable reasoning, allowing it to answer questions requiring world knowledge that standard models cannot. Our results on the KB-VQA dataset demonstrate that Ahab significantly outperforms LSTM-based baselines, particularly in categories requiring specific factual knowledge.
Introduction
Most current VQA systems utilize a combination of Convolutional Neural Networks (CNNs) for image processing and Long Short-Term Memory (LSTM) networks for language understanding. While effective for simple visual queries (e.g., "What color is the car?"), these models suffer from two primary limitations: a lack of external knowledge and a lack of explainability. They cannot reason about facts not explicitly present in their training sets, nor can they explain the logic behind their answers.
The authors address these gaps by proposing a system that performs explicit reasoning over a large-scale Knowledge Base. This approach moves VQA from simple pattern matching toward a more human-like cognitive process involving identification, knowledge retrieval, and logical deduction.
The Ahab Pipeline
Ahab processes questions through a multi-stage pipeline designed to link visual data with structured facts. The process begins with Visual Concept Extraction, where multiple CNNs identify objects, scenes, and attributes. These are then organized into an RDF Graph, representing the image's content as a set of triples (e.g., Image -> contains -> Giraffe).
Crucially, these visual concepts are linked to DBpedia entities. When a question is asked, it is parsed into a template that extracts the query's intent. This is converted into a SPARQL query, which traverses the KB to find relationships. For example, to determine if an animal is a herbivore, the system finds a path in the KB connecting the detected object (e.g., KB:Giraffe) to the category KB:Herbivorous_animals. This structured approach allows Ahab to provide a "logical reason" for its answer, such as the specific taxonomic path used to reach the conclusion.
The KB-VQA Dataset
To evaluate the system, the authors developed the KB-VQA dataset, consisting of 2,402 questions based on 700 images from MS-COCO. Questions are categorized by the depth of knowledge required:
- Visual: Answerable via direct pixel observation.
- Common-sense: Requires basic world knowledge (e.g., identifying road vehicles).
- KB-knowledge: Requires specific, structured facts (e.g., "When was this appliance invented?").
Experimental Results
Ahab was compared against a standard CNN+LSTM baseline using human evaluation. Overall, Ahab achieved 69.6% accuracy, a substantial improvement over the LSTM's 44.5%.
As shown in the performance metrics, the LSTM baseline's accuracy drops sharply as the requirement for external knowledge increases, often scoring near 0% on specific KB-knowledge templates. In contrast, Ahab maintains high accuracy across these categories. Furthermore, human evaluators found Ahab's logical explanations to be correct in over 80% of cases, validating the system's reasoning capabilities.
Conclusion and Future Work
Ahab demonstrates the power of explicit reasoning in VQA, offering both improved accuracy on complex questions and a high degree of transparency. While the system currently relies on manual question templates and is limited by the accuracy of its initial visual detections, it represents a significant step toward zero-shot VQA. Future work will focus on more flexible natural language parsing and the integration of even broader knowledge sources to reduce reliance on rigid templates.
Summary updated