# Localizing Input Uncertainty Quantification for Large Language Models via Shapley Values

*Seongjun Lee, Suwan Yoon, Changhee Lee*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152631) · [OpenReview](https://openreview.net/forum?id=RfKPkFbBsx) · [Open on the map](../papers.html#p152631)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [LLM Uncertainty Quantification](../pgroup/152.md) · Type: new method · Keywords: input uncertainty quantification, Shapley values, ambiguity detection, clinical dialogue, language model trust

Areas: [Safety & Security](../areas/safety.md) › Language Model Security › Hallucination Detection

## Summary
ShaQ is a Shapley-based framework that localizes input-induced uncertainty at the span level, providing actionable attributions for ambiguous input parts.

## Explained to a 5-year-old
Large language models sometimes get unsure about what people ask them. They give a number that says how unsure they are, but it doesn't tell which words are confusing. We made a new way to look at which parts of the question are confusing, like figuring out which puzzle pieces are missing. This helps people know what to ask more clearly. It is especially useful when talking about doctors' notes.

## Explained to a 5-year-old, longer
When we talk to a computer that reads words, it sometimes feels uncertain about what we mean. It can give us a single number saying how unsure it is, but that number doesn't show which words are tricky. We created a method that looks at each piece of the sentence separately, like checking each LEGO brick to see if it fits. By comparing how the computer feels before and after we clarify a piece, we can see how much that piece contributed to the uncertainty. This helps us find exactly which words need more detail. It works well for everyday chat and is especially helpful for doctor notes where precision matters. The method ensures that the contributions add up correctly, so we can trust the explanation. It can be used in many different language tasks, making the computer more transparent and reliable.

## For a technical reader
The system addresses the need for fine-grained uncertainty estimates in language models by attributing uncertainty to specific input spans. It uses a cooperative game framework where each span contributes to overall uncertainty based on how clarifying it reduces entropy. The resulting attributions are additive and provide actionable guidance for users to refine their queries. Evaluations on multiple benchmarks show improved detection of ambiguous inputs and precise localization in clinical dialogues. The approach can be integrated into existing pipelines to enhance trust and safety in high-stakes applications.

## Problem
Large language models need to quantify uncertainty arising from ambiguous user inputs, but existing methods only give overall scores without indicating which input parts are problematic. This makes it hard to know what to clarify to improve reliability.

## Method
The approach models ambiguous input spans as players in a cooperative game and computes Shapley values based on marginal reductions in conditional entropy when clarifying span coalitions, yielding a principled decomposition of input-induced uncertainty.

## Results
The approach achieves state-of-the-art performance in ambiguity detection on AmbigQA and AmbiEnt and precisely localizes under-specified clinical utterances on MediTOD, facilitating more effective human-AI collaboration.

## Contributions
The paper introduces a span-level input uncertainty quantification framework that captures complex interactions among input spans and provides a principled decomposition of total uncertainty, along with evaluations on multiple benchmarks showing improved ambiguity detection and practical localization of unclear clinical utterances.

## Practical relevance
By pinpointing ambiguous input parts, the system enables targeted clarification and improves human-AI collaboration in high-stakes clinical settings.

## Research questions this paper is counted under

- [How can we reliably quantify and improve the uncertainty and calibration of large language models in real-world scenarios?](../q/3.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152631)
