Abstract
This paper introduces the Adversarial Composition Modular Network (ACMN), a novel framework for Visual Question Answering (VQA) designed to perform step-by-step reasoning by following the natural linguistic structure of a question. Unlike traditional "black box" models, ACMN leverages the dependency parse tree of a question to assemble a modular reasoning layout. By utilizing an adversarial attention mechanism to uncover new visual evidence and a residual composition module to preserve information flow, the model achieves state-of-the-art performance on complex relational datasets like CLEVR and Sort-of-CLEVR, while providing human-interpretable reasoning paths.
Introduction
Most contemporary VQA systems operate as opaque models, providing answers without clear justification for their internal logic. While modular networks have attempted to address this by decomposing questions into sub-tasks, they often rely on rigid, hand-crafted rules or expensive human annotations to determine the assembly of these modules. This limitation makes it difficult for such systems to handle diverse, open-ended questions or complex relational reasoning, such as determining the properties of an object based on its spatial relationship to others.
Methodology: Adversarial Composition Modular Network
The core innovation of ACMN is the use of the dependency parse tree as a roadmap for visual reasoning. The model processes the tree from the leaves up to the root, employing two primary collaborative modules at each node:
- Adversarial Attention Module: Designed for "modifier" relations (e.g., "red" modifying "cube"), this module employs adversarial erasing. It masks regions identified by child nodes, forcing the parent node to seek out new visual evidence specific to its own linguistic component. This prevents the model from repeatedly focusing on the same visual features.
- Residual Composition Module: Used for "clausal predicate" relations (e.g., "is" connecting "color" and "nose"), this module integrates the hidden representations of child nodes using a residual connection. This architecture ensures that information from earlier reasoning steps is retained and combined with new context, preventing the loss of information in deep reasoning trees.
At each node, the model combines image features, word encodings (via a Bi-LSTM), and child node outputs to generate a refined attention map and a hidden state representation.
Experimental Evaluation
The authors evaluated ACMN across three diverse benchmarks to test its versatility and reasoning capabilities:
- CLEVR: A synthetic dataset focused on multi-step relational reasoning about 3D shapes.
- Sort-of-CLEVR: A 2D shape dataset used to isolate relational versus non-relational performance.
- VQAv2: A large-scale dataset of natural images designed to minimize language bias.
Key Results and Interpretability
ACMN demonstrated significant improvements over existing models, particularly in relational tasks. On the CLEVR dataset, it achieved 89.31% overall accuracy, outperforming previous modular networks that lacked expert layout supervision. In the Sort-of-CLEVR relational category, ACMN reached 96.20%, a substantial leap over standard CNN+MLP baselines (63%) and specialized Relation Networks (94%).
Beyond raw accuracy, the model's standout feature is its interpretability. By visualizing the evolution of attention heatmaps as the model traverses the dependency tree, researchers can observe the step-by-step logic the model uses to arrive at an answer.
On the more challenging VQAv2 dataset, ACMN scored 64.05% on the test-std set. While not the top overall performer, it remained competitive with state-of-the-art single-model architectures without requiring the massive ensembles or extensive data augmentation typical of VQA competition leaders.
Conclusion and Future Work
The Adversarial Composition Modular Network demonstrates that leveraging linguistic structure through dependency trees is a powerful approach for interpretable visual reasoning. The use of adversarial masking and residual connections effectively manages the challenges of evidence discovery and information retention.
However, the model's performance is inherently tied to the accuracy of the underlying dependency parser. Future research may explore joint training of the parser and reasoning modules to increase robustness against grammatical errors and improve performance on the noisy, complex environments found in natural images.
Summary updated