Towards Multi-label Unknown Intent Detection

Yawen Ouyang, Zhen Wu, Xinyu Dai, Shujian Huang, Jiajun ChenCOLING 2022

Abstract

Task-oriented dialogue systems often struggle with Out-of-Distribution (OOD) detection when users express multiple intents in a single utterance, particularly when some intents are known and others are not. This paper proposes AIK (All Intents are Known), a novel framework designed to detect these "mixed" unknown intents. By first predicting the total number of intents and then verifying the presence of that many known intents using a distance-based scoring mechanism, AIK significantly improves robustness against over-confident misclassifications.

1. Introduction

In modern dialogue systems like Alexa or Siri, Out-of-Distribution (OOD) detection serves as a critical safety mechanism, identifying requests the system is not trained to handle. Traditional OOD detection assumes a single-label paradigm where each utterance contains exactly one intent. However, real-world user behavior is often multi-label (e.g., "Book a hotel and find a restaurant").

A significant challenge arises with mixed OOD utterances, where an utterance contains both In-Distribution (IND) and OOD intents. Traditional detectors often exhibit "over-confidence," flagging the entire sentence as known because of the high confidence score associated with the IND portion.

Figure 1: Traditional binary classifiers often fail on mixed OOD utterances by focusing on the strongest known match and ignoring unknown components.

2. The AIK Framework

The proposed AIK framework shifts the detection logic from finding a "good match" to ensuring that all predicted intents in an utterance are known. The pipeline consists of four integrated components:

Figure 2: Overview of the AIK architecture, including utterance encoding, intent counting, and label-wise feature extraction.
  1. Utterance Encoding: The system utilizes a pre-trained BERT model to generate high-dimensional contextual embeddings for the input text.
  2. Intent Number Prediction: A Multi-Layer Perceptron (MLP) predicts the total number of intents ($r$) present in the utterance. This "counting" step is crucial for setting the expectation of how many known intents should be found.
  3. Known Intent-wise Extraction: Using a label-wise attention mechanism, the model extracts features specific to every known intent in the library, allowing it to isolate individual intents within a complex sentence.
  4. AIK Scoring: The model calculates the probability density for each known intent using Mahalanobis distance. The final AIK score is derived from the $r$-th highest score. If this score falls below a threshold, the system flags the utterance as OOD, indicating that at least one of the $r$ intents is unknown.

3. Experimental Evaluation

The researchers evaluated AIK on two benchmark multi-label datasets: MixSNIPS (voice assistant domain) and MultiWOZ 2.3 (a complex multi-domain dataset with 52 intents). The test sets were specifically partitioned into "Pure OOD" and "Mixed OOD" to test robustness.

3.1 Key Results

AIK demonstrated state-of-the-art performance, particularly in reducing false positives:

  • FPR95 Reduction: AIK reduced the False Positive Rate at 95% Recall by 12.25% on MultiWOZ 2.3 and 15.29% on MixSNIPS compared to the strongest baselines.
  • Mixed OOD Robustness: On MixSNIPS mixed utterances, AIK maintained an AUROC of 96.06, while traditional energy-based baselines plummeted to 59.76.

4. Discussion and Future Work

The effectiveness of AIK is intrinsically linked to the accuracy of the intent number predictor. While accuracy was high on MixSNIPS (~82%), it dropped to ~53% on the more complex MultiWOZ dataset, highlighting a primary bottleneck. Future research may focus on incorporating linguistic features like verb counts to improve intent counting. Additionally, preliminary experiments with Hierarchical Max-Mahalanobis (HM) centers suggest that accounting for taxonomic relationships between intents (e.g., "Hotel-Book" vs. "Hotel-Info") can further enhance detection performance in complex domains.

5. Conclusion

AIK addresses a critical gap in multi-label intent detection by introducing an intent-counting mechanism combined with distance-based verification. By ensuring that "all intents are known," the framework provides a more reliable safety net for real-world, complex user interactions in task-oriented dialogue systems.

Summary updated

BibTeX
@inproceedings{ouyang2022towards,
  author = {Yawen Ouyang and Zhen Wu and Xinyu Dai and Shujian Huang and Jiajun Chen},
  title = {{Towards Multi-label Unknown Intent Detection}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=CCznbnY9VD-},
}
Figure