TL;DR
This paper introduces "Dial-In LLM," a novel framework that integrates Large Language Models (LLMs) into the intent clustering process for customer service dialogues. By leveraging LLMs for semantic coherence evaluation and intent labeling, their approach achieves significantly improved clustering quality and efficiency, outperforming existing methods.
What Problem Does This Paper Address?
Automated customer service agents rely heavily on understanding user intentions (intent discovery). Traditional methods for grouping similar user requests (intent clustering) often fall short. They typically rely on simple embedding distance metrics, which can miss nuanced semantic differences and linguistic patterns, especially in languages like Chinese. This leads to clusters that don't accurately reflect human understanding. Furthermore, existing benchmarks often lack the semantic diversity and real-world complexity needed to thoroughly evaluate these methods.
Methods
The core of the proposed "Dial-In LLM" framework is an LLM-in-the-loop (LLM-ITL) approach. Instead of just using LLMs to refine embeddings, this method integrates LLMs into the iterative clustering process itself. Key LLM utilities include:
- Semantic Coherence Evaluation: Fine-tuned LLMs assess whether sentences within a cluster genuinely share the same intent, acting as a more human-aligned quality check than simple distance metrics.
- Intent Cluster Naming: LLMs generate concise, "Action-Objective" style labels for each cluster, making them more interpretable.
- Iterative Clustering: The framework iteratively discovers coherent intent clusters and determines the optimal number of clusters. It uses a local search heuristic to maximize a "good/bad" cluster ratio.
- Context-Aware Role Separation: To further refine clustering, the system leverages LLM-generated intent labels to distinguish between customer and agent utterances, clustering them separately before merging.
- Post-Correction with LLM-Generated Labels: A semantic affinity graph is built using LLM-generated intent labels, allowing for robust merging of semantically similar clusters.
Datasets
The authors introduce a comprehensive Chinese dialogue intent dataset comprising over 100,000 real customer service calls. This dataset features 1,507 human-annotated intent clusters, notable for their high semantic diversity and inclusion of noisy, out-of-domain queries. This new benchmark aims to address the limitations of existing English-centric datasets in terms of semantic coverage and real-world complexity.
Key Insights and Ideas
- LLMs as Semantic Judges: Fine-tuned LLMs are surprisingly effective at judging semantic coherence and generating human-aligned intent labels, outperforming traditional metrics.
- Iterative Refinement is Key: Integrating LLMs into an iterative loop, rather than a one-off application, allows for a more dynamic and accurate discovery of intent clusters.
- "Action-Objective" Naming is Powerful: This specific naming convention proves highly effective for customer service dialogues, capturing the essence of user intents.
- Context Matters: Leveraging dialogue roles (customer vs. agent) significantly improves clustering performance, demonstrating the value of task-specific adaptations.
- Binary Judgment is Superior: For coherence evaluation, a simple "Good/Bad" binary judgment from LLMs is more consistent and reliable than numerical scoring systems.
Key Results
- The proposed LLM-ITL framework achieved significant improvements in clustering quality, with an 18.46% performance gain in downstream applications compared to LLM-guided baselines.
- Fine-tuned LLMs demonstrated over 95% accuracy in semantic coherence evaluation and intent cluster naming, aligning well with human judgments.
- The context-aware LLM-ITL approach consistently improved NMI by 4.48% without compromising goodness scores.
- The new Chinese dataset is the largest of its kind, offering a more challenging and realistic benchmark for intent clustering.
Limitations and Future Work
The authors acknowledge several limitations:
- Beyond Coherence: While coherence is important, other attributes like "meaningfulness" and "expressiveness" of clusters are also critical and not fully captured.
- Deterministic Metrics: The binary evaluation and numerical scoring used are deterministic and might miss nuanced confidence intervals.
- Dataset Scope: The current dataset is limited to Chinese and specific domains, potentially restricting generalizability.
- Initial Step: Intent clustering is just the first step; future work could explore analyzing intent trajectories and document-level intents.
Promising future directions include:
- Refining evaluation to capture interpretability and expressiveness.
- Extending the framework to multilingual settings.
- Deeper task-centric integration of LLMs for advanced intent mining.
Summary updated