UniNL: Aligning Representation Learning with Scoring Function for OOD Detection Via Unified Neighborhood Learning

Yutao Mou,Pei Wang,Ke He,Yue Wu,Jingang Wang,Wei Wu,Xu Wang
DOI: https://doi.org/10.18653/v1/2022.emnlp-main.494
2022-01-01
Abstract:Detecting out-of-domain (OOD) intents from user queries is essential for avoiding wrong operations in task-oriented dialogue systems.The key challenge is how to distinguish indomain (IND) and OOD intents.Previous methods ignore the alignment between representation learning and scoring function, limiting the OOD detection performance.In this paper, we propose a unified neighborhood learning framework (UniNL) to detect OOD intents.Specifically, we design a K-nearest neighbor contrastive learning (KNCL) objective for representation learning and introduce a KNNbased scoring function for OOD detection.We aim to align representation learning with scoring function.Experiments and analysis on two benchmark datasets show the effectiveness of our method.
What problem does this paper attempt to address?