Introduction
Visual Question Answering (VQA) represents a significant challenge at the intersection of computer vision and natural language processing. To provide an accurate answer, a system must not only understand a natural language query but also correctly interpret the visual nuances of an associated image. Early VQA models often relied on "global features"—a single mathematical summary of the entire image. While efficient, these global summaries frequently overlook fine-grained details, such as the color of a small object or specific spatial relationships between items.
Subsequent attempts to use "region proposals" (analyzing multiple small bounding boxes) often introduced excessive visual noise, leading to confusion within the model. The primary challenge remains alignment: ensuring the model focuses exclusively on the image regions relevant to the specific question. This paper introduces the Focused Dynamic Attention (FDA) model to address this alignment problem by using question keywords as a visual guide.
The Focused Dynamic Attention (FDA) Architecture
The FDA model is designed to filter out irrelevant visual information by dynamically focusing on regions that correspond to keywords in the question. Its architecture is divided into three primary components:
- Question Understanding: The model employs a Long Short-Term Memory (LSTM) network to process the input question and generate a robust textual representation.
- Focused Dynamic Attention Mechanism: This core innovation utilizes an off-the-shelf object detector to identify various regions within the image. Using word2vec embeddings, the model calculates semantic similarity between question words and detected object labels. Regions with a similarity score above 0.5 are selected and, crucially, fed into a second LSTM in the same sequential order as their corresponding keywords appear in the question. This is followed by a global image feature to provide necessary scene context.
- Multimodal Fusion: The final states of both the question LSTM and the image-region LSTM are combined via element-wise multiplication. This fused representation is then passed through a fully connected neural network to predict the final answer.
By processing visual regions sequentially, the FDA model mimics the human cognitive process of scanning an image while listening to or reading a query.
Experimental Evaluation
The model was rigorously evaluated using the VQA dataset (Antol et al., 2015), the most comprehensive benchmark at the time of the study. The dataset includes over 204,000 images from Microsoft COCO and more than 614,000 human-posed questions. The authors tested the model on two distinct tasks: the Open-Ended task, which requires generating a natural language response, and the Multiple-Choice task, where the model selects from 18 candidate answers.
Results and Qualitative Analysis
At its release in 2016, the FDA model established a new state-of-the-art on the VQA benchmark. In the Open-Ended task, it achieved 59.54% accuracy on the test-std split, surpassing previous leaders like Stacked Attention Networks (SAN). In the Multiple-Choice task, it reached 64.18% accuracy, representing a 1.1% improvement over the previous best-performing model, D-LSTM.
Qualitatively, the model demonstrates a sophisticated ability to shift focus based on the query. For instance, when asked about objects in a kitchen, the model correctly identifies and focuses on a "sink" or a "book" depending on the specific question asked. This indicates that the sequential attention mechanism effectively reduces noise and prioritizes relevant visual data.
Conclusion
The Focused Dynamic Attention model demonstrates that word order in a question provides a natural and effective roadmap for visual attention. By combining local object features with global context and processing them sequentially, the model significantly improves VQA accuracy. However, the model remains dependent on the precision of underlying object detectors. Future research may focus on more advanced reasoning units to better interpret complex relationships between identified visual elements and the nuances of human language.
Summary updated