[论文解读] Beyond the Known: Investigating LLMs Performance on Out-of-Domain Intent Detection
本文评估大型语言模型(LLMs),尤其是 ChatGPT,在任务导向对话的域外意图检测(OOD)上的表现,比较零-shot 与少-shot 提示与传统微调基线,并分析优点、弱点及改进方向。
Out-of-domain (OOD) intent detection aims to examine whether the user's query falls outside the predefined domain of the system, which is crucial for the proper functioning of task-oriented dialogue (TOD) systems. Previous methods address it by fine-tuning discriminative models. Recently, some studies have been exploring the application of large language models (LLMs) represented by ChatGPT to various downstream tasks, but it is still unclear for their ability on OOD detection task.This paper conducts a comprehensive evaluation of LLMs under various experimental settings, and then outline the strengths and weaknesses of LLMs. We find that LLMs exhibit strong zero-shot and few-shot capabilities, but is still at a disadvantage compared to models fine-tuned with full resource. More deeply, through a series of additional analysis experiments, we discuss and summarize the challenges faced by LLMs and provide guidance for future work including injecting domain knowledge, strengthening knowledge transfer from IND(In-domain) to OOD, and understanding long instructions.
研究动机与目标
- 评估 LLMs,特别是 ChatGPT,在 TOD 系统中对 OOD 意图检测的能力。
- 在标准基准上比较 LLM 驱动的提示与传统微调的判别模型。
- 识别在 OOD 设置中影响 LLM 性能的优点、弱点和因素。
- 通过知识注入与迁移,为领域特定的 OOD 任务改进 LLM 提供指南。
提出的方法
- 提出两种基于 LLM 的 OOD 框架:使用 prompts 中的 in-domain priors 的零-shot LLM(ZSD-LLM)和少-shot LLM(FSD-LLM)。
- 在 CLINC 和 Banking 数据集上,将 ChatGPT 与最先进的判别基线(SCL、KNN-CL、UniNL)进行比较。
- 对 IND 意图数量、数据拆分、不同的 LLM 和提示变体进行消融分析,以理解提示效应。
- 通过定性提示、模型比较和错误分类(领域知识冲突、指令长度)分析失败模式。
- 提出未来方向,包括注入领域知识和改进 IND 到 OOD 的知识转移。
实验结果
研究问题
- RQ1LLMs 对 OOD 检测的积极和消极影响有哪些?
- RQ2在 IND 准确率和 OOD 检测方面,LLMs 与传统微调模型相比如何?
- RQ3为什么 LLM 在 OOD 任务中表现出某些优点和弱点?
- RQ4我们如何解决并改进基于 LLM 的 OOD 检测的弱点?
主要发现
- ChatGPT 在没有 IND prior 的零-shot 能力方面表现强劲,但在许多 IND 和 OOD 指标上,当存在大量 IND intents 时,仍然落后于强基线。
- 当 IND intents 较少时,ChatGPT 可以在 IND 准确率上超过某些基线,但 OOD 召回率和 F1 通常落后于判别方法。
- ChatGPT 可以为某些样本输出所期望的 OOD 标签,这是标准判别模型所不具备的能力。
- 随着 IND intents 增多,性能下降,IND 之间的错误分类增多,且有更多 OOD 样本被错误分类为 IND。
- FSD-LLM 可以在小的 IND 集合和充足的演示下击败 UniNL,但当 IND 数量增加时收益减少,过多的演示也会引入噪声。
- GPT-4 通常在 OOD 指标上优于其他 LLMs,而 ChatGPT 在 IND 任务上保持竞争力;提示与模型选择显著影响结果。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。