Interpretable Neural Computation for Real-World Compositional Visual Question Answering

Ruixue Tang, Chao Ma

Abstract

This research introduces a hybrid framework for Visual Question Answering (VQA) that reconciles the interpretability of symbolic reasoning with the robust performance of deep learning. By disentangling images into structured scene graphs and questions into executable programs, the proposed model achieves state-of-the-art results in reasoning consistency and transparency on the challenging GQA benchmark. The core innovation lies in using a neural transformer to execute symbolic programs, allowing the system to handle the noise and complexity of real-world visual data while maintaining a clear, step-by-step reasoning process.

Introduction

Visual Question Answering (VQA) research has historically been divided between two paradigms. Monolithic "black-box" models, such as large-scale Transformers, achieve high accuracy by learning implicit statistical associations but often rely on dataset biases and lack transparency. Conversely, compositional models break questions into logical steps, offering high interpretability; however, they frequently struggle with the semantic richness and noise of real-world images. This paper aims to bridge this gap by creating a model that maintains a transparent reasoning process without sacrificing the robustness required for real-world visual scenes.

Methods: The Three-Part Pipeline

The authors propose a framework termed Interpretable Neural Computation, which consists of three primary components:

  1. Scene Parser (De-renderer): Utilizing Graph R-CNN, the model converts raw images into structural scene graphs. These graphs identify objects, their attributes (e.g., color, material), and their spatial or functional relationships.
  2. Question Parser (Program Generator): An attention-based seq2seq model (bi-LSTM) translates natural language questions into hierarchical programs—sequences of functional modules such as Select, Filter, and Relate.
  3. Symbolic Program Executor with LXMERT: This component executes the generated program by selecting specific "attention regions" from the scene graph and passing them iteratively to a neural backbone.
Overview of the Interpretable Neural Computation framework, including (a) the execution pipeline, (b) the program generator, and (c) the scene graph representation.

Neural-Symbolic Integration

The core innovation is the "soft logic" approach to program execution. Instead of a purely symbolic execution, which is often brittle in the face of noisy scene graphs, the model uses the program to guide the attention of LXMERT (a pre-trained vision-and-language transformer). This allows the neural encoder to compensate for errors or omissions in the generated scene graph by leveraging its pre-trained multimodal representations.

The LXMERT architecture used as the neural backbone for program execution, featuring cross-modality encoders.

Experimental Evaluation

The model was evaluated on the GQA v1.1 dataset, which uses real-world images from Visual Genome and contains over 1 million questions requiring multi-hop reasoning. Unlike synthetic datasets like CLEVR, GQA is designed to minimize language biases, making it a rigorous test for compositional reasoning.

Key Results

  • Accuracy: The model achieved 58.50% accuracy on GQA, outperforming previous compositional models like NMN (55.70%) and LCGN (57.07%).
  • Consistency and Bias Mitigation: The framework significantly outperformed monolithic models in "Essential Qualities." It achieved a Distribution Score of 2.72 (lower is better), compared to LXMERT’s 5.69, indicating a reduced reliance on dataset biases.
  • Validity and Plausibility: The system reached 96.87% Validity and 87.94% Plausibility, ensuring that answers are both categorically correct and contextually sensible.

Discussion and Future Work

While the framework shows significant promise, it remains limited by the quality of the initial scene graph. The authors noted that when using ground-truth scene graphs, accuracy jumped to over 91%, identifying visual recognition as the primary bottleneck. Future work will focus on refining the feedback loop between the neural encoder and the symbolic executor to further improve robustness against noisy visual inputs.

Summary updated

BibTeX
@inproceedings{tang2020interpretable,
  author = {Ruixue Tang and Chao Ma},
  title = {{Interpretable Neural Computation for Real-World Compositional Visual Question Answering}},
  booktitle = {PRCV},
  year = {2020},
  url = {https://openreview.net/forum?id=0vXkqqTJo6m},
}
Figure