Abstract
Visual Dialog is a challenging task requiring an agent to converse about visual content while maintaining context over multiple turns. Traditional models often treat visual and textual inputs as unstructured sets of features, failing to capture the intricate linguistic and spatial relationships inherent in the task. We propose the Graph-over-Graph (GoG) network, a hierarchical architecture that models dialog history, question structure, and image regions as specialized graphs. By sequentially passing information through these graphs—resolving coreferences in history, parsing dependencies in questions, and identifying spatial relations in images—GoG enables structured reasoning. Our approach achieves state-of-the-art results on the VisDial v0.9 and v1.0 benchmarks, highlighting the importance of explicit relational modeling in multi-modal dialog systems.
Introduction
The task of Visual Dialog requires a model to "chat" with a human about an image. To succeed, the model must perform complex cross-modal reasoning. For instance, it must resolve coreferences (e.g., determining that "he" in a current question refers to "the man in the suit" mentioned previously) and understand spatial relationships (e.g., "is he next to the car?").
Existing approaches frequently rely on generic attention mechanisms that treat words or image regions as a "bag of features." These methods often neglect the formal linguistic structure of questions and the explicit links between dialog turns. The GoG network addresses these limitations by introducing a structured, sequential reasoning process across different modalities.
Methodology: The Graph-over-Graph Architecture
The core of the GoG network is a hierarchy of three sequential, "aware" graphs designed to capture specific relational information.
1. H-Graph (History Graph)
The History Graph treats each turn in the dialog history as a node. To track the conversation's topic over time, an external coreference resolution tool is used to build edges between turns that discuss the same entities. This allows the model to maintain a coherent representation of the dialog context.
2. History-aware Q-Graph (Question Graph)
In the Question Graph, each word in the current question serves as a node. Edges are defined by linguistic dependency parsing, which identifies how words relate to one another (e.g., which adjective modifies which noun). This graph is "history-aware": it integrates the summarized representation from the H-Graph into the question nodes, helping the model resolve ambiguous pronouns like "it" or "him" based on the established context.
3. Question-aware I-Graph (Image Graph)
The Image Graph represents object regions detected in the image as nodes. Edges represent spatial relations, such as "inside," "overlap," or relative positioning. This graph is "question-aware": it uses the processed question representation to prune irrelevant visual relations, allowing the model to focus specifically on the objects and relations pertinent to the user's query.
Fusion and Decoding
The structured representations from these three graphs are fused using a multi-modal fusion module. This combined feature set is then passed to either a generative or discriminative decoder to produce the final response.
Experiments and Results
The GoG network was evaluated on the VisDial v0.9 and VisDial v1.0 benchmarks, which contain over 120k dialogs based on COCO images.
Quantitative Performance
GoG demonstrated superior performance in both generative and discriminative settings:
- Generative Setting: On VisDial v1.0, GoG improved the Normalized Discounted Cumulative Gain (NDCG) from 61.61 to 62.63, outperforming strong baselines like KBGN and DAM.
- Discriminative Setting: The model achieved significant gains in Mean Reciprocal Rank (MRR). On the VisDial v1.0 validation set, MRR improved from 61.52 to 62.24.
Human Evaluation
In a human evaluation study, 64% of GoG's responses were rated as indistinguishable from human-generated answers, a significant improvement over the 53% achieved by the previous state-of-the-art model.
Key Insights
- Hierarchical Information Flow: The "Graph-over-Graph" structure mimics human reasoning by using history to clarify the question and the clarified question to filter the image.
- Relational Pruning: By using pruned graphs based on explicit relations rather than fully connected graphs, the model reduces noise and focuses on meaningful connections.
- Importance of Visual Grounding: Ablation studies revealed that the Image Graph (I-Graph) is the most critical component; its removal resulted in the largest performance drop, underscoring the necessity of spatial reasoning for visual grounding.
Conclusion and Future Work
The GoG network demonstrates that explicit relational modeling through hierarchical graphs significantly enhances Visual Dialog performance. While the model relies on external tools for parsing and coreference, which introduces computational overhead, the gains in reasoning capability are substantial. Future work may explore end-to-end learning of these relations or incorporating 3D spatial reasoning to further improve the model's understanding of complex visual scenes.
Summary updated