Introduction
In modern dialogue systems, the ability to identify when a user's request falls outside a system's predefined capabilities is critical. This task, known as Unknown Intent Detection or Out-of-Distribution (OOD) detection, prevents chatbots from providing confidently incorrect answers. However, two major hurdles persist: the inherent overconfidence of standard softmax classifiers and the difficulty of obtaining representative OOD training data.
This paper introduces GOT (Generate OOD utterances with importance weighTs), a framework that leverages energy-based models and strategic data manipulation to establish a robust boundary between known and unknown intents.
The GOT Framework
To effectively train an OOD detector, the model must encounter "hard" negative examples—sentences that are synthetically similar to known intents but semantically distinct. The GOT framework automates this through three specialized modules:
- Locating Module: This module identifies "intent-related" keywords within an in-distribution (IND) utterance. For example, in the sentence "How much did I spend this week?", it identifies "spend" as the core intent word.
- Generating Module: It replaces these keywords with alternatives that maintain grammatical structure but shift the intent to an unknown category (e.g., changing "spend" to "drink" or "lose").
- Weighting Module: Since synthetic generation can be noisy, this module uses influence functions to assign weights to the generated samples. It downweights samples that might be ambiguous or accidentally overlap with existing IND classes.
Energy-Based Scoring
Rather than relying on standard softmax confidence, which often fails to distinguish between high-entropy and truly unknown inputs, the authors utilize Energy-Based Models (EBMs). By calculating an energy score from the model's raw logits, the system can better map the probability density of the input space. Lower energy scores correspond to higher probability density (IND), while higher energy scores indicate likely OOD inputs. A key advantage of this approach is that it can be applied to existing pre-trained classifiers without requiring structural architectural changes.
Experimental Results
The framework was evaluated on the CLINC150 and SNIPS benchmarks. GOT achieved state-of-the-art results, notably reaching an AUROC of 0.973 on CLINC150.
As shown in the score distribution analysis, the GOT framework significantly reduces the overlap between in-distribution and out-of-distribution samples. By training on "near-OOD" examples, the model learns a more precise decision boundary, leading to a substantial reduction in the False Positive Rate (FPR95), which dropped to 0.114 on the CLINC150 dataset.
Conclusion
The GOT framework demonstrates that high-quality, synthetic "near-miss" data is more effective for OOD detection than generic, unrelated text. By combining targeted data manipulation with energy-based scoring and importance weighting, the system provides a scalable and effective solution for building more reliable and self-aware dialogue agents. Future work will explore more complex manipulation techniques, such as sentence-level insertion and deletion, to further diversify the synthetic OOD space.
Summary updated