Introduction
In Task-Oriented Dialogue (ToD) systems, Intent Detection serves as the critical first step in understanding user requirements. While traditional systems operate under a "closed-world" assumption—recognizing only a predefined set of intents—real-world applications frequently encounter Out-of-Domain (OOD) queries. Generalized Intent Discovery (GID) has emerged as a vital research area to address this, aiming to utilize a limited set of labeled In-Domain (IND) data alongside a larger pool of unlabeled OOD data to automatically discover and classify novel intent categories.
Despite recent progress, current GID methodologies face two primary hurdles. First, they often neglect effective domain adaptation, failing to leverage the vast prior knowledge available in pre-trained models or external sources. Second, the reliance on unsupervised clustering for OOD data often results in noisy pseudo-labels, leading to a "garbage in, garbage out" cycle that degrades model performance. This paper introduces the Consistency-driven Prototype-Prompting (CPP) framework, designed to bridge the gap between "old knowledge" (prior semantic information) and "new knowledge" (patterns within unlabeled target data).
The CPP Framework
The CPP framework operates through a dual-pronged approach that synchronizes LLM-guided knowledge transfer with a robust consistency-driven learning mechanism.
1. Transferring "Old Knowledge" via Prototype-Prompting
To provide the model with a semantic foundation, CPP utilizes a Large Language Model (LLM), specifically DeepSeek-V3, to generate meta-information for each intent category, including names, detailed descriptions, and representative keywords. This information is utilized in two ways:
- Prototype-Optimized Metric Learning: LLM-generated descriptions are embedded to serve as "prototypes." Rather than clustering around abstract centers, the model learns by optimizing the distance between user query embeddings and these high-quality semantic prototypes.
- Prior-Enhanced Prompting: The framework employs "soft verbalizers" that map internal model predictions to actual labels. This process is guided by the LLM-generated keywords and reuses weights from the Masked Language Model (MLM) head, ensuring the model's predictions remain grounded in established semantic meaning.
2. Acquiring "New Knowledge" through Hierarchical Consistency
To extract meaningful patterns from unlabeled OOD data without introducing excessive noise, CPP enforces a consistency principle across multiple levels:
- Data and Prediction Consistency: The model processes two distinct "views" of the same input (generated via dropout). It enforces similarity between the resulting representations and predictions, ensuring the model is robust to minor perturbations.
- Symmetric Cross-Prediction: CPP employs two parallel classifiers—one metric-based and one prompt-based. These classifiers generate pseudo-labels to "teach" one another. This cross-prediction mechanism prevents the model from collapsing into a biased solution inherent to a single classification head.
- Multi-View Contrastive Learning: A standard NT-Xent loss is integrated to pull similar intent representations together in the embedding space while pushing dissimilar ones apart, further refining the discovery of new intent clusters.
Experimental Evaluation
The researchers evaluated the CPP framework against two gold-standard benchmarks: Banking (13,000 samples, 77 intents) and CLINC (22,500 samples, 150 intents). The experiments covered three distinct scenarios: Single-Domain (SD), Cross-Domain (CD), and Multi-Domain (MD). To test the limits of the framework, the authors increased the OOD ratio from the standard 60% to a highly challenging 90%, where the vast majority of intents are previously unseen.
Results and Analysis
CPP demonstrated state-of-the-art performance across all tested benchmarks and scenarios. Key findings include:
- Significant Accuracy Gains: In the Single-Domain setup, CPP improved total accuracy by 8.60% at a 60% OOD ratio and by 9.90% at the 90% OOD ratio compared to the previous best-performing models (E2E and DPL).
- Superior OOD Discovery: On the Banking dataset (60% OOD), CPP achieved an OOD accuracy of 75.05%, a substantial leap from the 62.23% achieved by the previous state-of-the-art.
- Specialization vs. Generalization: Notably, the CPP framework—built on a relatively small BERT-base model—outperformed raw 1-shot prompting of massive models like GPT-4o and DeepSeek-V3 by nearly 5% in overall metrics. This suggests that specialized fine-tuning with semantic scaffolding is more effective for GID than general-purpose prompting.
- Robustness to Data Scarcity: The framework’s performance advantage was most pronounced at the 90% OOD ratio, proving that the "old knowledge" prototypes provide a critical anchor when labeled data is extremely scarce.
Conclusion
The Consistency-driven Prototype-Prompting (CPP) framework successfully addresses the core challenges of Generalized Intent Discovery by treating LLMs as providers of semantic scaffolding rather than simple task-solvers. By enforcing consistency between metric-based and prompt-based learning, CPP mitigates the noise of unlabeled data and achieves superior domain adaptation. Future work will focus on making the framework more lightweight through Parameter-Efficient Fine-Tuning (PEFT) and exploring its performance in extremely low-resource settings where even In-Domain labeled data is minimal.
Summary updated