通过Shapley值为大型语言模型定位输入不确定性量化
Localizing Input Uncertainty Quantification for Large Language Models via Shapley Values
AI总结:
提出ShaQ框架,利用Shapley值将输入中的模糊跨度建模为合作博弈参与者,通过条件熵的边际减少加权平均量化每个跨度对输入不确定性的贡献,实现跨度级归因,在AmbigQA、AmbiEnt和MediTOD基准上取得最先进性能。
摘要:
随着大型语言模型(LLM)越来越多地集成到高风险决策中,可靠量化不确定性的能力已成为安全性和可信度的关键要求。然而,当前的不确定性量化方法主要在输出层面操作,通常无法区分不确定性是源于模型缺乏知识还是用户输入的模糊性。尽管以输入为中心的不确定性量化最近成为一个有前景的方向,但它仍相对未被充分探索,并且通常依赖于粗糙的输入级信息。因此,用户只能获得标量不确定性分数,这些分数几乎没有提供可操作的指导,以说明应该澄清输入的哪些部分来提高可靠性。为了解决这一局限性,我们提出了基于Shapley的输入不确定性量化(ShaQ),这是一个用于输入诱导不确定性的跨度级归因框架。我们的方法将输入中的模糊跨度建模为合作博弈中的参与者,并使用Shapley值量化它们的贡献,Shapley值通过澄清每个跨度联盟所获得的条件熵边际减少的加权平均来定义。与现有的输入级方法不同,我们的公式捕捉了跨度之间的复杂交互,并提供了一种原则性的分解,其中个体归因之和恰好等于总输入诱导不确定性。我们在AmbigQA和AmbiEnt基准上评估了ShaQ,它在模糊性检测中实现了最先进的性能。我们进一步在MediTOD上展示了其实用性,表明ShaQ可以定位未明确说明的临床话语,并促进高风险环境中的人机协作。总体而言,ShaQ改进了不确定性估计,并为有针对性的输入澄清提供了可操作的见解。
英文摘要:
As large language models (LLMs) are increasingly integrated into high-stakes decision-making, the ability to reliably quantify uncertainty has become a critical requirement for safety and trust. However, current uncertainty quantification methods primarily operate at the output level, often failing to distinguish whether uncertainty arises from the model's lack of knowledge or from ambiguity in the user's input. While input-centric uncertainty quantification has recently emerged as a promising direction, it remains relatively underexplored and typically relies on coarse, input-level information. Consequently, users are provided with scalar uncertainty scores that offer little actionable guidance on which parts of the input should be clarified to improve reliability. To address this limitation, we propose Shapley-based input uncertainty Quantification (ShaQ), a framework for span-level attribution of input-induced uncertainty. Our approach models ambiguous spans in the input as players in a cooperative game and quantifies their contributions using Shapley values, defined via the weighted average of marginal reductions in conditional entropy obtained by clarifying each span coalition. Unlike existing input-level approaches, our formulation captures complex interactions among spans and provides a principled decomposition in which individual attributions sum exactly to the total input-induced uncertainty. We evaluate ShaQ on the AmbigQA and AmbiEnt benchmarks, where it achieves state-of-the-art performance in ambiguity detection. We further demonstrate its utility on MediTOD, showing that ShaQ can localize under-specified clinical utterances and facilitate human-AI collaboration in high-stakes settings. Overall, ShaQ improves uncertainty estimation and provides actionable insights for targeted input clarification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。