LLM-Guided Lifecycle-Aware Clustering of Multi-Turn Customer Support Conversations

Priyaranjan Pattnayak, Sanchari Chowdhuri, Amit Agarwal, Hitesh Laxmichand Patel2025

Abstract

This paper introduces a sophisticated framework for making sense of the messy, multi-topic world of customer support conversations. By combining Large Language Models (LLMs) with traditional density-based clustering, the authors have built a system that doesn't just group chats once, but manages the entire "lifecycle" of a topic as it evolves. The system achieves significant improvements in cluster quality and stability by monitoring health in real-time and using LLMs to selectively split or merge groups.

The Challenge: Multi-Topic and Evolving Conversations

In cloud service environments, a single customer chat is rarely about just one thing. A user might start by complaining about a virtual machine (Compute), move on to firewall settings (Networking), and end with a question about their invoice (Billing).

Traditional clustering methods (like K-Means or LDA) fail in these environments for two primary reasons:

  1. Coarseness: They usually treat an entire chat as a single data point, leading to "muddy" clusters that overlap multiple service areas.
  2. Static Nature: Support issues change. A new software bug might cause a specific sub-topic to emerge. Traditional systems require a full "re-run" to account for new data, which destroys the historical identity of existing clusters and makes long-term trend tracking impossible.

Methodology: The Lifecycle-Aware Pipeline

The researchers developed a three-phase pipeline designed to handle both the initial structure and the ongoing evolution of support topics.

1. Base Cluster Creation

The process begins by breaking down complex chats into granular, clusterable units. This involves several sub-phases:

  • Segmentation & Extraction: An LLM segments multi-turn chats into domain-specific "themes" and then extracts standalone "concerns" (e.g., "VM crashed").
  • Contrastive Filtering: Redundant concerns are removed using cosine similarity to ensure distinct data points.
  • Localized Clustering: Concerns are classified into seven service groups (Compute, Storage, etc.). Within each group, the system uses UMAP for dimensionality reduction and HDBSCAN for density-based clustering.
Detailed pipeline for chat segmentation, concern extraction, and localized clustering

2. Incremental Clustering

As new chats arrive, the system employs a Hybrid Scoring approach. It first identifies the top 5 most similar existing clusters using fast embedding-based retrieval, then utilizes an LLM to confirm the best match or suggest the creation of a new cluster if the concern is novel.

3. Lifecycle Management

The system continuously monitors metrics like the Davies-Bouldin Index (DBI) and Silhouette Scores. If a cluster's cohesion degrades (measured by a Z-score), the system triggers an LLM-based Split. It also uses LLMs to Merge overlapping clusters and Prune those that have become inactive for over 30 days.

Key Results and Insights

The proposed framework demonstrates that clustering raw chat text is less effective than clustering the underlying intent or concern extracted by an LLM.

  • Metric Superiority: The HDBSCAN + UMAP approach achieved an average Silhouette Score of 0.72 and a DBI of 0.46, vastly outperforming a standard KMeans + BERT baseline (0.28 Silhouette / 1.34 DBI).
  • Stability and Refinement: Over a 90-day window, the system successfully managed 61 splits, 34 merges, and 12 prunes. By performing targeted refinements rather than global re-clustering, the system preserves the identity of stable clusters, allowing analysts to track issue volumes over months.
Clustering metrics (Silhouette Score and DBI) over 90 iterations with active cluster refinements

Conclusion

The framework achieves a 100% improvement in Silhouette Scores and a 65% reduction in the Davies-Bouldin Index compared to traditional methods. Future work will focus on expanding multilingual support and refining the classification of "edge cases" where concerns span multiple service areas. By integrating statistical process control with LLM reasoning, the system provides a scalable solution for dynamic topic modeling in enterprise support environments.

Reference: Pattnayak, P., et al. (2025). LLM-Guided Lifecycle-Aware Clustering of Multi-Turn Customer Support Conversations. Proceedings of IJCNLP-AACL 2025.

Summary updated

BibTeX
@misc{pattnayak2025llm,
  author = {Priyaranjan Pattnayak and Sanchari Chowdhuri and Amit Agarwal and Hitesh Laxmichand Patel},
  title = {{LLM-Guided Lifecycle-Aware Clustering of Multi-Turn Customer Support Conversations}},
  year = {2025},
  doi = {10.18653/v1/2025.ijcnlp-long.170},
}

Loading related content...

Figure