arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.19967cs.CLcs.AIcs.LG
收藏

基于双重编码和基于阈值的再分类的改进域外意图分类

Improved Out-of-Scope Intent Classification with Dual Encoding and Threshold-based Re-Classification

Technological University Dublin(都柏林理工大学);Ireland’s Centre for Applied AI (CeADAR)(爱尔兰应用人工智能中心(CeADAR));S Group(3S集团);Huawei Research Centre(华为研究中心);Amazon Alexa AI(亚马逊Alexa人工智能部门)

Hossam M. Zawbaa, Wael Rashwan, Sourav Dutta, Haytham Assem

AI总结:

提出端到端框架DETER,利用USE和TSDAE双重编码器及阈值再分类机制检测域外意图,在三个数据集上显著提升了已知与未知意图的F1分数。

摘要:

检测域外用户话语对于面向任务的对话和意图分类至关重要。当前方法面临离群点不可预测分布的困难,且通常依赖对数据分布的假设。我们提出了基于阈值的再分类双重编码器(DETER)来解决这些挑战。该端到端框架无需对数据分布做假设或额外后处理步骤,即可高效检测域外意图。DETER的核心利用双重文本编码器,即Universal Sentence Encoder(USE)和基于Transformer的去噪自编码器(TSDAE),生成用户话语嵌入,并通过分支神经架构进行分类。此外,DETER利用自监督生成合成离群点,并整合来自开放域数据集的域外短语,确保为域外检测提供全面的训练集。此外,基于阈值的再分类机制优化了模型的初始预测。在CLINC-150、Stackoverflow和Banking77数据集上的评估证明了DETER的有效性。模型超越了先前的基准,在CLINC-150和Stackoverflow上已知和未知意图的F1分数分别提升达13%和5%,在Banking77上已知和未知意图分别提升16%和24%。

英文摘要:

Detecting out-of-scope user utterances is essential for task-oriented dialogues and intent classification. Current methodologies face difficulties with the unpredictable distribution of outliers and often rely on assumptions about data distributions. We present the Dual Encoder for Threshold-Based Re-Classification (DETER) to address these challenges. This end-to-end framework efficiently detects out-of-scope intents without requiring assumptions on data distributions or additional post-processing steps. The core of DETER utilizes dual text encoders, the Universal Sentence Encoder (USE) and the Transformer-based Denoising AutoEncoder (TSDAE), to generate user utterance embeddings, which are classified through a branched neural architecture. Further, DETER generates synthetic outliers using self-supervision and incorporates out-of-scope phrases from open-domain datasets. This approach ensures a comprehensive training set for out-of-scope detection. Additionally, a threshold-based re-classification mechanism refines the model's initial predictions. Evaluations on the CLINC-150, Stackoverflow, and Banking77 datasets demonstrate DETER's efficacy. Our model outperforms previous benchmarks, increasing up to 13% and 5% in F1 score for known and unknown intents on CLINC-150 and Stackoverflow, and 16% for known and 24% % for unknown intents on Banking77. The source code has been released at https://github.com/Hossam-Mohammed-tech/Intent_Classification_OOS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑