Abstract
Traditional Relation Extraction (RE) focuses on formal, well-structured text like news articles or Wikipedia. However, conversational data presents unique challenges, including informal language, frequent pronoun usage, and information distributed across multiple turns. This paper introduces DialogRE, the first human-annotated dataset specifically designed for RE in dialogues. We also propose a speaker-aware BERT model ($BERT_s$) and a novel conversational evaluation metric ($F1_c$) that rewards models for identifying relations earlier in a conversation.
Introduction
Relation Extraction is the task of identifying semantic relationships between entities. While significant progress has been made in formal genres, dialogues remain under-explored. In a dialogue, a relationship often emerges incrementally. For instance, identifying that two speakers are siblings might require synthesizing information from several turns of "small talk." DialogRE provides a benchmark to study these cross-sentence challenges in an informal setting.
Dataset and Annotation
DialogRE consists of 1,788 dialogues from the TV show Friends, containing 10,168 relational triples across 36 relation types. The annotation strategy extends beyond simple triples by including triggers—the specific text spans that provide evidence for a relation.
A key finding is the inherent difficulty of dialogue RE: 95.6% of triples in DialogRE involve multiple sentences, compared to only 40.7% in the Wikipedia-based DocRED dataset. Furthermore, 89.9% of relations involve at least one speaker, highlighting the necessity of tracking speaker identity.
Methodology
To address the unique properties of dialogues, two main innovations were introduced:
- Speaker-Aware BERT ($BERT_s$): Standard models often struggle to track who is speaking. $BERT_s$ replaces speaker names with special tokens (e.g.,
[S1],[S2]). This encourages the model to learn the structural roles of speakers rather than memorizing specific character names, acting as a form of regularization. - Conversational Evaluation ($F1_c$): In practical applications like chatbots, speed of recognition is vital. While standard F1 measures accuracy at the end of a dialogue, $F1_c$ is a conversational version that rewards models for identifying relations using the minimum number of turns possible.
Results
The researchers evaluated several baselines, including CNN, LSTM, and BERT-based models. The results demonstrate that incorporating speaker awareness significantly improves performance.
As shown in the results table, $BERT_s$ achieved a state-of-the-art F1 score of 61.2% on the test set, outperforming standard BERT (58.5%). It also demonstrated superior efficiency on the $F1_c$ metric (55.4%). Despite these gains, a significant gap remains between model performance and human-level accuracy, particularly in identifying triggers and handling asymmetric relations like "boss" vs. "subordinate."
Conclusion
DialogRE establishes a challenging new frontier for Relation Extraction. By focusing on the "who said what" aspect of communication and introducing metrics that value conversational efficiency, this work paves the way for more robust and responsive dialogue systems. Future research may expand into multimodal extraction or temporal relation tracking to further capture the complexity of human interaction.
Summary updated