Speaker-Oriented Latent Structures for Dialogue-Based Relation Extraction

Guoshun Nan, Guoqing Luo, Sicong Leng, Yao Xiao, Wei LuarXiv 2021

TL;DR

This paper introduces SOLS, a novel model for dialogue-based relation extraction (DiaRE) that explicitly learns "speaker-oriented latent structures." By doing so, SOLS effectively addresses the challenges of entangled logic and information sparsity inherent in multi-speaker conversations, leading to improved relation extraction performance.

What Problem Does This Paper Address?

Extracting structured relational information from text is a well-established NLP task. However, applying this to dialogues (Dialogue-based Relation Extraction or DiaRE) presents unique challenges. Dialogues are characterized by multiple speakers, often leading to:

  • Entangled Logic: Information relevant to a relation might be spread across multiple turns and speakers, making it difficult to follow a coherent thread. For example, understanding that "S2 is the father of S3" requires piecing together information from different utterances.
  • Information Sparsity: Many conversational utterances are short, repetitive, or contain filler words ("how are you?", "yes"), making it hard to pinpoint the crucial information for relation extraction.
  • Speaker-Centricity: The identity of the speaker is often critical for understanding the context and inferring relationships, a factor that traditional relation extraction models might overlook.

Existing methods, even those for document-level relation extraction, struggle to effectively handle these dialogue-specific complexities.

Methods

The core of SOLS lies in its ability to explicitly model speaker-oriented latent structures. The model comprises four main modules:

  1. Dialogue Encoder: A standard encoder (like BiLSTM or BERT) processes the entire dialogue as a sequence to generate contextualized representations for each token.
  2. SOLS Inducer: This is the novel component. It learns two distinct latent graphs for each pair of arguments (speakers) in a relation. These graphs act as "gates" that can dynamically turn on or off connections between tokens.
  3. Gate Sampling: For each token pair (i, j), a "gate" value $G_{ij}$ is sampled. This sampling process uses a Hard Concrete distribution, which allows for discrete (0 or 1) decisions, effectively highlighting important connections and erasing irrelevant ones.
  4. Speaker-Specific Regularization ($L_s$): A key innovation is a regularization term that encourages sparsity in these latent graphs. This helps the model focus on the most salient speaker-related clues and discard noisy or irrelevant information, directly addressing the information sparsity issue.
  5. SOLS Encoder: A Graph Convolutional Network (GCN) is used to aggregate information from the induced latent graphs. By processing two speaker-specific graphs, the GCN captures speaker-oriented contextual representations.
  6. Classifier: A simple MLP module takes the aggregated speaker representations and predicts the relation between the arguments.

Datasets

The paper evaluates SOLS on three dialogue-based relation extraction datasets:

  • DialogRE-EN: The English version, derived from the TV series "Friends."
  • DialogRE-CN: The Chinese translation of DialogRE-EN.
  • Medical Information Extractor (MIE): A dataset focused on doctor-patient dialogues from a Chinese medical consultation website.

The authors use standard data splits for these datasets.

Key Insights and Ideas

  • Speaker Identity Matters: The paper strongly advocates for explicitly modeling speaker information in dialogue relation extraction, showing that this leads to significant performance gains over models that treat dialogues as monolithic text.
  • Latent Structures as Dynamic Gates: The use of sampled "gates" (close to 0 or 1) to control token dependencies is a clever way to dynamically build context-aware graphs, adapting to the specific dialogue and relation.
  • Controlled Sparsity for Clarity: The speaker-specific regularization term is crucial for filtering out noise and focusing on relevant cues, a vital step in handling the information sparsity of dialogues.
  • BERT Can Be Further Improved: Even powerful pre-trained models like BERT can benefit from explicit speaker-oriented structure induction, suggesting that current BERT-based DiaRE models might not be fully leveraging dialogue-specific characteristics.

Key Results

SOLS consistently outperforms various baselines across the three datasets.

  • Against Sequence-based Models: SOLS (with a BiLSTM encoder) achieved improvements of over 9 points in F1 and F1c scores on DialogRE-EN and DialogRE-CN compared to models like CNN, LSTM, and BiLSTM.
  • Against Rule-based Models: SOLS consistently outperformed models like C-GCN, GCNN, EoG, and DHGAT, demonstrating the flexibility of its learned latent structures over static rules.
  • Against Latent Graph Models: SOLS showed significant improvements over models like AGGCN, LSR, and GDPNet, highlighting the advantage of its speaker-oriented approach. For instance, it achieved a 2.1-point improvement in F1 over GDPNet on DialogRE-EN.
  • Against BERT-based Models: SOLS, when integrated with BERT, improved performance by 8.2, 6.0, and 5.6 points in F1 over BERT, BERTS, and DHGAT respectively on DialogRE-EN. It also outperformed SpanBERT.
  • Ablation Studies: Removing the speaker-oriented regularization ($L_s$) led to a performance drop, and removing one of the two speaker-specific latent graphs also significantly decreased performance, validating the contribution of each component.

Limitations and Future Work

  • Complexity of Combining Models: The paper notes that combining SOLS with models like GDPNet (which already uses multi-view graphs) resulted in inferior performance, suggesting that the complexity of integrating multiple latent graph structures needs further investigation.
  • Generalization to Other Tasks: The authors express interest in generalizing SOLS to other information extraction tasks like event detection and named entity recognition in conversational settings.
  • Cross-Modal Applications: Future work could explore applying SOLS to visual and language tasks, such as video question answering and visual dialogues.
  • Robustness: The paper includes a robustness study showing SOLS is more resilient to noise than baselines, but further exploration of robustness in diverse scenarios could be beneficial.

Summary updated

Abstract

Dialogue-based relation extraction (DiaRE) aims to detect the structural information from unstructured utterances in dialogues. Existing relation extraction models may be unsatisfactory under such a conversational setting, due to the entangled logic and information sparsity issues in utterances involving multiple speakers. To this end, we introduce SOLS, a novel model which can explicitly induce speaker-oriented latent structures for better DiaRE. Specifically, we learn latent structures to capture the relationships among tokens beyond the utterance boundaries, alleviating the entangled logic issue. During the learning process, our speaker-specific regularization method progressively highlights speaker-related key clues and erases the irrelevant ones, alleviating the information sparsity issue. Experiments on three public datasets demonstrate the effectiveness of our proposed approach.
BibTeX
@misc{nan2021speaker,
  author = {Guoshun Nan and Guoqing Luo and Sicong Leng and Yao Xiao and Wei Lu},
  title = {{Speaker-Oriented Latent Structures for Dialogue-Based Relation Extraction}},
  year = {2021},
  eprint = {2109.05182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.05182},
}
Figure