arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.09469cs.CL
收藏

必要时澄清:通过与语言模型交互解决歧义

Clarify When Necessary: Resolving Ambiguity Through Interaction with LMs

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Michael J. Q. Zhang, Eunsol Choi

AI总结:

提出任务无关框架,通过意图熵估计决定何时向用户提问澄清,在问答、机器翻译和自然语言推理中显著提升性能。

摘要:

通过交互解决歧义是自然语言的一个标志性特征,而建模这一行为是构建人工智能助手的核心挑战。在这项工作中,我们通过提出一个任务无关的框架来研究语言模型中的此类行为,该框架通过向用户提出澄清性问题来解决歧义。我们的框架将这一目标分解为三个子任务:(1)确定何时需要澄清,(2)确定应提出什么样的澄清问题,以及(3)利用通过澄清收集到的新信息准确做出回应。我们在三个自然语言处理应用中评估系统:问答、机器翻译和自然语言推理。对于第一个子任务,我们提出了一种新颖的不确定性估计方法——intent-sim,该方法通过估计用户意图上的熵来确定查询澄清的效用。我们的方法在识别将从澄清中受益的预测方面始终优于现有的不确定性估计方法。当仅允许对10%的示例进行澄清时,我们的系统能够将随机选择示例进行澄清的性能提升翻倍。此外,我们发现intent-sim是稳健的,在广泛的自然语言处理任务和语言模型中均展现出改进。总之,我们的工作为研究语言模型中的澄清交互奠定了基础。

英文摘要:

Resolving ambiguities through interaction is a hallmark of natural language, and modeling this behavior is a core challenge in crafting AI assistants. In this work, we study such behavior in LMs by proposing a task-agnostic framework for resolving ambiguity by asking users clarifying questions. Our framework breaks down this objective into three subtasks: (1) determining when clarification is needed, (2) determining what clarifying question to ask, and (3) responding accurately with the new information gathered through clarification. We evaluate systems across three NLP applications: question answering, machine translation and natural language inference. For the first subtask, we present a novel uncertainty estimation approach, intent-sim, that determines the utility of querying for clarification by estimating the entropy over user intents. Our method consistently outperforms existing uncertainty estimation approaches at identifying predictions that will benefit from clarification. When only allowed to ask for clarification on 10% of examples, our system is able to double the performance gains over randomly selecting examples to clarify. Furthermore, we find that intent-sim is robust, demonstrating improvements across a wide range of NLP tasks and LMs. Together, our work lays foundation for studying clarifying interactions with LMs.

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

↑