You Talking to Me? A Corpus and Algorithm for Conversation Disentanglement

Micha Elsner, Eugene CharniakACL 2008

Abstract

Conversation disentanglement—the task of separating interleaved messages in a multi-party chat into distinct threads—is a critical challenge for natural language processing in social media. This paper introduces the first manually annotated corpus for this task, alongside a graph-theoretic algorithm. By leveraging chat-specific features such as name mentions and discourse cues, the proposed model significantly outperforms standard baselines, achieving performance levels that approach human agreement in local message grouping.

Introduction

In high-volume chat environments like Internet Relay Chat (IRC), multiple conversations often occur simultaneously. For humans, following these threads is intuitive, but for machines, the interleaved nature of messages creates a significant hurdle. Previous research often simplified the problem by clustering speakers, assuming a one-to-one mapping between users and topics. However, real-world users frequently participate in multiple threads at once. This paper addresses the lack of standardized, annotated data and provides a robust framework for measuring algorithmic performance in "unmixing" digital conversations.

Methodology

The authors frame disentanglement as a two-stage graph partitioning problem. First, a Maximum Entropy (MaxEnt) classifier performs pairwise classification to determine if any two utterances belong to the same conversation. Second, a greedy search algorithm partitions the messages into threads by assigning each new utterance to the most likely existing thread based on classifier scores.

The feature set is the core of the model's success, moving beyond simple temporal proximity to include:

  • Chat-specific features: Explicit name mentions (e.g., "UserA: thanks").
  • Discourse features: Presence of greetings, question marks, or acknowledgments.
  • Content features: Word repetition and technical jargon specific to the Linux-themed dataset.
Distribution of time gaps between consecutive utterances in the same thread, showing a peak at 1-3 seconds on a logarithmic scale.

A key insight is that time gaps between related messages follow a predictable distribution. Using a logarithmic scale for these gaps proved significantly more effective than linear time, as pauses typically peak within seconds and then taper off.

Dataset and Annotation

The researchers curated a dataset from over 52 hours of chat logs from the ##LINUX channel on freenode.net. Seven students manually annotated the threads, establishing a "gold standard." Analysis of human agreement revealed that while annotators agree strongly on local groupings (81% agreement), global agreement is lower (53%) due to varying tendencies to "lump" or "split" related topics.

Results

The model was evaluated against several baselines, including "All Different" (each message is its own thread) and "Speaker" (grouping by author).

Performance comparison of the proposed model against human annotators and various baselines across global (1-to-1) and local (loc3) metrics.

As shown in the results table, the model achieved a 1-to-1 accuracy of 40.62%, surpassing the best baseline of 34.73%. In terms of local agreement ($loc_3$), which measures accuracy within a three-message window, the model reached 72.75%, nearing the human average of 81.09%. Feature ablation studies highlighted that name mentions are the most critical social cue; removing them caused the F-score to drop from 71 to 56.

Conclusion

While the greedy partitioning approach is effective, it remains a simplification of the complex global optimization problem. The model also faces challenges with "schisming"—where side-conversations branch off—and determining the appropriate granularity for threads. Future work may explore hierarchical models to better capture sub-conversations and adapt these features to non-technical or voice-to-text environments.

Summary updated

BibTeX
@inproceedings{elsner2008you,
  author = {Micha Elsner and Eugene Charniak},
  title = {{You Talking to Me? A Corpus and Algorithm for Conversation Disentanglement}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2008},
}
Figure