通过上下文扰动表征科学问答中LLM的弃权(不执行)行为
Characterizing LLM Abstention Behavior in Science QA with Context Perturbations
AI总结:
本研究通过上下文扰动探究LLM在科学问答中的弃权(不执行)行为,发现不同模型、上下文及问题类型下弃权(不执行)表现差异大,且无关上下文可能提升弃权(不执行)与任务性能,需优化问答数据集设计与评估。
摘要:
模型在面对不确定性时的正确响应是弃权(不执行)回答问题,以免误导用户。在本研究中,我们探究了大语言模型(LLM)在上下文不足或错误时,对依赖上下文的科学问题选择弃权(不执行)的能力。我们在多种设置下探测模型的敏感性:移除黄金上下文、用无关上下文替换黄金上下文,以及在给定内容之外提供额外上下文。在针对4个问答数据集、6种LLM的实验中,我们发现模型性能在不同模型、不同上下文类型以及不同问题类型间差异极大;尤其是,许多LLM似乎无法通过标准问答提示对布尔型问题选择弃权(不执行)。我们的分析还揭示了弃权(不执行)性能对问答任务准确率的意外影响。与直觉相反,在某些设置下,用无关上下文替换黄金上下文或向黄金上下文中添加无关内容,能够提升弃权(不执行)性能,进而带来任务性能的提升。我们的结果表明,需要对问答数据集的设计与评估方式做出调整,以更有效地评估模型弃权(不执行)的正确性及其下游影响。
英文摘要:
The correct model response in the face of uncertainty is to abstain from answering a question so as not to mislead the user. In this work, we study the ability of LLMs to abstain from answering context-dependent science questions when provided insufficient or incorrect context. We probe model sensitivity in several settings: removing gold context, replacing gold context with irrelevant context, and providing additional context beyond what is given. In experiments on four QA datasets with six LLMs, we show that performance varies greatly across models, across the type of context provided, and also by question type; in particular, many LLMs seem unable to abstain from answering boolean questions using standard QA prompts. Our analysis also highlights the unexpected impact of abstention performance on QA task accuracy. Counter-intuitively, in some settings, replacing gold context with irrelevant context or adding irrelevant context to gold context can improve abstention performance in a way that results in improvements in task performance. Our results imply that changes are needed in QA dataset design and evaluation to more effectively assess the correctness and downstream impacts of model abstention.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。