Explicit Knowledge Incorporation for Visual Reasoning

Yifeng Zhang, Ming Jiang, Qi ZhaoCVPR 2021

Abstract

Visual Question Answering (VQA) systems frequently struggle when the information needed to answer a question is not directly visible in the image pixels. This paper introduces a novel framework designed to "fill in the blanks" by explicitly integrating external commonsense knowledge into scene graphs. By employing a Knowledge Incorporation Network (KI-Net) and a specialized Graph-Relate (G-Relate) module, the model performs high-order reasoning across enriched networks, significantly improving performance on complex visual reasoning tasks.

Introduction

Traditional VQA models often operate as "black boxes," lacking transparency and the ability to leverage information beyond immediate visual detections. While modern computer vision can reliably identify objects like a "man" or a "suit," it often fails to reason about implied or occluded entities, such as a "shirt" worn beneath a jacket.

Existing explicit reasoning methods utilize scene graphs—structured representations of objects and their relationships. However, these graphs are typically restricted to what an object detector can see. If an entity isn't detected, it doesn't exist in the graph, preventing the model from reasoning about it. Furthermore, most models are limited to first-order relationships (e.g., Man $\rightarrow$ Wearing $\rightarrow$ Suit), making it difficult to connect distant nodes in complex scenes.

Methodology

The proposed framework addresses these limitations through two primary components: the Knowledge Incorporation Network (KI-Net) and the Graph-Relate (G-Relate) module.

Overview of the proposed framework, showing the integration of external knowledge bases with visual scene graphs to create an enriched representation for reasoning.

Knowledge Incorporation Network (KI-Net)

KI-Net expands the initial scene graph by importing entities and predicates from external knowledge bases, including ConceptNet, WordNet, and Visual Genome. This process involves two steps:

  1. Topological Extension: The network identifies "candidate nodes" (e.g., 'shirt') that are semantically related to detected objects (e.g., 'suit').
  2. Semantic Refinement: To manage graph complexity and ensure relevance, a Graph Attention Network (GAT) prunes nodes that do not align with the specific visual context of the image.

Graph-Relate (G-Relate) Module

While standard neural modules typically shift attention between adjacent nodes, G-Relate is designed for high-order relational attention. It calculates "transfer weights" across multiple paths in the graph (up to length $L=3$). This enables the model to infer distant relationships, such as "man-wearing-shirt," by traversing a path like Man $\rightarrow$ Wearing $\rightarrow$ Suit $\rightarrow$ Over $\rightarrow$ Shirt.

An illustration of the G-Relate module performing high-order reasoning to answer a question about an occluded shirt by traversing the enriched scene graph.

Experimental Setup and Results

The framework was evaluated on two prominent VQA benchmarks: GQA, focused on real-world compositional reasoning, and VQAv2, the standard for open-ended VQA. The proposed method established new state-of-the-art benchmarks for explicit reasoning models, achieving 64.21% accuracy on GQA and 67.32% on VQAv2.

Key insights from the results include:

  • Explainability: Adding physical nodes to the graph makes the reasoning process traceable compared to implicit methods.
  • Plausibility: The model showed marked improvement in ensuring answers align with general world knowledge (e.g., knowing an apple can be red but not blue).
  • Synergy: Ablation studies confirmed that KI-Net and G-Relate are most effective when used together; KI-Net provides the enriched "map," while G-Relate provides the "navigation."

Conclusion

This research demonstrates that explicitly incorporating external knowledge into scene graphs significantly enhances visual reasoning. While challenges remain regarding computational complexity and dependency on initial detections, this approach provides a robust foundation for more transparent and knowledgeable VQA systems. Future work will explore dynamic querying of external knowledge to further refine the reasoning process.

Summary updated

BibTeX
@inproceedings{zhang2021explicit,
  author = {Yifeng Zhang and Ming Jiang and Qi Zhao},
  title = {{Explicit Knowledge Incorporation for Visual Reasoning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00141},
}
Figure