Papers › Decomposing Uncertainty for Large Language Models through Input Clarification Ensembling

Decomposing Uncertainty for Large Language Models through Input Clarification Ensembling

15 Nov 2023arXiv:2311.08718archive 2025-07-28

Bairu Hou, Yujian Liu, Kaizhi Qian, Jacob Andreas, Shiyu Chang, Yang Zhang

Uncertainty decomposition refers to the task of decomposing the total uncertainty of a predictive model into aleatoric (data) uncertainty, resulting from inherent randomness in the data-generating process, and epistemic (model) uncertainty, resulting from missing information in the model's training data. In large language models (LLMs) specifically, identifying sources of uncertainty is an important step toward improving reliability, trustworthiness, and interpretability, but remains an important open research question. In this paper, we introduce an uncertainty decomposition framework for LLMs, called input clarification ensembling, which can be applied to any pre-trained LLM. Our approach generates a set of clarifications for the input, feeds them into an LLM, and ensembles the corresponding predictions. We show that, when aleatoric uncertainty arises from ambiguity or under-specification in LLM inputs, this approach makes it possible to factor an (unclarified) LLM's predictions into separate aleatoric and epistemic terms, using a decomposition similar to the one employed by Bayesian neural networks. Empirical evaluations demonstrate that input clarification ensembling provides accurate and reliable uncertainty quantification on several language processing tasks. Code and data are available at https://github.com/UCSB-NLP-Chang/llm_uncertainty.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2311.08718")

Code

Syntology Ran 11 of 14 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · honoured contract; 5 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ucsb-nlp-chang/llm_uncertainty officialmentioned in paper report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 11 ran; 2 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
5ran · our draft was wrong
1ran · fixture could not drive it
3ran
3unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ucsb-nlp-chang/llm_uncertainty. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_dict ucsb-nlp-chang/llm_uncertainty/evaluate_uq_qa.py official repository ran · our draft was wrong no licence file found · pointer only · fd59ab9257198427 · report
compute_acc ucsb-nlp-chang/llm_uncertainty/evaluate_uq_qa.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 79fbe372a240d8bd · report
compute_entropy ucsb-nlp-chang/llm_uncertainty/evaluate_uq_qa.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 20cdfa5f66a261c8 · report
extract_clarification_ambiginst ucsb-nlp-chang/llm_uncertainty/tools/generate_clarification.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 98c1adfe7cc3543a · report
extract_clarification_ambigqa ucsb-nlp-chang/llm_uncertainty/tools/generate_clarification.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · a8b834b30aad8f65 · report
extract_clarification_nq ucsb-nlp-chang/llm_uncertainty/tools/generate_clarification.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 0306b2789420b334 · report
format_message ucsb-nlp-chang/llm_uncertainty/forward.py official repository ran fingerprinted no licence file found · pointer only · 77af3c547fb9d4a6 · report
inst_transform ucsb-nlp-chang/llm_uncertainty/forward.py official repository ran fingerprinted no licence file found · pointer only · 4caaa7c89fb83a3b · report
load_fewshot_prompt ucsb-nlp-chang/llm_uncertainty/forward.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 23cebbf9acdff57c · report
load_system_prompt ucsb-nlp-chang/llm_uncertainty/forward.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 62eddadce872572b · report
post_process ucsb-nlp-chang/llm_uncertainty/forward.py official repository ran fingerprinted no licence file found · pointer only · a2f115a6ee40b1e0 · report
completion_with_backoff ucsb-nlp-chang/llm_uncertainty/forward.py official repository unverified no licence file found · pointer only · fc919a105b24cc64 · report
format_query ucsb-nlp-chang/llm_uncertainty/forward.py official repository unverified no licence file found · pointer only · b1f045341985ed00 · report
main ucsb-nlp-chang/llm_uncertainty/forward.py official repository unverified no licence file found · pointer only · 100e5f60e5811f8f · report

Tasks

Uncertainty Quantification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections