IntentGPT: Few-shot Intent Discovery with Large Language Models

Juan A. Rodriguez, Nicholas Botzer, David Vazquez, Christopher Pal, Marco Pedersoli +1 more
11/16/2024
cs.CL

No official code found. Best implementation: joanrod/IntentGPT (4 stars, Apache-2.0, last commit 2025-08-23).

Abstract

In today's digitally driven world, dialogue systems play a pivotal role in enhancing user interactions, from customer service to virtual assistants. In these dialogues, it is important to identify user's goals automatically to resolve their needs promptly. This has necessitated the integration of models that perform Intent Detection. However, users' intents are diverse and dynamic, making it challenging to maintain a fixed set of predefined intents. As a result, a more practical approach is to develop a model capable of identifying new intents as they emerge. We address the challenge of Intent Discovery, an area that has drawn significant attention in recent research efforts. Existing methods need to train on a substantial amount of data for correctly identifying new intents, demanding significant human effort. To overcome this, we introduce IntentGPT, a novel training-free method that effectively prompts Large Language Models (LLMs) such as GPT-4 to discover new intents with minimal labeled data. IntentGPT comprises an \textit{In-Context Prompt Generator}, which generates informative prompts for In-Context Learning, an \textit{Intent Predictor} for classifying and discovering user intents from utterances, and a \textit{Semantic Few-Shot Sampler} that selects relevant few-shot examples and a set of known intents to be injected into the prompt. Our experiments show that IntentGPT outperforms previous methods that require extensive domain-specific data and fine-tuning, in popular benchmarks, including CLINC and BANKING, among others.

View on arXivView PDF

Code Implementations(1)

joanrod/IntentGPTCommunity74%
Apache-2.0

IntentGPT: Few-Shot Intent Discovery with Large Language Models

40PythonAug 23, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{rodriguez2024intentgpt,
  title  = {IntentGPT: Few-shot Intent Discovery with Large Language Models},
  author = {Juan A. Rodriguez and Nicholas Botzer and David Vazquez and Christopher Pal and Marco Pedersoli and Issam Laradji},
  year   = {2024},
  eprint = {2411.10670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.10670v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.10670.svg)](https://codeofpaper.com/paper/2411.10670)

Discussion