Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Dial-In LLM: Human-Aligned LLM-in-the-loop Intent Clustering for Customer Service Dialogues

About

Discovering customer intentions is crucial for automated service agents, yet existing intent clustering methods often fall short due to their reliance on embedding distance metrics and neglect of underlying semantic structures. To address these limitations, we propose an LLM-in-the-loop (LLM-ITL) intent clustering framework, integrating the language understanding capabilities of LLMs into conventional clustering algorithms. Specifically, this paper (1) examines the effectiveness of fine-tuned LLMs in semantic coherence evaluation and intent cluster naming, achieving over 95% accuracy aligned with human judgments; (2) designs an LLM-ITL framework that facilitates the iterative discovery of coherent intent clusters and the optimal number of clusters; and (3) introduces context-aware techniques tailored for customer service dialogue. Since existing English benchmarks lack sufficient semantic diversity and intent coverage, we further present a comprehensive Chinese dialogue intent dataset comprising over 100k real customer service calls with 1,507 human-annotated clusters. The proposed approaches significantly outperform LLM-guided baselines, achieving notable improvements in clustering quality, cost efficiency, and downstream applications. Combined with several best practices, our findings highlight the prominence of LLM-in-the-loop techniques for scalable dialogue data mining.

Mengze Hong, Wailing Ng, Chen Jason Zhang, Yuanfeng Song, Di Jiang• 2024

Related benchmarks

TaskDatasetResultRank
Intent ClassificationBanking77 (test)
Accuracy77
151
ClusteringBank77
NMI82.32
19
Dialogue Intent ClusteringChinese dialogue intent dataset (test)
NMI Gain11.76
12
retrieval judgmentRAL2M covidqa, expertqa, hagrid, hotpotqa, msmarco (test)
Accuracy49.5
10
Intent ClusteringMassive (I)
NMI0.7812
6
Intent ClusteringCLINC (I)
NMI94.12
6
Intent ClusteringMTOP I
NMI0.7245
6
Showing 7 of 7 rows

Other info

Follow for update