DDRel: A New Dataset for Interpersonal Relation Classification in Dyadic Dialogues

Qi Jia, Hongru Huang, Kenny Q. Zhu

Human communication is deeply contextual. The way we speak to a spouse, a colleague, or a stranger is governed by "language style shifts" that humans navigate intuitively. However, teaching AI to recognize these underlying interpersonal relationships remains a significant hurdle in Natural Language Processing (NLP). Researchers from Shanghai Jiao Tong University addressed this in their AAAI-21 paper by introducing DDRel, a novel dataset designed to benchmark social reasoning in dyadic (two-person) dialogues.

The Challenge of Dyadic Relations

Traditional relation extraction focuses on identifying facts between entities (e.g., "A founded B"). In contrast, interpersonal relation classification seeks to understand the social bond between speakers. This task is difficult because relationships are often implicit and stable over time, revealed through subtle cues across multiple interactions rather than a single sentence.

The authors identify two primary gaps in existing research:

  1. Scope: Most datasets focus on relations between mentioned entities, not the speakers themselves.
  2. Context: Relationships are typically inferred across multiple conversations (cross-session), yet most models analyze only isolated sessions.

The DDRel Dataset

The DDRel dataset consists of 6,300 dyadic dialogue sessions extracted from 300 movie scripts (IMSDb). It includes 694 speaker pairs and over 53,000 utterances. The dataset features a hierarchical taxonomy:

  • 13 fine-grained types: Including Child-Parent, Lovers, Workplace Superior-Subordinate, Opponents, and more.
  • Clustered versions: These 13 types are grouped into 6-class and 4-class (Family, Intimacy, Others, Official) versions to test models at varying difficulties.

Methodology

The researchers defined two tasks: session-level classification (predicting the relationship from a single snippet) and pair-level classification (aggregating information from all available sessions between a pair). Baselines included TextCNN, BiLSTM with attention, and fine-tuned BERT. To improve pair-level performance, they proposed a data augmentation strategy involving "cutting and shuffling" session pieces to help models identify persistent relationship cues.

Key Results: The Human-AI Gap

Experiments revealed a substantial performance gap between state-of-the-art models and human performance, particularly at the pair level.

Comparison of BERT and Human performance across different class granularities at the pair level.

While BERT outperforms simpler neural models, it struggles with fine-grained classification. On the 13-class pair-level task, BERT achieved only ~39.7% accuracy compared to 63.5% for humans. Humans benefit significantly from additional context (pair-level vs. session-level), whereas weaker models often struggle with the increased noise of multiple sessions.

Qualitative Analysis: How Humans Reason

Humans infer relationships by identifying subtle linguistic markers. These include "Address Terms" (e.g., names or titles), "Strong Tones" (indicated by punctuation and word choice), and specific "Keywords" related to social roles or settings.

Example of dialogue cues used to infer interpersonal relationships, such as address terms and keywords.

Models like BERT often fail to capture these nuances, frequently over-predicting majority classes like "Lovers" and missing rarer relations like "Neighbors." This suggests a lack of the "world knowledge" and social commonsense required to interpret professional or familial norms.

Conclusion

DDRel provides a challenging benchmark for moving NLP toward "socially intelligent" systems. Future work must address data imbalance and develop architectures capable of better "memory" and cross-session reasoning to bridge the gap between machine performance and human social intuition.

Summary updated

BibTeX
@inproceedings{jia2021ddrel,
  author = {Qi Jia and Hongru Huang and Kenny Q. Zhu},
  title = {{DDRel: A New Dataset for Interpersonal Relation Classification in Dyadic Dialogues}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i14.17551},
}
Figure