Interpretable Visual Question Answering by Visual Grounding From Attention Supervision Mining

Yundong Zhang, Juan Carlos Niebles, Alvaro Soto

TL;DR

This paper introduces a method to automatically train Visual Question Answering (VQA) models to be more interpretable without relying on expensive human-annotated attention maps. By mining existing region descriptions and object labels from the Visual Genome dataset, the authors generate automatic "grounding supervision" that teaches models where to look. The resulting models produce highly localized, human-like attention maps while maintaining or slightly improving state-of-the-art question-answering accuracy.

What Problem Does This Paper Address?

Visual Question Answering (VQA) models have made massive strides, but they often operate as "black boxes." To trust their answers, we need to know why they arrived at a conclusion—specifically, which parts of an image they focused on (known as visual grounding).

Typically, VQA models use attention mechanisms to highlight relevant image regions. However, when trained without explicit guidance, these attention maps often correlate poorly with human vision; the model might look at a random patch of grass to correctly guess that a sport is baseball. While we can force models to look at the right places using human-annotated attention maps (like the VQA-HAT dataset), collecting these annotations is incredibly tedious, expensive, and highly subjective.

This paper tackles a crucial question: Can we automatically generate high-quality attention supervision from existing, structured image datasets?

High-level concept of grounding via mined supervision

Methods

The authors build upon standard VQA architectures (like Multimodal Compact Bilinear pooling, or MCB) and introduce a novel Attention Supervision Module as an auxiliary task during training.

Schematic diagram of the VQA model structure with the Attention Supervision Module

The core innovation lies in how they automatically "mine" ground-truth attention maps ($C_{gt}$) from the Visual Genome dataset:

  1. Region-level Grounding: For a given image-question-answer triplet, the system scans all available region descriptions. It uses natural language processing heuristics (lemmatization, WordNet synsets, and aliases) to find descriptions that share the most informative words with the question and answer.
  2. Object-level Grounding: It identifies specific object bounding boxes that match nouns in the question or answer. To ensure accuracy, these objects must fall inside the selected region-level grounding.

These mined bounding boxes are converted into 2D probability distributions. During training, the model's generated attention maps are compared against these mined ground truths using KL-divergence loss.

Crucially, because automated labels can be noisy or subjective, the authors implement a multi-task loss with cosine decay. Early in training, the model is heavily penalized if its attention wanders from the mined labels. As training progresses, this penalty smoothly decays, giving the model the freedom to fine-tune its attention for final answer accuracy.

Datasets

  • Visual Genome (VG): Used to mine the attention labels. The authors successfully extracted valid grounding labels for roughly 700,000 out of 1 million QA triplets.
  • VQA-2.0: The primary benchmark used to evaluate final answer accuracy.
  • VQA-HAT & VQA-X: Human-annotated attention datasets used strictly for evaluation to measure how closely the model's attention matches real human eye-tracking/segmentation data.

Key Insights and Ideas

  • Exploiting Existing Structure: Instead of asking humans to draw new attention maps, we can repurpose existing text-to-image annotations (like region captions) through clever NLP matching.
  • The Danger of Unsupervised Attention: Unsupervised attention mechanisms tend to encode statistical shortcuts rather than true semantic relationships. Explicit supervision forces the model to learn genuine visual-textual alignments.
  • The Power of Easing Up: Constraining the model's attention too strictly throughout the entire training cycle hurts final accuracy. The cosine decay schedule acts as a regularizer, guiding the model to the right neighborhood early on, but letting it pinpoint the exact answer features later.

Key Results

The proposed approach yields substantial improvements in both interpretability (rank-correlation with human attention) and accuracy:

  • Better Grounding: When applied to the Multimodal Factorized High-order pooling (MFH) model, the rank-correlation with human attention jumped by 36.4% on the VQA-HAT dataset and 7.7% on VQA-X.
  • Maintained Accuracy: Unlike previous methods where forcing interpretability degraded performance, this method slightly improved state-of-the-art accuracy on VQA-2.0 (e.g., MFH accuracy ticked up from 66.17% to 66.31%).
  • Sharper Visuals: Qualitatively, the attention maps generated by this method are significantly more localized and human-like than baseline models, which often produce diffuse or irrelevant heatmaps.
Visual grounding comparison between human ground truth, baseline MFH, and the proposed Attn-MFH

Limitations and Future Work

While the cosine decay strategy helps mitigate the impact of noisy mined labels, the automated mining process is still inherently limited by the quality and coverage of the underlying dataset (Visual Genome). If an object or region isn't explicitly captioned in the dataset, the model won't receive attention supervision for it.

For future work, the authors suggest that these superior, human-aligned visual groundings can serve as a foundation for generating natural language explanations—allowing future AI models to not only show where they looked but also explain why in plain text.

Summary updated

BibTeX
@inproceedings{zhang2019interpretable,
  author = {Yundong Zhang and Juan Carlos Niebles and Alvaro Soto},
  title = {{Interpretable Visual Question Answering by Visual Grounding From Attention Supervision Mining}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=gMiX1QgWrk},
}
Figure