Introduction
Multi-party chat environments, such as Slack, Discord, or online support forums, often suffer from "thread interleaving," where multiple concurrent discussions create a "spaghetti" of messages. This complexity makes it challenging for automated systems to track dialogue acts or group messages by topic. While previous research has focused on either sentence-level labeling or high-level thread disentanglement, this paper proposes a unified framework that bridges these levels by identifying functional interaction sequences.
Methodology: A Two-Pass Hierarchical Model
The authors introduce a two-pass approach to reconstruct conversation structure, designed to operate "on-line" as messages arrive.
Pass One: Sentences and Sequences
In the first pass, individual utterances are labeled using a "Negotiation" framework derived from systemic functional linguistics. Labels include:
- K1 (Primary Knower): Providing information.
- K2 (Secondary Knower): Requesting information.
- f (Feedback): Social or affective responses.
- o (Other): Non-functional content like typos.
To ensure logical consistency, the model employs Integer Linear Programming (ILP) to enforce sociolinguistic constraints. For example, a rule might dictate that a request (K2) must precede a response (K1), or that a speaker cannot respond to their own request within the same sequence. This ensures the machine's output remains linguistically coherent.
Pass Two: Threads
The second pass clusters the sequences identified in Pass One into broader topical threads. This process utilizes features such as message time delays and TF-IDF cosine similarity to determine thread membership.
Data and Evaluation
The model was evaluated using a corpus of 45 conversations from the Cancer Support Community. The dataset includes groups of varying sizes (2 to 5+ participants), facilitated by professional therapists. This real-world data is characterized by informal language, typos, and complex social interactions, providing a robust test for the model's generalizability.
Results and Discussion
The inclusion of sociolinguistic constraints proved vital. The constrained model achieved an accuracy of 77.7% for individual move labeling, significantly outperforming unconstrained versions. For sequence detection, the model reached a Micro-averaged F-score (MAF) of 0.77, approaching human-level performance (0.82 MAF).
At the thread level, the model achieved a 0.64 MAF. While this matched heuristic baselines, it highlights the ongoing difficulty of capturing high-level topic shifts compared to lower-level interaction patterns. The researchers found that while interaction structure provides a sturdy foundation, high-level coherence remains a "difficult nut to crack."
Conclusion
By modeling interaction sequences as a bridge between individual utterances and topical threads, this research demonstrates that linguistic theory can effectively guide machine learning in complex discourse environments. Future work will focus on improving thread coherence through more sophisticated topic modeling and extending the framework to spoken multi-party interactions and nuanced social behaviors like humor.
Summary updated