Abstract
Dialogue relation extraction (DRE) aims to detect the relation between two entities mentioned in a multi-party dialogue. It plays an important role in constructing knowledge graphs from conversational data increasingly abundant on the internet and facilitating intelligent dialogue system development. The prior methods of DRE do not meaningfully leverage speaker information—they just prepend the utterances with the respective speaker names. Thus, they fail to model the crucial inter-speaker relations that may give additional context to relevant argument entities through pronouns and triggers. We, however, present a graph attention network-based method for DRE where a graph, that contains meaningfully connected speaker, entity, entity-type, and utterance nodes, is constructed. This graph is fed to a graph attention network for context propagation among relevant nodes, which effectively captures the dialogue context. We empirically show that this graph-based approach quite effectively captures the relations between different entity pairs in a dialogue as it outperforms the state-of-the-art approaches by a significant margin on the benchmark dataset DialogRE.
Introduction
Extracting meaningful relationships from a conversation is a task humans perform instinctively. However, for artificial intelligence, Dialogue Relation Extraction (DRE) presents significant hurdles. Unlike standard text found in Wikipedia or medical journals, dialogue is often messy, characterized by referential ambiguity (e.g., "he," "she," "it"), low information density (e.g., filler words like "uhm"), and long-distance dependencies where a trigger word might appear many turns after the entities it describes.
Researchers from the DeCLaRe Lab at SUTD have proposed a novel approach to this problem by treating dialogue not as a flat sequence of words, but as a complex, multi-layered graph. Their model, the Heterogeneous Graph Attention Network (HGAT), explicitly models the interactions between speakers, entities, and utterances to capture the rich context of human conversation.
Methodology
The core of the HGAT approach is the construction of a heterogeneous graph where nodes represent different types of information, including utterance nodes, speaker nodes, word nodes, entity type nodes, and argument nodes.
Graph Attention and Meta-Paths
Information flows through this graph via a specific message propagation strategy. By using "meta-paths"—such as utterances updating speakers, which then update entity types—the model can perform complex reasoning. For instance, if a speaker mentions a "daughter," this information aggregates at the speaker node and propagates to any person entities mentioned later, helping the model infer a parent-child relationship.
Experimental Setup
The model was evaluated on DialogRE, the first large-scale DRE dataset. Derived primarily from transcripts of the TV show Friends, DialogRE contains 1,073 training dialogues and over 10,000 relational triples across 36 relation types, such as per:parents, per:spouse, and per:alumni.
Results and Discussion
The HGAT model demonstrated superior performance compared to several strong baselines, including CNN, LSTM, and previous graph-based models like LSR.
As shown in the results, HGAT achieved an F1 score of 56.1% on the test set, outperforming the previous state-of-the-art (BiLSTM at 48.6%) by a significant margin. Key insights from the study include:
- Speaker Anchoring: Explicitly modeling speakers as nodes allows the model to aggregate information across non-consecutive turns, regardless of how many turns passed in between.
- Shortening the Distance: The graph structure reduces the "distance" between related entities that might be separated by many words in a linear sequence. Two entities mentioned minutes apart might be only two "hops" away in the graph.
- Efficiency: Despite the complexity of the graph, the model remains relatively lightweight with only 4.0M parameters, making it more efficient than massive transformer-based alternatives.
Conclusion
The HGAT model represents a significant advancement in Dialogue Relation Extraction by leveraging the inherent structure of conversations. By modeling speakers and entities as distinct nodes in a heterogeneous graph, the system can better navigate the complexities of multi-party dialogue. Future work will focus on mitigating entity bias and exploring latent relations that are inferred rather than explicitly stated.
Summary updated