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

Yutao Mou, Pei Wang, Keqing He, Yanan Wu, Jingang Wang +2 more
10/19/2022
cs.CL

Official code: Yupei-Wang/UniNL (0 stars, last commit 2022-10-11).

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 in-domain (IND) and OOD intents.

Show full abstract

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 KNN-based 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.

View on arXivView PDF

Code Implementations(1)

Yupei-Wang/UniNLOfficial100%
00Oct 11, 20224 years ago

Similar Papers

Cite this paper

@article{mou2022uninl,
  title  = {UniNL: Aligning Representation Learning with Scoring Function for OOD Detection via Unified Neighborhood Learning},
  author = {Yutao Mou and Pei Wang and Keqing He and Yanan Wu and Jingang Wang and Wei Wu and Weiran Xu},
  year   = {2022},
  eprint = {2210.10722},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10722}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.10722.svg)](https://codeofpaper.com/paper/2210.10722)

Discussion