Abstract
Visual Question Answering (VQA) requires a sophisticated fusion of visual and linguistic understanding. Traditional models often struggle with complex relational reasoning because raw visual features lack high-level context. We present a novel approach that generates "question-relevant" captions to bridge this gap. By training a captioning module to prioritize descriptions that align with the VQA task's gradients, our model provides a dynamic textual context that guides visual attention. This method achieves state-of-the-art performance on the VQA v2.0 benchmark, particularly in categories requiring numerical and relational reasoning.
Introduction
Visual Question Answering (VQA) is a challenging task at the intersection of computer vision and natural language processing. Most contemporary models utilize "bottom-up" visual features—lists of detected objects and their attributes. However, these features often fail to capture the high-level relational context necessary for complex queries, such as "What is the man doing?" as opposed to simple attribute questions like "What color is the surfboard?".
While generic image captions can provide some context, they are typically "question-agnostic" and may not contain the specific information needed for a given query. This paper addresses the challenge of generating captions dynamically targeted to assist in answering specific questions.
Methodology
The proposed architecture integrates three primary components to create a textual bridge between the image and the question.
1. The Captioning Module
Based on the popular "Up-Down" architecture, this module generates descriptions. Its unique training phase utilizes a gradient-based selection method. By comparing the training gradients of human-annotated captions with the VQA task's gradients, the model learns to prioritize captions that share a "descent direction" with the VQA loss. This ensures the generated text is optimized for the final answering task.
2. Caption Embedding Module
This module uses a two-layer Gated Recurrent Unit (GRU) structure. A "Word GRU" identifies question-relevant words within the caption, while a "Caption GRU" encodes these into a feature vector for the VQA module.
3. The VQA Module
The VQA module processes the question, visual features, and the generated caption. The caption acts as a filter, adjusting the top-down attention weights of the visual features. This allows the model to focus on relevant objects while ignoring distractors.
Experimental Setup and Results
The model was evaluated on the VQA v2.0 benchmark, utilizing MSCOCO 2014 for training the captioning module.
Performance Gains
The approach achieved a significant performance boost, reaching 68.37% accuracy on the VQA v2.0 Test-standard set. This outperforms the previous state-of-the-art "Up-Down" baseline of 65.32%. The most substantial improvements were observed in the "Number" and "Other" question categories, suggesting that captions provide critical clues that raw visual features often miss.
Human vs. Machine Captions
While machine-generated captions significantly improved performance (65.8% on validation), a gap remains compared to using gold-standard human-written captions (67.1%). This indicates that further improvements in caption quality could lead to even higher VQA accuracy.
Discussion and Future Work
The core insight of this work is that textual descriptions serve as a powerful reasoning bridge, encoding relationships and attributes more naturally than pixels. By aligning the captioner's objectives with the VQA task through gradient alignment, the system achieves a synergy that generic captioning lacks.
However, the method currently depends on datasets with multiple human captions for training the selection mechanism and adds computational overhead during inference. Future research could explore incorporating external knowledge graphs to further enrich the captioner's "knowledge base" for even more complex reasoning tasks.
Summary updated