Introduction
Visual Question Answering (VQA) requires a model to accurately "look" at an image to answer a natural language question. While most existing systems utilize attention mechanisms, they typically perform a coarse-grained "sentence-to-image" mapping. This often results in the model attending to broad regions rather than specific relevant objects, leading to failures in tasks involving small objects or complex spatial relationships. This paper introduces a multi-grained attention mechanism that explicitly grounds individual words to visual objects and their semantic labels, achieving state-of-the-art performance on the VQA v2 benchmark.
Methodology
The core of the proposed approach is a multi-grained attention module that combines three distinct types of matching to create a finer-grained bridge between text and vision:
- Word-Label Matching (WL): Measures semantic similarity between question words and detected object labels (e.g., matching "glasses" to "spectacles") using GloVe embeddings.
- Word-Object Matching (WO): A novel, pre-trained module that learns the direct relationship between a word and a visual feature vector. This creates a "visual dictionary" independent of the final VQA task.
- Sentence-Object Attention (SO): The standard approach where the global question context, encoded via a Gated Recurrent Unit (GRU), weights image regions.
Technical Enhancements
The model employs a Faster R-CNN (ResNet-101) backbone pre-trained on Visual Genome to extract features for the top 36 objects. It also adopts ELMo (Embeddings from Language Models) for deep contextualized word representations, which significantly improves the language processing component compared to static embeddings.
Results and Discussion
The model achieved 67.41% on test-dev and 67.73% on test-std of the VQA v2 dataset, outperforming the dominant "Up-Down" baseline. Notably, accuracy in the "Numbers" category improved by nearly 2.8%, indicating that better object grounding directly translates to improved counting abilities and identification of small objects.
Qualitative analysis and Mean Opinion Score (MOS) tests confirm that the model's attention maps align better with human intuition (0.8125 vs. 0.7315 for the baseline). While the model excels at object localization, future work will focus on improving relational understanding between objects and optimizing computational efficiency for real-time applications.
Summary updated