Introduction
In the development of conversational AI, a common assumption is that users will always provide queries that fall within a predefined set of categories. However, real-world interactions are rarely so predictable. Most task-oriented dialogue systems are built on a "closed-world" assumption, which fails when a user asks something the system wasn't designed to handle. This paper, presented at EMNLP 2019, introduces a comprehensive new dataset and benchmark specifically designed to address this "out-of-scope" (OOS) prediction problem.
The Challenge of Out-of-Scope Queries
When a system encounters a query outside its training domain—such as a banking bot being asked for sports scores—it often attempts to "force-fit" the input into a known intent. This leads to nonsensical responses that degrade user trust. Robust systems must be able to identify when they cannot fulfill a request and respond with a graceful fallback message.
The researchers argue that existing datasets are insufficient for training these fallback mechanisms because they are often too small or lack dedicated OOS examples. To bridge this gap, they developed the CLINC150 dataset.
The CLINC150 Dataset
The core contribution of this work is the CLINC150 dataset, consisting of 23,700 queries. It covers 150 in-scope intents across 10 diverse domains, including Banking, Travel, and Kitchen & Dining. Crucially, it includes 1,200 "reasonable" OOS queries—inputs that a user might realistically say to a virtual assistant but which fall outside the 150 supported intents. The dataset also includes variants to simulate real-world constraints, such as limited training data ("Small") and "Imbalanced" distributions.
Benchmarking and Methodology
The authors evaluated several classification architectures, including traditional models like SVM, deep learning models like CNN and MLP, and state-of-the-art transformers like BERT. They also tested commercial platforms like Google’s DialogFlow and Rasa. Three primary strategies for OOS detection were compared:
- oos-train: Including OOS as an additional intent class during training.
- oos-threshold: Using confidence thresholds to reject low-certainty predictions.
- oos-binary: A two-stage process that first determines if a query is in-scope before classifying the specific intent.
Key Results and Insights
The experimental results highlight a significant performance gap. While modern models like BERT are exceptionally good at identifying known intents, they struggle to recognize what they don't know.
As shown in the results, BERT achieves a near-perfect in-scope accuracy of 96.9%. However, its recall for OOS queries is much lower, typically ranging between 40% and 60%. This "overconfidence gap" means that even the best models still incorrectly handle about half of all off-topic queries. Interestingly, models trained on smaller datasets sometimes showed higher OOS recall, likely because the higher relative proportion of OOS training data made the models more "skeptical" of new inputs.
Conclusion
This research underscores the difficulty of building truly reliable conversational agents. While intent classification for known domains is largely a solved problem, detecting out-of-scope inputs remains a major hurdle. The CLINC150 dataset provides a vital benchmark for the community to move beyond closed-world accuracy and focus on the robust fallback mechanisms necessary for real-world deployment.
Summary updated