Skip to main content
QUICK REVIEW

[Paper Review] Compositional Memory for Visual Question Answering

Aiwen Jiang, Fang Wang|arXiv (Cornell University)|Nov 18, 2015
Multimodal Machine Learning ApplicationsComputer Science14 references37 citations
TL;DR

This paper proposes a compositional memory mechanism that dynamically fuses local visual features with sequential linguistic features in a Long Short-Term Memory (LSTM) framework for Visual Question Answering (VQA). By modeling temporal interactions between question words and image patches via an attention mechanism, the method generates 'episodes' representing evolving visual-linguistic interactions, achieving a 6% improvement over prior state-of-the-art on the DAQUAR dataset and strong performance on MSCOCO-VQA.

ABSTRACT

Visual Question Answering (VQA) emerges as one of the most fascinating topics in computer vision recently. Many state of the art methods naively use holistic visual features with language features into a Long Short-Term Memory (LSTM) module, neglecting the sophisticated interaction between them. This coarse modeling also blocks the possibilities of exploring finer-grained local features that contribute to the question answering dynamically over time. This paper addresses this fundamental problem by directly modeling the temporal dynamics between language and all possible local image patches. When traversing the question words sequentially, our end-to-end approach explicitly fuses the features associated to the words and the ones available at multiple local patches in an attention mechanism, and further combines the fused information to generate dynamic messages, which we call episode. We then feed the episodes to a standard question answering module together with the contextual visual information and linguistic information. Motivated by recent practices in deep learning, we use auxiliary loss functions during training to improve the performance. Our experiments on two latest public datasets suggest that our method has a superior performance. Notably, on the DARQUAR dataset we advanced the state of the art by 6$\%$, and we also evaluated our approach on the most recent MSCOCO-VQA dataset.

Motivation & Objective

  • To address the limitation of holistic visual features in VQA, which fail to capture fine-grained, region-specific information critical for accurate answering.
  • To model the dynamic, sequential interaction between language and local visual features during question processing.
  • To improve reasoning in VQA by explicitly representing evolving visual-linguistic evidence through a learnable memory mechanism.
  • To demonstrate that local feature fusion enhances performance beyond holistic features or language-only models.

Proposed method

  • The model processes question words sequentially using an LSTM, maintaining a hidden state that evolves over time.
  • At each word, an attention mechanism reweights the importance of local image patches (from CNN features) based on relevance to the current word.
  • The attended visual features and current word embedding are fused to generate a dynamic 'episode'—a memory state encoding the interaction between language and vision at that time step.
  • These episodes are aggregated and combined with contextual visual and linguistic features to produce the final answer prediction.
  • The model is trained end-to-end with auxiliary loss functions to improve attention and reasoning fidelity.
  • Local image patches are extracted from the last convolutional layer of a CNN, without relying on object proposals, to ensure dense spatial coverage.

Experimental results

Research questions

  • RQ1Can modeling dynamic, sequential interactions between language and local image regions improve VQA performance compared to holistic features?
  • RQ2How does the integration of visual and linguistic features through an attention-based memory mechanism affect reasoning in VQA?
  • RQ3To what extent do local visual features contribute to answering complex vs. simple questions in VQA?
  • RQ4Does the proposed compositional memory mechanism outperform models that use only language or only visual features?

Key findings

  • On the DAQUAR dataset, the proposed method achieves a 6% absolute improvement over the previous state of the art, advancing the SOTA performance.
  • The full model achieves a WUPS@0.9 score of 29.77, significantly outperforming variants such as 'Language Only' (25.77) and 'Episodes Only' (27.43).
  • The fusion of language and episode features increases WUPS@0.9 from 28.73% to 29.77%, demonstrating complementary benefits.
  • On the MSCOCO-VQA test-dev set, the model achieves 52.62% accuracy, comparable to state-of-the-art despite using a larger answer dictionary.
  • The model shows a notable drop in accuracy for complex question types (e.g., 'what', 'how'), indicating room for improvement in reasoning over complex queries.
  • The ablation study confirms that all components—language, episodes, and their fusion—are essential, with each contributing incrementally to performance.

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.