Abstract
Visual Dialog (VisDial) requires an agent to engage in a multi-round conversation about an image, necessitating sophisticated reasoning over visual and textual contexts. This paper introduces the Context-Aware Graph (CAG) neural network, which models the dialog as an iterative reasoning process over a dynamic, sparse graph. By integrating fine-grained visual objects with textual history and employing an adaptive "top-K" message-passing mechanism, CAG effectively resolves complex co-references and filters semantic noise. Our model achieves state-of-the-art performance on the VisDial v0.9 and v1.0 benchmarks, demonstrating the efficacy of iterative, context-aware graph inference.
Introduction
Visual Dialog (VisDial) represents a significant advancement in complexity over standard Visual Question Answering (VQA). While VQA involves answering a single question about an image, VisDial requires maintaining a coherent multi-round conversation. This task presents three primary challenges:
- Visual Co-reference: Resolving pronouns (e.g., "he", "it") based on previous dialog turns.
- Dynamic Context: Adapting to the shifting importance of visual objects as the conversation progresses.
- Relation Inference: Capturing the evolving, often sparse relationships between visual elements and textual history.
Previous research utilized static graphs or simple attention mechanisms that often struggled with these dynamics. As illustrated in Figure 1, the proposed Context-Aware Graph (CAG) differs from prior textual semantic or multi-modal embedding graphs by embedding both visual and textual contexts directly into the graph nodes from the outset.
Methods
The CAG model operates through three main stages: graph construction, iterative dynamic inference, and final embedding.
Graph Construction
Each node in the CAG represents a "joint semantic feature." This is constructed by combining a specific visual object (detected via Faster R-CNN) with a textual context vector $u$ derived from the dialog history $H$ and the current question $Q$. This "context-aware" initialization is crucial for resolving linguistic dependencies like co-references.
Iterative Dynamic Directed-Graph Inference
The heart of the CAG is its iterative inference mechanism. Instead of a fixed topology, the model updates connections over $T$ iterations (with $T=3$ found to be optimal). As shown in Figure 2, the process involves:
- Question-conditioned Relevance: The current question acts as a command to identify relevant features.
- Adaptive Top-K Message Passing: To reduce semantic noise, each node only receives messages from its $K$ most relevant neighbors. This creates a sparse, asymmetric directed graph that evolves at each step of the reasoning process.
Graph Attention Embedding
Following the iterative steps, a final attention layer aggregates all node features into a single representation. This global embedding is then fused with the question and history features to rank potential answers from a candidate list.
Key Insights
- Sparsity as a Feature: In complex scenes, most objects are irrelevant to a specific question. By forcing nodes to listen only to "Top-K" neighbors, the model filters out noise and focuses on the most probable relationships.
- Iterative Reasoning: The multi-step inference mimics human logic. For example, the model might first identify a "snowboarder," then look at what they are "wearing," and finally determine the "color" of their pants.
Experimental Results
CAG consistently outperformed previous state-of-the-art models across multiple metrics on the VisDial benchmarks:
- VisDial v0.9: Achieved an R@1 of 54.64%, a significant improvement over previous graph-based models like FGA (51.43%).
- VisDial v1.0: Achieved an NDCG of 56.64, proving the model's effectiveness in identifying multiple plausible answers.
Ablation studies validated the importance of both the iterative inference process and the multi-modal context, as removing either led to sharp performance declines.
Conclusion
The Context-Aware Graph (CAG) provides a robust framework for the complex reasoning required in Visual Dialog. By treating the conversation as a dynamic, iterative process over a sparse graph of joint semantic features, CAG sets a new standard for the field. Future work may explore reducing computational complexity and applying these graph techniques to generative response decoders.
Summary updated