Abstract
Visual Question Answering (VQA) has attracted much attention since it offers insight into the relationships between the multi-modal analysis of images and natural language. Most of the current algorithms are incapable of answering open-domain questions that require to perform reasoning beyond the image contents. To address this issue, we propose a novel framework which endows the model capabilities in answering more complex questions by leveraging massive external knowledge with dynamic memory networks. Specifically, the questions along with the corresponding images trigger a process to retrieve the relevant information in external knowledge bases, which are embedded into a continuous vector space by preserving the entity-relation structures. Afterwards, we employ dynamic memory networks to attend to the large body of facts in the knowledge graph and images, and then perform reasoning over these facts to generate corresponding answers. Extensive experiments demonstrate that our model not only achieves the state-of-the-art performance in the visual question answering task, but can also answer open-domain questions effectively by leveraging the external knowledge.
Introduction
Visual Question Answering (VQA) is often described as a "Visual Turing Test," yet most existing systems are essentially "closed-book" exams. They excel at identifying objects directly visible in pixels—such as identifying a giraffe—but struggle with questions requiring external context, such as "What does this animal eat?" To answer such questions, a system must move beyond the image contents and tap into world knowledge. Researchers from Tsinghua University have addressed this by proposing the Knowledge-incorporated Dynamic Memory Network (KDMN), a framework designed to bridge the gap between visual perception and common-sense reasoning.
The KDMN Framework
The KDMN framework enables open-domain reasoning by integrating massive external knowledge bases (like ConceptNet) into the VQA pipeline. The process is divided into three main stages:
- Candidate Knowledge Retrieval: The system detects visual objects using Fast-RCNN and extracts keywords from the question. It then queries ConceptNet for a subgraph of related "triples" (Subject-Verb-Object). A scoring function ranks these facts to ensure relevance and computational efficiency.
- Structure-Preserved Embedding: To bridge the gap between symbolic logic and deep learning, each knowledge triple is treated as a short phrase and encoded via a stacked LSTM. This maps structured facts into a continuous vector space shared with image and question features.
- Dynamic Memory Reasoning: The model utilizes an improved Dynamic Memory Network (DMN+) to perform multi-hop reasoning. Through an iterative attention mechanism, the model "connects the dots" between visual cues and retrieved knowledge facts to generate an informed answer.
Experimental Results
The model was evaluated on the standard Visual7W benchmark and a newly created Open-Domain VQA Dataset containing 16,850 question-answer pairs that specifically require external knowledge (e.g., "What in this image is capable of flying?").
On the Visual7W dataset, KDMN achieved a state-of-the-art accuracy of 66.0%, outperforming established models like MCB+Att (62.2%). More importantly, on the open-domain task, the full KDMN model reached 57.8% accuracy, significantly outperforming an ablated version without knowledge graph access (45.1%). This 12.7% performance gap demonstrates that the model successfully leverages external facts to solve complex queries.
Conclusion
By treating external knowledge as a dynamic memory source, the KDMN framework effectively moves VQA toward real-world utility. While challenges remain in aligning fine-grained visual attributes with knowledge graph entities, this work provides a robust foundation for multi-modal reasoning that goes beyond the pixels. Future research will focus on improving the granularity of visual-to-knowledge alignment and exploring more diverse linguistic structures.
Reference: Li, G., Su, H., & Zhu, W. (2017). Incorporating External Knowledge to Answer Open-Domain Visual Questions with Dynamic Memory Networks. arXiv:1712.00733v1 [cs.CV].
Summary updated