Abstract
Open intent classification is a challenging task in dialogue systems. On the one hand, it should ensure the quality of known intent identification. On the other hand, it needs to detect the open (unknown) intent without prior knowledge. Current models are limited in finding the appropriate decision boundary to balance the performances of both known intents and the open intent. In this paper, we propose a post-processing method to learn the adaptive decision boundary (ADB) for open intent classification. We first utilize the labeled known intent samples to pre-train the model. Then, we automatically learn the adaptive spherical decision boundary for each known class with the aid of well-trained features. Specifically, we propose a new loss function to balance both the empirical risk and the open space risk. Our method does not need open intent samples and is free from modifying the model architecture. Moreover, our approach is surprisingly insensitive with less labeled data and fewer known intents. Extensive experiments on three benchmark datasets show that our method yields significant improvements compared with the state-of-the-art methods.
Introduction
In real-world dialogue systems, users often provide inputs that fall outside the pre-defined scope of the system. This presents the Open Intent Classification problem: a system must not only categorize known intents (e.g., "Book a flight") accurately but also identify "open" or unknown intents without misclassifying them as known categories.
Existing systems often face a difficult trade-off. Overly permissive models suffer from high false positives, misclassifying out-of-scope requests as known intents. Conversely, overly strict models may fail to recognize valid variations of known intents. Most current solutions require either hard-to-collect "negative" samples of unknown intents or complex architectural changes. This paper introduces Adaptive Decision Boundary (ADB), a post-processing method that learns a custom "safety bubble" around each known category to minimize open space risk.
Methodology
The ADB approach treats open intent classification as an $(n+1)$-class task, where the $(n+1)^{th}$ class serves as a catch-all for unknown inputs. The process involves two primary stages:
- Pre-training: A standard BERT model is utilized to extract high-level semantic features from utterances, trained using a basic softmax loss on the known intents.
- Adaptive Decision Boundary (ADB): Instead of flat linear separators, the model calculates a centroid for each known intent in the feature space and learns a spherical decision boundary (a radius $\Delta$) for each class.
To optimize these boundaries, the authors introduced a balanced loss function that addresses two competing goals: Empirical Risk (ensuring the boundary includes valid known samples) and Open Space Risk (ensuring the boundary is tight enough to exclude unknown intents). During inference, any input falling outside the spheres of all known intents is labeled as "open."
Experimental Setup
The model was evaluated on three real-world benchmarks:
- BANKING: 77 fine-grained intents from the banking domain.
- OOS (Out-of-Scope): 150 intents specifically designed for out-of-scope prediction.
- StackOverflow: 20 classes of technical question titles, where open intents are often semantically similar to known ones.
Key Results and Insights
ADB consistently outperformed state-of-the-art baselines, including OpenMax and DOC, across all datasets.
Major Findings:
- Superiority of Spherical Boundaries: Bounded spherical areas are more effective than traditional "half-space" planes at reducing open space risk, as they do not leave infinite empty space for unknown samples to occupy.
- Robustness to Data Scarcity: ADB remains effective even when only a small fraction (e.g., 25%) of intents are known or when labeled data is limited. On StackOverflow with only 25% known intents, ADB achieved 86.72% accuracy, nearly doubling the performance of the next best baseline, DeepUnk (47.84%).
- Balanced Performance: Unlike models that sacrifice known-intent accuracy to catch unknowns, ADB improves performance on both fronts simultaneously. On the OOS dataset (75% known), ADB reached an F1-score of 88.53%, significantly higher than the standard MSP method (82.38%).
Conclusion and Future Work
ADB provides a simple yet powerful post-processing step that can be applied to existing pre-trained models without redesigning the underlying neural network. While highly effective, the method's performance is dependent on the quality of BERT-extracted features and the assumption that intent clusters are roughly spherical. Future research may explore more complex boundary shapes and the application of ADB to multi-label classification scenarios.
Summary updated