Structural Characterization for Dialogue Disentanglement

Xinbei Ma, Zhuosheng Zhang, Hai Zhao

Abstract

Multi-party dialogue logs, such as those found in IRC or Slack, often contain multiple interleaved conversation threads, a phenomenon known as "tangling." Traditional models for dialogue disentanglement focus primarily on message content, often neglecting the underlying social and structural dynamics. We present a novel structural modeling approach that explicitly incorporates speaker identity and reference dependencies. By leveraging pre-trained language models alongside structural features, our model achieves a new state-of-the-art on the Ubuntu IRC benchmark, demonstrating significant improvements in identifying long-distance dependencies and enhancing downstream tasks like Question Answering.

Introduction

In multi-party chat environments, multiple users interact simultaneously, leading to a single stream of messages where various topics and sub-conversations are mixed. For automated systems, "untangling" these threads is a critical pre-processing step for understanding context and providing accurate responses. Previous research has largely treated this as a text-matching problem. However, human participants rely heavily on structural cues—knowing who is speaking and who they are addressing—to follow the flow. This paper introduces a model that formalizes these social cues into a structural characterization framework.

Methodology

The proposed architecture moves beyond simple pairwise text encoding to model the dialogue as a social graph. The process consists of three primary stages:

  1. Pairwise Encoding: A pre-trained BERT model encodes pairs of utterances within a temporal window to estimate initial "reply-to" probabilities.
  2. Structural Modeling: This core component extracts two key properties:
  3. Speaker Property: Utilizing Masked Multi-Head Self-Attention (MHSA), the model captures correlations between messages sent by the same user, assuming a level of thematic consistency.
  4. Reference Dependency: A relational Graph Convolutional Network (r-GCN) models explicit mentions (e.g., "@user"), treating the dialogue as a graph where nodes are messages and edges represent explicit references.
  5. Context-Aware Prediction: A Syn-LSTM layer fuses these structural features with raw text embeddings. This allows the model to maintain a representation of conversation flow while prioritizing structural evidence.
The proposed model architecture featuring PrLM encoding, structural modeling (Speaker and Dependency), and Syn-LSTM context-aware prediction.

Experimental Results

The model was evaluated primarily on the Ubuntu IRC dataset, the benchmark standard for dialogue disentanglement. As shown in the results table below, our approach significantly outperforms previous baselines across all metrics.

Performance comparison on the Ubuntu IRC Test and Dev sets. Our model shows substantial gains in F1 and ARI over the BERT baseline and previous SOTA models.

On the Test Set, the F1 score improved from a BERT baseline of 37.2 to 51.7, while the Adjusted Rand Index (ARI) rose from 60.8 to 76.8. These results indicate that structural modeling is particularly effective at bridging long-distance dependencies where semantic similarity alone might fail.

To validate the utility of disentanglement, the model was also applied to downstream tasks. In datasets like Molweni (Machine Reading Comprehension) and DSTC7 (Response Selection), providing the model with a disentangled conversation thread led to measurable performance boosts, confirming that cleaner dialogue structure directly benefits AI reasoning.

Discussion and Conclusion

While the model sets a new state-of-the-art, error analysis reveals that 56.7% of failures are still categorized as "Wrong" without a clear structural cause, suggesting that deeper semantic logic or implicit social cues remain uncaptured. Furthermore, while the model excels in technical support contexts (IRC), its performance on casual social dialogue (e.g., FriendsQA) was less pronounced, likely because social interactions feature fewer explicit references and more fluid speaker roles.

In conclusion, explicitly modeling the "who" in addition to the "what" provides a robust skeleton for dialogue understanding. Future work will explore more subtle social dynamics to improve performance in informal conversational settings.

Summary updated

BibTeX
@inproceedings{ma2022structural,
  author = {Xinbei Ma and Zhuosheng Zhang and Hai Zhao},
  title = {{Structural Characterization for Dialogue Disentanglement}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.23},
}
Figure