Towards Open Environment Intent Prediction

Yunhua Zhou, Jiawei Hong, Xipeng Qiu

Introduction

In modern Task-Oriented Dialogue (TOD) systems, such as virtual assistants, accurately identifying user intent is critical. However, traditional systems often struggle in "open environments" where users may issue requests outside the pre-defined training scope. Conventional approaches typically treat this as two separate problems: Out-of-Domain (OOD) intent classification, which simply rejects unknown requests, and New Intent Discovery (NID), which clusters unlabeled data into groups without semantic context.

Researchers from Fudan University have introduced Open Environment Intent Prediction (OEIP), a unified framework that bridges this gap. Instead of merely rejecting unknown inputs, OEIP leverages generative models to identify OOD intents, generate descriptive semantic labels, and cluster them into meaningful new categories without requiring a predefined number of clusters.

The OEIP Framework

The proposed method shifts from a discriminative paradigm to a generative one, utilizing architectures like BART and T5. The framework is divided into two primary phases: Classification and Discovery.

Overview of the Open Environment Intent Prediction (OEIP) framework, illustrating the transition from classification of known intents to the discovery and labeling of new ones.

Core Methodologies

  1. Prompt-based Prefix-Tuning: To avoid the "overfitting trap" common in full fine-tuning, the authors employ prefix-tuning. By freezing the core parameters of the pre-trained language model (PLM) and only training a small set of prefix parameters, the system preserves the model's broad semantic knowledge. This allows for more diverse and accurate label generation for unseen intents.
  2. Label Extension with LLMs: To address "Inherent Label Uncertainty"—where a single intent can be described by various synonymous phrases—the researchers use Large Language Models (LLMs) like ChatGPT to expand the label space. For instance, a base label like "Card-not-working" is augmented with variations like "Card-malfunctioning," creating more robust decision boundaries.
  3. Minimum Cost Multi-Cut Discovery: For grouping new intents, the system represents samples as nodes in a graph, with edges weighted by the similarity of their generated labels. A "Multi-Cut" algorithm then partitions the graph into an optimal number of clusters automatically, removing the need for users to specify a cluster count ($K$) in advance.

Key Insights: The Overfitting Trap

A significant finding of this research is the detrimental effect of standard model fine-tuning on intent discovery. Traditional fine-tuning often causes the model to "overfit" to the specific vocabulary of the training set, significantly shrinking its output diversity.

Comparison of word distribution on the BANKING dataset, showing how prefix-tuning maintains higher semantic diversity compared to standard model tuning, which suffers from overfitting.

As shown in the word distribution analysis, prefix-tuning acts as a safeguard for "semantic diversity." By maintaining a wider vocabulary outside of the training labels, the model remains capable of describing novel intents effectively, whereas standard tuning restricts the model's descriptive power to known categories.

Experimental Results

The OEIP framework was evaluated on the CLINC (150 intents across 10 domains) and BANKING (77 specialized intents) datasets.

  • OOD Detection: Using a T5 backbone on the CLINC dataset, the model achieved an F1-OOD score of 84.36%, outperforming both standard prefix-tuning (83.02%) and traditional model-tuning (82.18%).
  • Intent Discovery: The generative approach showed dramatic improvements in discovery accuracy. On CLINC, the method reached 48.78% ACC, compared to 33.98% for K-means. On the more challenging BANKING dataset, it achieved 41.51% ACC versus 33.61% for K-means.
  • Semantic Labeling: Qualitatively, the model successfully generated human-readable labels such as "Book-hotel" or "Travel-alert" for newly discovered clusters, providing immediate interpretability that traditional clustering lacks.

Conclusion and Future Work

OEIP represents a significant step toward more adaptive and interpretable dialogue systems. By combining generative labeling with automated clustering, it allows systems to grow alongside user needs. Future research will focus on mitigating error propagation from the OOD detection phase to the discovery phase and further refining the naturalness of autonomously generated labels.

Summary updated

BibTeX
@inproceedings{zhou2023towards,
  author = {Yunhua Zhou and Jiawei Hong and Xipeng Qiu},
  title = {{Towards Open Environment Intent Prediction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.140},
}
Figure