Large Language Models Meet Open-World Intent Discovery and Recognition: An Evaluation of ChatGPT

Xiaoshuai Song, Keqing He, Pei Wang, Guanting Dong, Yutao Mou, Jingang Wang, Yunsen Xian, Xunliang Cai, Weiran Xu

Introduction

Most task-oriented dialogue (TOD) systems, such as virtual assistants and customer service bots, operate under a "closed-set" assumption, recognizing only a predefined list of user intentions. However, real-world interactions frequently involve Out-of-Domain (OOD) queries that fall outside these categories. This paper presents a comprehensive evaluation of ChatGPT’s ability to handle "open-world" intent recognition, focusing on two primary tasks: OOD Intent Discovery (grouping unknown queries into new clusters) and Generalized Intent Discovery (GID) (extending a system to recognize both original and newly discovered intents).

Methodology: Prompting for Discovery

To evaluate ChatGPT's performance, the researchers developed three distinct prompting strategies based on the level of prior knowledge provided to the model:

  • Direct Clustering (DC): The model groups unlabeled sentences into a specified number of clusters without additional context.
  • Zero-Shot Discovery (ZSD): The model is provided with known In-Domain (IND) intent names as a "negative constraint," instructing it to find categories that do not overlap with existing ones.
  • Few-Shot Discovery (FSD): The model receives labeled examples of IND intents to help it identify domain-specific patterns and better distinguish OOD samples.
Prompting strategies for OOD discovery including Direct Clustering, Zero-Shot, and Few-Shot methods.

The Generative Pipeline for GID

For the more complex Generalized Intent Discovery task, the authors proposed a generative pipeline that leverages the semantic reasoning of LLMs. Unlike traditional methods that rely on abstract cluster IDs and fine-tuning, this approach prompts ChatGPT to generate natural language descriptions for discovered clusters. These "semantic pseudo-intents" are then integrated with original IND labels to perform joint classification via prompting.

Comparison between previous BERT-based fine-tuning pipelines and the new LLM-based generative pipeline.

Key Insights and Results

The study utilized the Banking (77 fine-grained intents) and CLINC (150 intents across 10 domains) benchmarks. Several critical findings emerged:

  • The Scale Challenge: While ChatGPT performs admirably in small-scale settings (e.g., 88% accuracy for 5 OOD classes), its performance drops significantly as the number of clusters increases. For 15 OOD classes, accuracy fell to ~58%, trailing specialized fine-tuned models like DeepAligned by over 15%.
  • The Few-Shot Paradox: Surprisingly, providing IND examples (FSD) often degraded performance. ChatGPT occasionally struggled to transfer knowledge from known domains to unknown ones, sometimes treating the provided examples as noise.
  • Semantic Labeling vs. Recall: A major advantage of ChatGPT is its ability to provide semantically rich names for discovered clusters. However, it suffers from a "recall problem" where it may fail to assign certain samples to any cluster or mistakenly assign them to multiple clusters—errors rarely seen in discriminative fine-tuned models.
  • GID Performance Gap: In the full GID task, ChatGPT lagged behind state-of-the-art fine-tuned models by 17-23% in accuracy, highlighting that while LLMs are powerful zero-shot reasoners, they do not yet replace task-specific optimization for structured discovery.

Limitations and Future Directions

The researchers identified three primary hurdles for LLMs in this domain:

  1. Context Window Constraints: Large-scale clustering is difficult because thousands of unlabeled queries cannot fit into a single prompt.
  2. Domain Specificity: ChatGPT lacks the deep, niche knowledge required for highly specialized domains (e.g., complex banking regulations) compared to models trained specifically on that data.
  3. In-Context Learning Gaps: Current ICL methods do not effectively bridge the gap between known IND data and unknown OOD discovery.

Future work may involve "manual chains of thought" to guide inference or summarization techniques to condense large datasets into representative "topic words" before clustering, bypassing current token limitations.

Summary updated

BibTeX
@inproceedings{song2023large,
  author = {Xiaoshuai Song and Keqing He and Pei Wang and Guanting Dong and Yutao Mou and Jingang Wang and Yunsen Xian and Xunliang Cai and Weiran Xu},
  title = {{Large Language Models Meet Open-World Intent Discovery and Recognition: An Evaluation of ChatGPT}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.636},
}
Figure