Out-of-domain Detection for Natural Language Understanding in Dialog Systems

Yinhe Zheng, Guanyi Chen, Minlie Huang
9/9/2019
cs.CLcs.AIcs.LG

Official code: silverriver/OOD4NLU (10 stars, Python, last commit 2022-05-27).

Abstract

Natural Language Understanding (NLU) is a vital component of dialogue systems, and its ability to detect Out-of-Domain (OOD) inputs is critical in practical applications, since the acceptance of the OOD input that is unsupported by the current system may lead to catastrophic failure. However, most existing OOD detection methods rely heavily on manually labeled OOD samples and cannot take full advantage of unlabeled data.

Show full abstract

This limits the feasibility of these models in practical applications. In this paper, we propose a novel model to generate high-quality pseudo OOD samples that are akin to IN-Domain (IND) input utterances, and thereby improves the performance of OOD detection. To this end, an autoencoder is trained to map an input utterance into a latent code. and the codes of IND and OOD samples are trained to be indistinguishable by utilizing a generative adversarial network. To provide more supervision signals, an auxiliary classifier is introduced to regularize the generated OOD samples to have indistinguishable intent labels. Experiments show that these pseudo OOD samples generated by our model can be used to effectively improve OOD detection in NLU. Besides, we also demonstrate that the effectiveness of these pseudo OOD data can be further improved by efficiently utilizing unlabeled data.

View on arXivView PDF

Code Implementations(1)

Code for paper "Out-of-domain detection for natural language understanding in dialog systems"

100PythonMay 20, 20224 years ago

Similar Papers

Cite this paper

@article{zheng2019outofdomain,
  title  = {Out-of-domain Detection for Natural Language Understanding in Dialog Systems},
  author = {Yinhe Zheng and Guanyi Chen and Minlie Huang},
  year   = {2019},
  eprint = {1909.03862},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.03862}
}

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/1909.03862.svg)](https://codeofpaper.com/paper/1909.03862)

Discussion