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:
- Pairwise Encoding: A pre-trained BERT model encodes pairs of utterances within a temporal window to estimate initial "reply-to" probabilities.
- Structural Modeling: This core component extracts two key properties:
- 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.
- 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.
- 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.
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.
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