Abstract
Visual Dialog (VisDial) requires a model to navigate complex conversational histories to answer questions about an image. Traditional models often treat these histories as flat sequences, failing to capture the non-linear dependencies inherent in human dialogue. This paper introduces a novel framework that treats Visual Dialog as a structured graph where nodes represent dialog entities and edges represent semantic dependencies. By framing the task as inference in a Markov Random Field (MRF) with missing values, the authors develop a Graph Neural Network (GNN) that iteratively recovers both the conversation's hidden structure and the most likely answer using an Expectation-Maximization (EM) approach.
Introduction
Visual Dialog (VisDial) is a challenging AI task where a model must answer a sequence of questions about an image. To do this well, the model needs to understand the image context, the current question, and the entire conversation history.
Most previous approaches treated the dialog history as a flat sequence or used simple attention mechanisms to find relevant bits of the past. However, human conversation is rarely linear; a question in round 5 might refer directly to an object mentioned in the initial caption or a specific detail from round 2. The authors argue that existing models fail to capture these "rich relational" structures. They aim to move beyond monolithic vector representations toward a system that can explicitly reason about how different parts of a conversation relate to one another.
Methodology: The EM-GNN Framework
The researchers propose a novel GNN-based framework inspired by the Expectation-Maximization (EM) algorithm.
- Graph Representation: They represent the dialog as a graph where each node is a dialog entity (the image caption, previous question-answer pairs, and the current question). The answer to be predicted is treated as a node with a "missing value."
- Markov Random Field (MRF): They model the joint probability of all nodes using an MRF. In this setup, the "values" of the nodes are their semantic embeddings, and the "edges" are the weights representing how much one node depends on another.
- The EM-GNN Solution: Since the graph structure (which nodes relate to which) and the missing answer are both unknown, they use an iterative process:
- E-step (Inference): The model performs neural message passing (similar to Belief Propagation) to update node embeddings based on the current graph structure. This refines the "hidden state" of the unobserved answer node.
- M-step (Learning Structure): The model updates the edge weights (the dialog structure) by looking at the current node embeddings. It uses a "link function" (a dot product of transformed features) to estimate how strongly two nodes should be connected.
Key Insights
- Dialog as a Latent Graph: The most powerful idea here is that dialog structure is a "latent variable." We don't have labels for which sentences relate to which, but the model can infer this structure in an unsupervised way to improve its reasoning.
- Iterative Refinement: Unlike "one-shot" attention models, the EM-style iterations allow the model to change its mind. As it gets a better idea of what the answer might be, it can re-evaluate which parts of the history were actually relevant.
- Interpretability: Because the model explicitly calculates edge weights between dialog entities, we can visualize the "Dialog Structure." For example, if a question asks about "the chair," the model successfully learns to put high weight on previous rounds where "the desk" or "the furniture" were mentioned.
Experimental Results
The proposed model, VisDial-GNN, achieved state-of-the-art or highly competitive results across all metrics:
- VisDial v1.0: It significantly outperformed previous baselines, achieving a Mean Reciprocal Rank (MRR) of 0.6137 (compared to 0.5707 for the best baseline at the time).
- VisDial-Q: The model proved its versatility by outperforming specialized "questioner" models, reaching an MRR of 0.4126.
- Ablation Studies: The authors found that performing 3 EM iterations provided the best balance of performance. Using a "constant graph" (where all nodes are equally connected) performed significantly worse, proving that learning the specific structure of the conversation is vital.
Conclusion and Future Work
While the EM-GNN framework offers significant improvements in reasoning over dialog history, it comes with increased computational complexity due to iterative message passing. Future work could explore more efficient graph pruning for long conversations or extending the model to generative settings where answers are synthesized rather than retrieved. Additionally, incorporating visual regions as graph nodes could further enhance the model's visual grounding capabilities.
Summary updated