[Paper Review] Incorporating External Knowledge to Answer Open-Domain Visual Questions with Dynamic Memory Networks
This paper proposes Knowledge-incorporated Dynamic Memory Networks (KDMN), a framework that enhances open-domain visual question answering by integrating external knowledge from knowledge graphs via dynamic memory networks. By retrieving and embedding relevant facts into a continuous memory space, the model performs multi-hop reasoning over visual and external knowledge, achieving state-of-the-art performance, especially on complex questions requiring world knowledge.
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.
Motivation & Objective
- To address the limitation of existing VQA models in answering open-domain questions that require external world knowledge beyond image content.
- To enable multi-hop reasoning over structured knowledge bases and visual inputs using a neural memory mechanism.
- To improve performance on complex visual questions—especially Who, What, and Why types—by incorporating background knowledge.
- To design a unified framework that jointly encodes visual features and knowledge graph embeddings in a dynamic memory module for reasoning.
Proposed method
- The model retrieves context-relevant knowledge triples from external knowledge bases (e.g., Freebase) using image objects and question keywords as queries.
- Retrieved knowledge triples are embedded into a continuous vector space using a knowledge embedding model to preserve entity-relation structures.
- A dynamic memory network attends to both visual features (from Faster R-CNN) and embedded knowledge facts, enabling iterative reasoning across multiple memory hops.
- The episodic memory vector is updated through attention mechanisms that weigh the relevance of visual and knowledge inputs at each step.
- Visual and knowledge representations are fused in a shared latent space, and the final answer is predicted via a soft attention mechanism over the joint representation.
- The framework supports end-to-end training with shared hyperparameters and is evaluated on both standard and custom open-domain VQA benchmarks.
Experimental results
Research questions
- RQ1Can a deep learning-based VQA system effectively answer open-domain questions that require external world knowledge beyond image content?
- RQ2How can structured knowledge from knowledge graphs be effectively integrated with visual features in a neural network architecture?
- RQ3Does the use of dynamic memory networks improve reasoning over multiple facts in visual question answering?
- RQ4To what extent does external knowledge improve performance on complex question types such as Who, What, and Why?
Key findings
- The full KDMN model achieves 66.0% average accuracy on the Visual7W dataset, a 4.0% improvement over the KDMN-NoKG baseline and 1.6% over KDMN-NoMem.
- On open-domain VQA, KDMN achieves 57.8% accuracy, a 12.7% improvement over KDMN-NoKG, with 6.8% due to external knowledge and 5.9% due to the memory mechanism.
- The model shows the largest performance gains on Who (5.9%) and What (4.9%) questions, indicating strong benefits from external knowledge for diverse, knowledge-intensive queries.
- Ensembling multiple KDMN models trained from different initializations further improves performance to 69.4% on Visual7W and 60.9% on the open-domain dataset.
- Ablation studies confirm that both the dynamic memory network and external knowledge integration are essential, with KDMN-NoMem outperforming KDMN-NoKG by 2.4%, showing the value of memory-enhanced reasoning.
- Qualitative examples demonstrate that the model successfully answers questions requiring domain knowledge, such as the function of traffic lights or dietary habits of animals, by retrieving and reasoning over external facts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.