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

先检测再消歧:基于扰动的大语言模型输入歧义检测

Detect Before You Disambiguate: Perturbation-Based Input Ambiguity Detection in LLMs

Arizona State University(亚利桑那州立大学);Toyota InfoTech Labs(丰田信息科技实验室)

Tiejin Chen, Xiaoou Liu, Michael Clifford, Ahmadreza Moradipari, Yitao Chen, Kyungtae Han, Nejib Ammar, Hua Wei

AI总结:

该研究针对LLM常直接回答歧义输入的问题,提出标签保留扰动框架及两类检测器,经四类数据集实验验证,其方法优于相关基线,凸显先检测歧义再消歧的重要性。

摘要:

大语言模型(LLMs)常将歧义输入当作具有单一意图含义来回答,这一问题存在隐患,因为输入歧义是上游不确定性的来源:当提示词存在多种有效解读时,关键问题在于模型是否应直接回答。现有输入不确定性方法常依赖LLM生成的陈述或澄清,但这类转换可能在测量歧义前就已对输入进行消歧。我们提出一种用于输入歧义检测的标签保留扰动框架,其中扰动需贴近原始输入同时保留其标签。我们用两种检测器实例化该原则:基于规则的黑盒扰动库,以及利用模型内部信号的白盒重要性引导方法。在开放域、对话和视觉问答的四个数据集上开展的实验显示,我们的方法优于输出侧不确定性基线和基于LLM释义的扰动基线。我们的结果凸显了在尝试消歧前检测歧义的重要性,代码可在此获取。

英文摘要:

Large language models (LLMs) often answer ambiguous inputs as if they had a single intended meaning. This is problematic because input ambiguity is an upstream source of uncertainty: when a prompt admits multiple valid interpretations, the key question is whether the model should answer directly at all. Existing input uncertainty methods often rely on LLM-generated statements or clarifications, but such transformations may already disambiguate the input before the ambiguity is measured. We propose a label-preserving perturbation framework for input ambiguity detection in which perturbations remain close to the original input while preserving its label. We instantiate this principle with two detectors: a black-box rule-based perturbation library and a white-box importance-guided method using model-internal signals. Experiments across four datasets in open-domain, conversational, and visual QA show that our methods outperform output-side uncertainty baselines and LLM-paraphrase-based perturbation baselines. Our results highlight the importance of detecting ambiguity before attempting to disambiguate it. Our code is available \href{https://github.com/Xiao0o0o/input-ambiguity-detection}{\textcolor{purple}{here}}.

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

↑