HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Metric Learning and Adaptive Boundary for Out-of-Domain Detection

Petr Lorenc; Tommaso Gargiani; Jan Pichl; Jakub Konrád; Petr Marek; Ondřej Kobza; Jan Šedivý

Metric Learning and Adaptive Boundary for Out-of-Domain Detection

Abstract

Conversational agents are usually designed for closed-world environments. Unfortunately, users can behave unexpectedly. Based on the open-world environment, we often encounter the situation that the training and test data are sampled from different distributions. Then, data from different distributions are called out-of-domain (OOD). A robust conversational agent needs to react to these OOD utterances adequately. Thus, the importance of robust OOD detection is emphasized. Unfortunately, collecting OOD data is a challenging task. We have designed an OOD detection algorithm independent of OOD data that outperforms a wide range of current state-of-the-art algorithms on publicly available datasets. Our algorithm is based on a simple but efficient approach of combining metric learning with adaptive decision boundary. Furthermore, compared to other algorithms, we have found that our proposed algorithm has significantly improved OOD performance in a scenario with a lower number of classes while preserving the accuracy for in-domain (IND) classes.

Code Repositories

tgargiani/adaptive-boundary
Official
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
open-intent-detection-on-banking-77-50-knownMetric learning + Adaptive Decision Boundary
1:1 Accuracy: 83.78
F1-score: 84.93
open-intent-detection-on-banking-77-75-knownMetric learning + Adaptive Decision Boundary
1:1 Accuracy: 84.4
F1-score: 88.39
open-intent-detection-on-banking77-25-knownMetric learning + Adaptive Decision Boundary
1:1 Accuracy: 85.71
F1-score: 78.86
open-intent-detection-on-oos-25-knownMetric learning + Adaptive Decision Boundary
1:1 Accuracy: 91.81
F1-score: 85.9
open-intent-detection-on-oos-50-knownMetric learning + Adaptive Decision Boundary
1:1 Accuracy: 88.81
F1-score: 89.19
open-intent-detection-on-oos-75-knownMetric learning + Adaptive Decision Boundary
1:1 Accuracy: 88.54
F1-score: 92.21

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp