arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.05640cs.CL
收藏

利用ChatGPT生成用于意图分类的难负例域外数据

Generating Hard-Negative Out-of-Scope Data with ChatGPT for Intent Classification

Vanderbilt University(范德堡大学)

Zhijian Li, Stefan Larson, Kevin Leach

AI总结:

针对意图分类器难负例域外检测研究空白,提出用ChatGPT自动生成难负例域外数据的方法,构建5个新数据集并验证其能有效提升分类器的域外检测鲁棒性。

摘要:

意图分类器必须能够识别用户话语不属于任何支持的意图,以避免产生错误且不相关的系统响应。尽管针对意图分类器的域外(OOS)检测已有研究,但此前的工作尚未探究分类器在难负例域外话语(即与域内数据有共同特征但实际属于域外的输入)下的性能变化。我们提出一种利用ChatGPT生成难负例OOS数据的自动化技术。我们使用该技术构建了5个新的难负例OOS数据集,并分别在3个基准意图分类器上进行评估。结果表明,与普通OOS话语相比,分类器更难正确识别难负例OOS话语。最后我们发现,在训练中加入难负例OOS数据可提升模型检测难负例OOS数据和普通OOS数据时的鲁棒性。我们的技术、数据集与评估填补了该领域的重要空白,提供了一种简便低成本的方式来收集难负例OOS数据并提升意图分类器的鲁棒性。

英文摘要:

Intent classifiers must be able to distinguish when a user's utterance does not belong to any supported intent to avoid producing incorrect and unrelated system responses. Although out-of-scope (OOS) detection for intent classifiers has been studied, previous work has not yet studied changes in classifier performance against hard-negative out-of-scope utterances (i.e., inputs that share common features with in-scope data, but are actually out-of-scope). We present an automated technique to generate hard-negative OOS data using ChatGPT. We use our technique to build five new hard-negative OOS datasets, and evaluate each against three benchmark intent classifiers. We show that classifiers struggle to correctly identify hard-negative OOS utterances more than general OOS utterances. Finally, we show that incorporating hard-negative OOS data for training improves model robustness when detecting hard-negative OOS data and general OOS data. Our technique, datasets, and evaluation address an important void in the field, offering a straightforward and inexpensive way to collect hard-negative OOS data and improve intent classifiers' robustness.

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

↑