Skip to main content
QUICK REVIEW

[Paper Review] Towards Transparent AI Systems: Interpreting Visual Question Answering Models

Yash Goyal, Akrit Mohapatra|arXiv (Cornell University)|Aug 31, 2016
Multimodal Machine Learning ApplicationsComputer Science15 references43 citations
TL;DR

This paper proposes using guided backpropagation and occlusion techniques to interpret Visual Question Answering (VQA) models by identifying which image regions and question words the model focuses on during prediction. It finds that even without explicit attention mechanisms, VQA models implicitly attend to relevant image regions and appropriate question words, with importance maps showing moderate correlation (0.292) with human attention.

ABSTRACT

Deep neural networks have shown striking progress and obtained state-of-the-art results in many AI research fields in the recent years. However, it is often unsatisfying to not know why they predict what they do. In this paper, we address the problem of interpreting Visual Question Answering (VQA) models. Specifically, we are interested in finding what part of the input (pixels in images or words in questions) the VQA model focuses on while answering the question. To tackle this problem, we use two visualization techniques -- guided backpropagation and occlusion -- to find important words in the question and important regions in the image. We then present qualitative and quantitative analyses of these importance maps. We found that even without explicit attention mechanisms, VQA models may sometimes be implicitly attending to relevant regions in the image, and often to appropriate words in the question.

Motivation & Objective

  • To address the lack of transparency in deep learning models, especially in Visual Question Answering (VQA), where models act as black boxes.
  • To investigate what parts of the input (image pixels or question words) a VQA model relies on when making predictions.
  • To evaluate whether VQA models implicitly attend to relevant image regions and appropriate question words without explicit attention mechanisms.
  • To provide interpretable insights into model behavior through visualization techniques, improving trust and reliability.

Proposed method

  • Applying guided backpropagation to compute gradient-based importance maps for both image features and question tokens.
  • Using occlusion by systematically masking image regions and question words to measure changes in prediction confidence.
  • Generating image importance maps by computing gradients through the model's final prediction layer with respect to input image features.
  • Generating question importance maps by computing gradients with respect to the one-hot encoded question tokens.
  • Comparing the resulting importance maps to human-annotated attention maps from the VQA dataset to evaluate alignment.
  • Analyzing the statistical distribution of important words by their Part-of-Speech (POS) tags to validate linguistic coherence.

Experimental results

Research questions

  • RQ1To what extent do VQA models implicitly attend to relevant image regions without explicit attention mechanisms?
  • RQ2Which words in the question are most influential in the model’s prediction, and do they align with linguistically meaningful categories like nouns and wh-words?
  • RQ3How well do the model’s image importance maps correlate with human-annotated attention maps?
  • RQ4Can the importance maps predict model failure, as indicated by changes in predicted answers during occlusion?
  • RQ5Do the importance maps reflect a coherent understanding of question semantics, as shown by POS tag analysis?

Key findings

  • Guided backpropagation produced image importance maps with a rank-correlation of 0.292 ± 0.004 with human attention maps, indicating moderate alignment with human visual focus.
  • Occlusion-based importance maps showed a rank-correlation of 0.173 ± 0.004 with human attention, suggesting weaker but still positive alignment.
  • The model’s most important words in questions were predominantly wh-words, nouns, and adjectives, indicating semantic coherence in attention.
  • The probability of a word being most important was highest for wh-words, followed by adjectives and nouns, supporting the model’s linguistic reasoning capability.
  • The number of times the predicted answer changed during occlusion correlated with model accuracy, suggesting importance maps can signal model reliability.
  • Even without explicit attention mechanisms, the VQA model implicitly focuses on relevant image regions and semantically meaningful question words.

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.