IDAS: Intent Discovery with Abstractive Summarization

Maarten De Raedt, Fréderic Godin, Thomas Demeester, Chris Develder

Abstract

Intent discovery is the task of inferring latent intents from a set of unlabeled utterances, a critical step in the efficient creation of conversational agents. We present IDAS (Intent Discovery with Abstractive Summarization), a novel framework that outperforms recent competitive methods by clustering utterances based on abstractive summaries, or "labels," that retain core functional elements while removing linguistic noise. IDAS leverages Large Language Models (LLMs) to generate these labels through a bootstrapped In-Context Learning (ICL) procedure. Our approach achieves state-of-the-art performance in unsupervised tasks across multiple benchmarks, including Banking, StackOverflow, and Transport datasets, and even surpasses semi-supervised methods on the CLINC benchmark without requiring labeled data.

Introduction

In conversational AI, identifying the underlying intent of user queries (e.g., "Where is my money?" vs. "I haven't received my paycheck") is essential for building effective chatbots. However, natural language is inherently messy; variations in syntax, vocabulary, and filler words often distract traditional sentence encoders. These encoders map utterances into a vector space where similar intents should be proximal, but non-essential linguistic features frequently lead to poor clustering. IDAS addresses this by shifting the focus from complex encoder training to input text refinement through abstractive summarization.

The IDAS Framework

The IDAS approach follows a structured four-step pipeline designed to "denoise" user utterances into their functional cores before final clustering.

The four-step IDAS pipeline: initial clustering, label generation via LLM, encoding/smoothing, and final clustering.

1. Initial Clustering & Prototyping

Raw utterances are first encoded using a frozen, pre-trained model (e.g., MPNET) and grouped via K-means clustering. The utterances closest to each cluster's centroid are selected as "prototypes"—representative examples of potential latent intents.

2. Label Generation via In-Context Learning (ICL)

An LLM is prompted to generate short, descriptive labels for these prototypes. Subsequently, using In-Context Learning, the LLM generates labels for the remainder of the dataset. By providing a few labeled prototypes as examples, the LLM is guided to "classify" new utterances into a similar, concise label format. This process effectively acts as a high-pass filter, discarding syntactic "fluff" to focus on the speaker's functional goal.

3. Encoding and Smoothing

Each utterance is represented by a combined vector $\phi_{AVG}$, which is the average of the original utterance encoding and its LLM-generated label encoding. To further mitigate noise, IDAS applies non-parametric smoothing ($\phi_{SMOOTH}$), where an utterance's vector is averaged with its $n'$ nearest neighbors. The optimal $n'$ is determined automatically using silhouette scores.

4. Final Intent Discovery

A final K-means clustering is performed on these smoothed, combined representations to reveal the underlying intents. Unlike many competitors, IDAS utilizes a frozen encoder, avoiding expensive domain-specific fine-tuning.

Experimental Results

IDAS was evaluated on four diverse benchmarks: Banking (77 intents), StackOverflow (20 topics), CLINC (150 intents), and a private Transport dataset (42 intents).

  • Unsupervised Performance: IDAS established a new state-of-the-art on the Banking, StackOverflow, and Transport datasets. Notably, it achieved a +7.42% absolute gain in Adjusted Rand Index (ARI) on the Transport dataset compared to the previous best method (MTP-CLNN).
  • Comparison to Semi-Supervised Methods: On the CLINC benchmark, IDAS—operating in a completely unsupervised mode—outperformed established semi-supervised methods (DAC and SCL+PLT) that had access to labels for up to 50% of the intents.
  • Ablation Studies: Results confirmed that combining the raw utterance with the generated label ($\phi_{AVG}$) consistently yielded superior results compared to using either component in isolation, suggesting that raw text provides necessary context that summaries might occasionally omit.

Discussion and Conclusion

IDAS demonstrates that abstractive summarization is a powerful tool for intent discovery. By forcing an LLM to describe a query in five words or fewer, the model produces "noisy" labels that are consistently structured, pulling similar intents together in the vector space. While the approach currently relies on high-performance LLMs like GPT-3, which can be computationally expensive, it proves that a general-purpose frozen encoder can outperform fine-tuned models if the input text is appropriately abstracted. Future work will explore the efficacy of modern open-source models and methods to mitigate potential LLM biases in label generation.

Summary updated

BibTeX
@misc{raedt2023idas,
  author = {Maarten De Raedt and Fréderic Godin and Thomas Demeester and Chris Develder},
  title = {{IDAS: Intent Discovery with Abstractive Summarization}},
  year = {2023},
  eprint = {2305.19783},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.19783},
}
Figure