Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Petr Lorenc, Tommaso Gargiani, Jan Pichl, Jakub Konr\'ad, Petr Marek, Ond\v{r}ej Kobza, Jan \v{S}ediv\'y• 2022

Related benchmarks

TaskDatasetResultRank
Out-of-Domain DetectionBANKING77 25% known ratio
Accuracy85.71
8
Out-of-Domain DetectionBANKING77 50% known ratio
Accuracy83.78
8
Out-of-Domain DetectionBANKING77 75% known ratio
Accuracy84.4
8
Out-of-Domain DetectionCLINC150 25% known ratio (test)--
6
Out-of-Domain DetectionCLINC150 50% known ratio (test)--
6
Out-of-Domain DetectionCLINC150 75% known ratio (test)--
6
Showing 6 of 6 rows

Other info

Code

Follow for update