Learning Discriminative Representations and Decision Boundaries for Open Intent Detection

Hanlei Zhang, Hua Xu, Shaojie Zhao, Qianrui Zhou
3/11/2022
cs.CL

Official code: thuiar/TEXTOIR (252 stars, Python, MIT, last commit 2025-11-26).

Abstract

Open intent detection is a significant problem in natural language understanding, which aims to identify the unseen open intent while ensuring known intent identification performance. However, current methods face two major challenges.

Show full abstract

Firstly, they struggle to learn friendly representations to detect the open intent with prior knowledge of only known intents. Secondly, there is a lack of an effective approach to obtaining specific and compact decision boundaries for known intents. To address these issues, this paper presents an original framework called DA-ADB, which successively learns distance-aware intent representations and adaptive decision boundaries for open intent detection. Specifically, we first leverage distance information to enhance the distinguishing capability of the intent representations. Then, we design a novel loss function to obtain appropriate decision boundaries by balancing both empirical and open space risks. Extensive experiments demonstrate the effectiveness of the proposed distance-aware and boundary learning strategies. Compared to state-of-the-art methods, our framework achieves substantial improvements on three benchmark datasets. Furthermore, it yields robust performance with varying proportions of labeled data and known categories.

View on arXivView PDF

Code Implementations(1)

thuiar/TEXTOIROfficial100%
MIT

TEXTOIR is the first opensource toolkit for text open intent recognition. (ACL 2021)

25230Python, CMay 27, 20211 years agoMIT
acl2021artificial-intelligencebertclusteringdeep-neural-networks+5 more

Similar Papers

Cite this paper

@article{zhang2022learning,
  title  = {Learning Discriminative Representations and Decision Boundaries for Open Intent Detection},
  author = {Hanlei Zhang and Hua Xu and Shaojie Zhao and Qianrui Zhou},
  year   = {2022},
  eprint = {2203.05823},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.05823}
}

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

Discussion