Out-of-Scope Intent Detection with Self-Supervision and Discriminative Training
Li-Ming Zhan, Haowen Liang, Bo Liu, Lu Fan, Albert Y.S. Lam, Xiao-Ming Wu
Abstract
Out-of-distribution (OOD) intent detection is of practical importance in task-oriented dialogue systems. Since the distribution of outlier utterances is arbitrary and unknown in the training stage, existing methods commonly rely on strong assumptions on data distribution such as mixture of Gaussians to make inference, resulting in either complex multi-step training procedures or hand-crafted rules such as confidence threshold selection for outlier detection.In this paper, we propose a simple yet effective method to train an OOD intent classifier in a fully end-to-end manner by simulating the test scenario in training, which requires no assumption on data distribution and no additional post-processing or threshold setting. Specifically, we construct a set of pseudo outliers in the training stage, by generating synthetic outliers using inliner features via self-supervision and sampling OOD sentences from easily available open-domain datasets. The pseudo outliers are used to train a discriminative classifier that can be directly applied to and generalize well on the test task. We evaluate our method extensively on four benchmark dialogue datasets and observe significant improvements over state-of-the-art approaches.The source code has been made available at \url{https://github.com/liam0949/DCLOOS}.
BibTeX
@inproceedings{zhan-etal-2021-scope,
title = "Out-of-Scope Intent Detection with Self-Supervision and Discriminative Training",
author = "Zhan, Li-Ming and
Liang, Haowen and
Liu, Bo and
Fan, Lu and
Lam, Albert Y.S. and
Wu, Xiao-Ming",
editor = "Zong, Chengqing and
Xia, Fei and
Li, Wenjie and
Navigli, Roberto",
booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
month = aug,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.acl-long.273/",
doi = "10.18653/v1/2021.acl-long.273",
pages = "3521--3532"
}