Recursive Visual Attention in Visual Dialog

Yulei Niu, Hanwang Zhang, Manli Zhang, Jianhong Zhang, Zhiwu Lu, Ji-Rong Wen

Abstract

This paper introduces Recursive Visual Attention (RvA), a novel mechanism designed to solve the visual co-reference problem in multi-round dialog. By recursively browsing dialog history only when encountering ambiguous terms, RvA achieves state-of-the-art performance on VisDial benchmarks while providing interpretable decision paths that map current questions to their historical antecedents.

Introduction

Visual Dialog represents a significant evolution from standard Visual Question Answering (VQA). While VQA focuses on single-round interactions, Visual Dialog requires maintaining context across a multi-round conversation. This transition introduces the complex challenge of visual co-reference resolution—determining what pronouns like "it," "they," or "that" refer to based on previous exchanges. Analysis of the VisDial dataset reveals that approximately 98% of dialogs contain such pronouns, making effective resolution critical for performance.

The RvA Framework

The Recursive Visual Attention (RvA) framework addresses co-reference by selectively browsing dialog history. Unlike traditional "soft attention" methods that process the entire history for every question—often introducing noise and increasing computational overhead—RvA mimics human cognitive economy by only looking back when a question is identified as ambiguous.

The RvA model resolves ambiguous references like 'they' by recursively looking back at previous dialog rounds to identify the subject ('lamps').

The framework is built upon three primary neural modules:

  1. INFER Module: This module acts as a gatekeeper. It analyzes the current question using "reference-aware" features to decide if the model is confident enough to ground the question in the image immediately. If ambiguity is detected, it triggers a recursive call.
  2. PAIR Module: When recursion is triggered, the PAIR module identifies which specific previous round of the dialog is most relevant to the current question, effectively finding the antecedent for the ambiguous term.
  3. ATT Module: This module generates the final visual attention map. It uses "answering-aware" features to filter visual information, focusing on specific attributes (like color or count) once the object has been identified.

Recursive Logic and Training

To make these discrete decisions—such as whether to backtrack and which round to select—trainable in an end-to-end neural network, the authors employ the Gumbel-Max trick. This technique allows the model to make "hard" choices during the forward pass while remaining differentiable for backpropagation.

The recursive structure of the model allows for a 'Recursive Call' to previous states and a 'Return' of the resolved visual context.

The recursive nature of the model allows it to build "recursion trees." These trees provide a transparent look into the model's reasoning, showing exactly how a question like "What color are they?" is linked back to a round where "lamps" were first discussed.

Results and Interpretability

The RvA model established a new state-of-the-art at the time of its publication. On the VisDial v0.9 benchmark, it achieved a Mean Reciprocal Rank (MRR) of 0.6634, outperforming the previous best model, CorefNMN, by over 2 points. On VisDial v1.0, it reached an MRR of 0.6303 and an NDCG of 0.5559.

Qualitative evaluations further validated the approach. In 56% of cases involving ambiguous questions, the model's recursive attention path was deemed reasonable by human evaluators. Furthermore, the study found that 62% of dialogs required at least one accurate co-reference resolution to produce a correct answer, confirming that the recursive mechanism is central to the model's success.

Conclusion

Recursive Visual Attention provides a robust and interpretable solution to the co-reference problem in Visual Dialog. By selectively reviewing history, the model achieves high performance while maintaining a clear "thought process." Future research may explore deeper linguistic integration and the resolution of complex references that involve multiple entities across different historical rounds.

Summary updated

BibTeX
@inproceedings{niu2019recursive,
  author = {Yulei Niu and Hanwang Zhang and Manli Zhang and Jianhong Zhang and Zhiwu Lu and Ji-Rong Wen},
  title = {{Recursive Visual Attention in Visual Dialog}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00684},
}
Figure