Skip to main content
QUICK REVIEW

[Paper Review] ABC-CNN: An Attention Based Convolutional Neural Network for Visual Question Answering

Kan Chen, Jiang Wang|arXiv (Cornell University)|Nov 18, 2015
Multimodal Machine Learning ApplicationsComputer Science30 references278 citations
TL;DR

This paper proposes ABC-CNN, an attention-based convolutional neural network for visual question answering that uses question-guided attention to dynamically focus on relevant image regions. By employing a configurable convolutional kernel derived from question embeddings, ABC-CNN generates spatial attention maps that enhance feature representation, achieving state-of-the-art performance on Toronto COCO-QA, DAQUAR, and VQA datasets with significant accuracy gains.

ABSTRACT

We propose a novel attention based deep learning architecture for visual question answering task (VQA). Given an image and an image related natural language question, VQA generates the natural language answer for the question. Generating the correct answers requires the model's attention to focus on the regions corresponding to the question, because different questions inquire about the attributes of different image regions. We introduce an attention based configurable convolutional neural network (ABC-CNN) to learn such question-guided attention. ABC-CNN determines an attention map for an image-question pair by convolving the image feature map with configurable convolutional kernels derived from the question's semantics. We evaluate the ABC-CNN architecture on three benchmark VQA datasets: Toronto COCO-QA, DAQUAR, and VQA dataset. ABC-CNN model achieves significant improvements over state-of-the-art methods on these datasets. The question-guided attention generated by ABC-CNN is also shown to reflect the regions that are highly relevant to the questions.

Motivation & Objective

  • To address the challenge of aligning visual and linguistic understanding in VQA by enabling models to focus on image regions relevant to specific questions.
  • To develop a mechanism that learns question-guided attention without requiring manually annotated attention regions.
  • To improve VQA accuracy by integrating visual features and question semantics through adaptive, attention-based feature weighting.
  • To provide interpretability in VQA models by generating attention maps that align with question intent.

Proposed method

  • ABC-CNN uses a CNN to extract spatial visual feature maps, preserving spatial relationships across image regions.
  • A Long Short-Term Memory (LSTM) network encodes the input question into a dense semantic embedding.
  • A configurable convolutional kernel (CCK) is generated by projecting the question embedding into visual space, enabling query-specific feature search.
  • The CCK performs a configurable convolution over the visual feature map to produce a question-guided attention map (QAM), highlighting relevant image regions.
  • The QAM spatially weights the visual features, filtering out noise and emphasizing contextually relevant regions for answer generation.
  • The final answer is generated via a multi-class classifier using the attended visual features and question embedding, trained end-to-end without human-annotated attention.

Experimental results

Research questions

  • RQ1Can a deep learning model automatically learn to attend to image regions that are semantically relevant to a given question?
  • RQ2How does question-guided attention improve VQA accuracy compared to global feature pooling or fixed attention mechanisms?
  • RQ3To what extent do the generated attention maps align with human-annotated or intuitive regions of interest for a given question?
  • RQ4Can the configurable convolution mechanism effectively transfer semantic meaning from questions into spatial attention over visual features?

Key findings

  • ABC-CNN achieves a test accuracy of 0.6844 on the Toronto COCO-QA dataset, surpassing all baseline models and outperforming the ensemble model by 0.3%.
  • On the DAQUAR-reduced dataset, ABC-CNN achieves 0.4276 accuracy, significantly outperforming the next best single model (LSTM at 0.3273).
  • On the VQA dataset, ABC-CNN achieves 0.4838 accuracy using the 1000 most frequent answers, exceeding the previous state-of-the-art single model by 0.1259.
  • Ablation studies show that removing attention leads to a 1.34% drop in accuracy, confirming the importance of question-guided attention.
  • Visualization confirms that attention maps consistently focus on regions relevant to the question’s intent, such as the coat or umbrella in different examples.
  • The fully convolutional variant (ATT-SEG) improves inference speed and slightly boosts performance, with the combined ATT-VGG-SEG model achieving the best overall result.

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.