Learning Conditioned Graph Structures for Interpretable Visual Question Answering

Will Norcliffe-Brown, Efstathios Vafeias, Sarah Parisot

Abstract

Visual Question Answering (VQA) requires a sophisticated interplay between Computer Vision and Natural Language Processing. Traditional approaches often rely on black-box fusion of image and question features, neglecting the underlying semantic and spatial structures of the scene. This paper introduces a novel graph-based approach that combines a graph learner module—which constructs a question-specific graph representation of the image—with spatial graph convolutions. By learning image representations that capture task-specific interactions, the proposed method achieves 66.18% accuracy on the VQA v2 dataset and offers enhanced interpretability.

Introduction

Visual Question Answering is a multimodal challenge where a model must interpret an image to answer a natural language question. Most existing models treat this as a feature fusion problem, merging global image vectors with text embeddings. However, this approach often fails to capture the intricate relationships between objects, such as a person sitting on a chair or a hand holding a tool.

The authors argue that structural nuances are key to reasoning. While previous graph-based methods used fixed spatial or categorical rules to connect objects, this work proposes a dynamic system where the graph structure itself is conditioned on the question being asked.

Methodology

The proposed pipeline moves away from rigid image grids toward dynamic, relational structures through several key stages:

  1. Object Detection (Nodes): A pre-trained detector identifies regions of interest, which serve as the graph's nodes.
  2. Question Encoding: Questions are processed via a Gated Recurrent Unit (GRU) to generate a semantic text embedding.
  3. The Graph Learner: This core module learns an adjacency matrix conditioned on the question. By concatenating the question embedding with object features, the model determines which object-to-object connections are relevant for the specific query.
  4. Spatial Graph Convolutions: The model employs a spatial GCN using polar coordinates (distance and angle) between objects. This allows the network to explicitly reason about spatial primitives like "above" or "near."
  5. Prediction: Convolved features are max-pooled and combined with the question embedding for final classification.
The proposed VQA architecture featuring the Graph Learner and Spatial Graph Convolutions.

Experimental Results and Insights

The model was evaluated on the VQA v2 dataset, a standard benchmark designed to minimize language bias.

Performance and Sparsity

The model achieved an accuracy of 66.18%. A key finding was the benefit of sparsity; by keeping only the top-m strongest connections (the ranking strategy), the model focuses its attention on the most relevant interactions. This not only improves performance but also aids interpretability. Furthermore, the use of polar coordinates significantly outperformed standard Cartesian coordinates, suggesting that relative orientation is fundamental for visual reasoning.

Interpretability via Learned Edges

One of the primary advantages of this approach is its transparency. Because the graph edges are learned dynamically, they can be visualized to inspect the model's reasoning process. For example, when answering questions about what a subject is doing or eating, the model establishes strong edges between the relevant objects, such as the person's mouth and the food they are consuming.

Visualization of learned graph edges, demonstrating how the model focuses on relevant object interactions for specific queries.

Conclusion and Future Work

While the model demonstrates strong performance and interpretability, it remains dependent on the quality of the initial object detector. Future improvements could involve moving from scalar edge weights to vector edges to capture multi-dimensional relationships. Despite these limitations, the graph learner module provides a promising path toward more structured and explainable multimodal AI systems.

Summary updated

BibTeX
@inproceedings{norcliffebrown2018learning,
  author = {Will Norcliffe-Brown and Efstathios Vafeias and Sarah Parisot},
  title = {{Learning Conditioned Graph Structures for Interpretable Visual Question Answering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=Hy-uK_Wd-B},
}
Figure