English

Towards Textual Out-of-Domain Detection without In-Domain Labels

Computation and Language 2022-03-23 v1 Artificial Intelligence Machine Learning

Abstract

In many real-world settings, machine learning models need to identify user inputs that are out-of-domain (OOD) so as to avoid performing wrong actions. This work focuses on a challenging case of OOD detection, where no labels for in-domain data are accessible (e.g., no intent labels for the intent classification task). To this end, we first evaluate different language model based approaches that predict likelihood for a sequence of tokens. Furthermore, we propose a novel representation learning based method by combining unsupervised clustering and contrastive learning so that better data representations for OOD detection can be learned. Through extensive experiments, we demonstrate that this method can significantly outperform likelihood-based methods and can be even competitive to the state-of-the-art supervised approaches with label information.

Keywords

Cite

@article{arxiv.2203.11396,
  title  = {Towards Textual Out-of-Domain Detection without In-Domain Labels},
  author = {Di Jin and Shuyang Gao and Seokhwan Kim and Yang Liu and Dilek Hakkani-Tur},
  journal= {arXiv preprint arXiv:2203.11396},
  year   = {2022}
}

Comments

Accepted by IEEE/ACM Transactions on Audio Speech and Language