Abstract
Intent discovery is the task of inferring latent intents from a set of unlabeled utterances, and is a useful step towards the efficient creation of new conversational agents. We show that recent competitive methods in intent discovery can be outperformed by clustering utterances based on abstractive summaries, i.e., "labels", that retain the core elements while removing non-essential information. We contribute the IDAS approach, which collects a set of descriptive utterance labels by prompting a Large Language Model, starting from a well-chosen seed set of prototypical utterances, to bootstrap an In-Context Learning procedure to generate labels for non-prototypical utterances. The utterances and their resulting noisy labels are then encoded by a frozen pre-trained encoder, and subsequently clustered to recover the latent intents. For the unsupervised task (without any intent labels) IDAS outperforms the state-of-the-art by up to +7.42% in standard cluster metrics for the Banking, StackOverflow, and Transport datasets. For the semi-supervised task (with labels for a subset of intents) IDAS surpasses 2 recent methods on the CLINC benchmark without even using labeled data.
Introduction
In conversational AI, intent discovery is the process of grouping unlabeled user messages into meaningful categories. Traditionally, researchers employ unsupervised sentence encoders to map these utterances into a vector space. However, raw text is often noisy; variations in syntax and word choice can cause similar intents to appear distant in vector space, while unrelated messages might appear similar due to shared vocabulary.
The IDAS (Intent Discovery with Abstractive Summarization) framework addresses this by using Large Language Models (LLMs) to "denoise" raw text into concise, intent-focused labels. By transforming messy user utterances into abstract summaries, IDAS effectively filters out non-essential features, leading to more coherent clusters.
Methodology
The IDAS approach follows a multi-step pipeline designed to generate high-quality text representations for clustering:
- Initial Clustering & Prototypes: The raw data is initially clustered to identify "prototypes"—the utterances most representative of potential intents (those closest to the centroids).
- Label Generation:
- Prototype Labeling: An LLM (e.g., GPT-3) is prompted to describe these prototypes in five words or less.
- In-Context Learning (ICL) Bootstrapping: To label the remaining dataset, the LLM uses the labeled prototypes as few-shot demonstrations. This bootstrapping ensures consistency across the dataset.
- Hybrid Encoding & Smoothing: The original utterance and its generated label are encoded and averaged. A non-parametric smoothing step then averages an utterance’s vector with its nearest neighbors to emphasize shared intent features over individual noise.
- Final Clustering: K-means is applied to these refined, smoothed vectors to produce the final intent groups.
Experimental Evaluation
The researchers evaluated IDAS on four diverse benchmarks: Banking (77 intents), StackOverflow (20 technical topics), Transport (42 intents), and CLINC (150 intents).
Key Results
- Unsupervised State-of-the-Art: IDAS achieved significant gains in clustering quality. On the Transport dataset, it improved the Adjusted Rand Index (ARI) by +7.42% over previous leading methods like MTP-CLNN.
- Surpassing Semi-Supervised Models: Notably, on the CLINC dataset, IDAS (using 0% labeled data) outperformed existing semi-supervised methods that had access to 50% of the ground-truth labels.
- Robustness: The method proved resilient to uncertainty in the number of clusters ($K$), maintaining high performance even when $K$ was intentionally overestimated.
Discussion and Conclusion
The success of IDAS highlights the power of abstractive summarization as a denoising tool. By forcing an LLM to summarize an utterance, syntactic "how" is stripped away, leaving the "what" of the intent. LLMs bring extensive world knowledge to this task, such as linking "apr" to "interest rate inquiry," which standard encoders might miss.
While effective, the computational cost of high-end LLMs remains a limitation. Future work will explore the use of smaller, open-source models and methods to dynamically estimate the number of clusters without prior knowledge.
Summary updated