Dual Attention Networks for Visual Reference Resolution in Visual Dialog

Gi-Cheon Kang, Jaeseo Lim, Byoung-Tak Zhang

Abstract

Visual Dialog (VisDial) requires an agent to engage in multi-turn conversations about visual content, necessitating the resolution of complex visual references like "it," "they," or "that one." We present Dual Attention Networks (DAN), a novel architecture that decomposes this challenge into two distinct steps: linguistic reference resolution and visual grounding. By first resolving ambiguous pronouns through dialog history (the REFER module) and subsequently grounding these concepts in the image (the FIND module), DAN achieves state-of-the-art performance on the VisDial benchmark, particularly excelling in semantically incomplete questions.

Introduction

In standard Visual Question Answering (VQA), an AI system typically processes a single image-question pair in isolation. Visual Dialog (VisDial) extends this task into a conversational setting, where an agent must maintain context over a sequence of questions and answers. A primary difficulty in VisDial is visual reference resolution. When a user asks, "Are they indoors?" following a question about "people," the agent must look back at the conversation history to identify the referent ("they" = "people") and then locate those specific entities within the image.

Previous research often relied on complex memory mechanisms to track previous visual attention maps. However, these approaches are computationally intensive and do not always align with human cognitive processes. DAN proposes a more streamlined, biologically inspired approach that prioritizes linguistic context over persistent visual memory.

Methods: The Dual Attention Architecture

The DAN model is composed of two primary components designed to mimic the human two-step process for solving visual references.

The overall architecture of the Dual Attention Network (DAN), featuring the REFER and FIND modules.

The REFER Module

The REFER module focuses on linguistic resolution. Utilizing a multi-head attention mechanism inspired by the Transformer architecture, it compares the current question against the entire dialog history. This process generates a "reference-aware representation," effectively filling in ambiguous pronouns with the necessary context from previous turns. This module operates on the principle that while sensory memory may decay, linguistic context remains highly accessible and structured.

The FIND Module

Once the question is linguistically resolved, the FIND module performs visual grounding. It takes the output from the REFER module and applies "bottom-up" attention to the image. Rather than analyzing the entire image as a grid, the module focuses on specific object proposals generated by a pre-trained Faster R-CNN detector. By matching the resolved question to these specific regions, the model can pinpoint the exact objects being discussed.

Finally, an Answer Decoder integrates the outputs from both modules to rank 100 candidate answers, selecting the most probable response based on the combined linguistic and visual evidence.

Experimental Results

DAN was evaluated on the VisDial v0.9 and v1.0 benchmarks. On the VisDial v1.0 test-std set, a single DAN model achieved a Mean Reciprocal Rank (MRR) of 63.20 and an NDCG of 57.59, significantly outperforming previous state-of-the-art models like RvA and Synergistic Networks. An ensemble of six DAN models further improved performance, reaching an MRR of 64.92 and an NDCG of 59.36, securing the top position on the 2018 VisDial Challenge leaderboard.

Qualitative Analysis

Visualization of the model's attention maps confirms that DAN successfully shifts its focus based on the dialog context. As shown in qualitative examples, the FIND module accurately assigns higher attention weights to the specific objects identified by the REFER module.

Visualization of the FIND module's attention weights, demonstrating successful grounding of objects mentioned in the dialog.

Discussion and Key Insights

The Importance of Incomplete Questions

A critical finding of this research is DAN's effectiveness on "semantically incomplete" questions—those containing pronouns like it, they, or his. Ablation studies revealed that the performance boost provided by the REFER module was significantly higher for these questions than for "complete" questions. This confirms that the module is successfully performing its intended role of linguistic reference resolution.

Complementary Modules

The researchers found that the REFER and FIND modules are highly complementary. Using either module in isolation resulted in poor performance, suggesting that grounding cannot occur without identification, and identification is useless without the ability to ground the resolved concept in the visual scene.

Limitations and Future Work

Despite its success, DAN is limited by its reliance on fixed object proposals from a pre-trained detector; if an object is not detected initially, the FIND module cannot attend to it. Additionally, while the model excels at retrieval-based ranking, future work should explore generative decoding for real-world applications. Further research is also needed to address complex logical reasoning and spatial relationships beyond simple reference resolution.

Summary updated

BibTeX
@inproceedings{kang2019dual,
  author = {Gi-Cheon Kang and Jaeseo Lim and Byoung-Tak Zhang},
  title = {{Dual Attention Networks for Visual Reference Resolution in Visual Dialog}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1209},
}
Figure