Skip to main content
QUICK REVIEW

[Paper Review] High-Order Attention Models for Visual Question Answering

Idan Schwartz, Alexander G. Schwing|arXiv (Cornell University)|Nov 12, 2017
Multimodal Machine Learning ApplicationsComputer Science21 references45 citations
TL;DR

This paper proposes a novel high-order attention mechanism that models complex, multi-modal correlations between visual and textual inputs in visual question answering (VQA). By learning second- and higher-order interactions between image regions and question words, the method achieves state-of-the-art performance on the standard VQA dataset with a relatively small model (40M parameters), outperforming existing attention-based models despite lower embedding dimensions and simpler architecture.

ABSTRACT

The quest for algorithms that enable cognitive abilities is an important part of machine learning. A common trait in many recently investigated cognitive-like tasks is that they take into account different data modalities, such as visual and textual input. In this paper we propose a novel and generally applicable form of attention mechanism that learns high-order correlations between various data modalities. We show that high-order correlations effectively direct the appropriate attention to the relevant elements in the different data modalities that are required to solve the joint task. We demonstrate the effectiveness of our high-order attention mechanism on the task of visual question answering (VQA), where we achieve state-of-the-art performance on the standard VQA dataset.

Motivation & Objective

  • To address the limitations of existing attention mechanisms in multimodal learning, which often treat modalities separately or use hand-crafted designs.
  • To develop a general-purpose attention mechanism that explicitly models high-order correlations across multiple data modalities, such as images and text.
  • To improve performance and interpretability in visual question answering by jointly attending to relevant image regions and question words through higher-order interactions.
  • To demonstrate the effectiveness of the proposed mechanism on a standard benchmark, showing state-of-the-art results with a lightweight model.

Proposed method

  • The method introduces a probabilistic attention framework based on high-order potentials, where unary potentials represent individual modality attention (e.g., image or question), and pairwise or higher-order potentials model interactions between modalities.
  • It uses a multi-modal fusion layer based on a generalized version of the Multimodal Compact Bilinear (MCB) layer, extended to three modalities (image, question, and multiple-choice answers), termed MCT (Multimodal Compact Tensor).
  • The attention mechanism combines unary and pairwise potentials using a conditional random field (CRF)-like formulation, allowing for structured prediction of attention weights.
  • The model is trained end-to-end using cross-entropy loss on the VQA dataset, with features extracted from pre-trained networks (e.g., VGG for images, LSTM for questions).
  • The framework is designed to be extensible to any number of modalities, enabling flexible modeling of complex dependencies beyond two-way interactions.
  • The final attention map is computed as a weighted combination of unary and pairwise potentials, with the weights learned during training.

Experimental results

Research questions

  • RQ1Can high-order correlations between visual and textual modalities improve performance in visual question answering?
  • RQ2How does modeling interactions across three modalities (image, question, answers) affect attention quality and accuracy in VQA?
  • RQ3Can a simple, general-purpose attention mechanism based on high-order potentials outperform complex, task-specific attention modules?
  • RQ4Does the proposed method improve interpretability by aligning attention with semantically relevant image regions and question words?

Key findings

  • The proposed high-order attention mechanism achieved state-of-the-art performance on the VQA test-dev and test-std datasets, with a 64.57% accuracy on the validation set using a 2-layer MCB fusion for 3-modalities.
  • Even with only 40 million parameters and a lower embedding dimension of 512, the model outperformed existing methods that use over 70 million parameters and higher-dimensional features.
  • The 3-modality model showed a significant performance gain over the 2-modality baseline, demonstrating the importance of modeling higher-order interactions.
  • Qualitative analysis revealed that the pairwise potentials effectively align with relevant visual regions based on question content, such as attending to glasses when asked about quantity or to a person in a blue shirt when asked about clothing color.
  • The model successfully focused attention on relevant image regions and question words, such as attending to a laptop when asked about a battery-powered device, improving answer accuracy.
  • Failure cases were observed when the model incorrectly focused on salient but irrelevant objects (e.g., a colorful umbrella) instead of the queried object, indicating limitations in handling ambiguous or distracting visual features.

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.