Unsupervised Conversation Disentanglement through Co-Training

Hui Liu, Zhan Shi, Xiaodan Zhu

Abstract

Conversation disentanglement is the task of separating interleaved messages in multi-party chats into coherent topical threads. While supervised models excel at this, they require extensive manual labeling that does not scale across domains. This paper introduces the first fully unsupervised co-training framework that leverages local message-pair relationships and global session context to iteratively improve performance. By bootstrapping from speaker consistency heuristics and using reinforcement learning, our approach achieves results competitive with supervised benchmarks on large-scale dialogue datasets.

Introduction

In modern communication platforms like Slack, Discord, or WhatsApp, multiple conversations often occur simultaneously within a single channel. For AI systems to effectively summarize meetings or suggest relevant responses, they must first "disentangle" these messages into distinct, coherent sessions.

Current state-of-the-art models rely heavily on supervised learning, requiring massive datasets where humans have manually linked messages to threads. This process is expensive and lacks domain portability. This research addresses the challenge by proposing a method to train disentanglement models using only raw, unannotated chat logs.

Methodology: Deep Co-Training

The proposed framework consists of two neural networks that analyze the conversation from different perspectives:

  1. Message-Pair Classifier (Local): A BERT-based model that predicts whether two specific messages belong to the same session.
  2. Session Classifier (Global): A BiLSTM + Attention model that decides if a new message should be appended to an existing session or start a new one.

The Co-Training Loop

Since no ground-truth labels are available, the system uses a bootstrapping process. Initial "pseudo-data" is created based on the heuristic that a single speaker typically stays within one thread for a short duration. DialoGPT is also employed to generate synthetic responses to refine the training set.

The co-training architecture where the message-pair classifier and session classifier iteratively exchange knowledge to improve performance.

The Session Classifier is trained using Reinforcement Learning (Policy Gradient), receiving "rewards" from the Message-Pair Classifier based on the consistency of session assignments with local predictions. Conversely, the Message-Pair Classifier is updated using high-confidence sessions produced by the Session Classifier.

Experimental Setup

The model was evaluated on the Movie Dialogue Dataset, containing over 827,000 messages with varying levels of complexity (2 to 4 intermingled sessions). Although labels exist for this dataset, they were ignored during training to simulate a real-world unsupervised scenario and were only used for final evaluation.

Key Results

The unsupervised co-training approach significantly outperformed standard BERT models fine-tuned only on noisy pseudo-data. Most notably, the model achieved performance levels remarkably close to supervised systems.

Performance comparison of the proposed end-to-end framework against two-step baselines and supervised state-of-the-art models.

As shown in the results, the "Session Classifier + Dt + CT" configuration reached a Shen-F score of 60.44, which is highly competitive with the supervised state-of-the-art score of 64.37 (Liu et al., 2020). Furthermore, the model demonstrated downstream utility in response selection tasks, improving Hits@1 accuracy from 12.98% to 14.50%.

Discussion and Conclusion

The success of this method hinges on the synergy between local and global context. While local relations (e.g., "is message B a reply to A?") provide a strong signal, global context (e.g., "does message B fit the topic of session X?") helps resolve ambiguities.

A key limitation is the reliance on the "one speaker" assumption; performance may degrade in environments where users frequently multitask across threads. Future work may explore semi-supervised extensions, where a small amount of human-labeled data could further steer the unsupervised co-training process.

Summary updated

BibTeX
@misc{liu2021unsupervised,
  author = {Hui Liu and Zhan Shi and Xiaodan Zhu},
  title = {{Unsupervised Conversation Disentanglement through Co-Training}},
  year = {2021},
  eprint = {2109.03199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.03199},
}
Figure