Skip to main content
QUICK REVIEW

[Paper Review] Attention on Attention: Architectures for Visual Question Answering (VQA)

Jasdeep Singh, Vincent Ying|arXiv (Cornell University)|Mar 21, 2018
Multimodal Machine Learning ApplicationsComputer Science5 references21 citations
TL;DR

This paper proposes a novel attention mechanism, A3x2, which stacks two parallel A3 attention modules to improve visual question answering (VQA) performance. By refining attention over image features using question-guided, multi-aspect focus, the model achieves a 64.78% validation score—surpassing the prior state-of-the-art single-model score of 63.15% on the VQA v2.0 dataset after 300 GPU hours of hyperparameter and architecture search.

ABSTRACT

Visual Question Answering (VQA) is an increasingly popular topic in deep learning research, requiring coordination of natural language processing and computer vision modules into a single architecture. We build upon the model which placed first in the VQA Challenge by developing thirteen new attention mechanisms and introducing a simplified classifier. We performed 300 GPU hours of extensive hyperparameter and architecture searches and were able to achieve an evaluation score of 64.78%, outperforming the existing state-of-the-art single model's validation score of 63.15%.

Motivation & Objective

  • To improve visual question answering (VQA) performance by enhancing attention mechanisms beyond standard single-pass attention.
  • To investigate the impact of multiple, parallel attention modules on joint image-question representation learning.
  • To optimize model architecture and hyperparameters through extensive search, focusing on attention design and classifier simplification.
  • To surpass the 2017 VQA Challenge winning model’s single-model performance of 63.15% on the validation set.

Proposed method

  • The model uses pre-trained GloVe embeddings and a GRU to encode input questions into a 1280-dimensional embedding.
  • Image features are extracted via a fixed Faster R-CNN, producing 36 object-centric features per image.
  • A dual one-way top-down attention module (A3x2) computes relevance scores between the question embedding and each image region using learned attention weights.
  • The A3x2 mechanism stacks two A3 attention modules in parallel, enabling the model to focus on multiple image regions simultaneously.
  • A simplified classifier is applied to the joint image-question embedding to predict the final answer.
  • Extensive hyperparameter tuning is performed using a greedy, sequential search over weight normalization, activation functions (e.g., leaky ReLU), and other architectural components.

Experimental results

Research questions

  • RQ1Can stacking multiple attention mechanisms improve VQA performance by enabling multi-aspect focus on image regions?
  • RQ2How does the design of the attention mechanism influence the model’s ability to align questions with relevant visual features?
  • RQ3What is the impact of architectural components like weight normalization and activation functions on VQA accuracy?
  • RQ4Can a simplified classifier outperform more complex output heads in a VQA setting?

Key findings

  • The A3x2 attention mechanism achieved the highest performance among 13 evaluated attention modules, outperforming single-attention and other stacked variants.
  • The final model achieved a validation score of 64.78%, surpassing the prior state-of-the-art single-model score of 63.15% reported by Teney et al. in 2017.
  • The dual attention mechanism demonstrated improved feature localization on complex questions requiring attention to multiple image regions, as shown in heatmap visualizations.
  • Despite overfitting on the training set after many epochs, the model maintained strong generalization, suggesting that hyperparameter tuning mitigated overfitting to the validation set.
  • Weight normalization and leaky ReLU activation were found to be optimal for model performance, improving accuracy over standard ReLU and no normalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.