# Black-Box Uncertainty Quantification for Large Language Models via Ensemble-of-Ensembles

*Wang Ma, Debarun Bhattacharjya, Junkyu Lee, Nhan H Pham, Harsha Kokel, Qiang Ji*

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

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [LLM Uncertainty Quantification](../pgroup/152.md) · Type: new method · Keywords: black-box uncertainty quantification, two-level ensemble, aleatoric/epistemic uncertainty, LLM evaluation, question answering

## Summary
The paper proposes a two-level ensemble method that provides black-box uncertainty quantification for LLMs, separating aleatoric and epistemic uncertainty via stochastic decoding and semantic perturbations.

## Explained to a 5-year-old
We want to know when a big computer program that writes text is not sure about something. Sometimes it is unsure because the question is tricky, and sometimes it is unsure because it doesn't know the answer. The new idea makes the program answer the same question many times in different ways. It also changes the question a little bit while keeping the meaning, and asks many times again. By looking at how the answers and the changed questions vary, we can tell which kind of unsureness we have.

## Explained to a 5-year-old, longer
When we ask a big computer program like a language model a question, it sometimes gives an answer that might be wrong. It can be wrong because the question itself is confusing, which is called ambiguous. Or it can be wrong because the program simply doesn't know the answer, which is a gap in its knowledge. Existing ways to check this need to look inside the program or use a lot of computer power, which is hard. Other simple ways only give one number that says how consistent the answers are, but they don't tell us which kind of uncertainty we have. The new idea uses two layers of randomness to see both kinds of uncertainty without looking inside the program. First, it asks the same question many times and lets the program generate different answers. Second, it changes the question a little bit while keeping the meaning, and asks those changed questions many times. By comparing how the answers vary and how the changed questions affect the answers, we can separate the two types of uncertainty. The method also includes three new theoretical ideas that help make the uncertainty estimates more accurate. Experiments on several question-answering tests show that this method works as well as the complicated inside-view methods. It also works on longer answers, showing it can be used for more complex tasks.

## For a technical reader
The paper introduces a black-box uncertainty estimator for LLMs that splits aleatoric and epistemic uncertainty without requiring model internals. It builds a two-level ensemble: an inner ensemble of stochastic decodings and an outer ensemble of meaning-preserving prompt perturbations, measuring variability in an embedding space. Theoretical contributions include bias correction for nested Monte Carlo, a Bayesian bridge linking perturbation-based estimates to Bayesian targets, and a separation result that shows consistency-only methods miss certain failures. Empirical results show the estimator matches or exceeds white-box baselines on multiple QA benchmarks and extends to claim-level factuality.

## Problem
Large language models need reliable uncertainty estimates that distinguish intrinsic ambiguity from genuine knowledge gaps, but existing black-box methods only give a single consistency score, while white-box Bayesian or deep-ensemble approaches are too costly and require model access.

## Method
The approach uses stochastic decoding to create an inner ensemble of samples from a fixed prompt, and applies meaning-preserving semantic perturbations to generate an outer ensemble. Variability is measured in an embedding space, and the law of total covariance yields an exact split of aleatoric and epistemic uncertainty using only black-box sampling.

## Results
The approach matches or exceeds white-box baselines on five short-form QA benchmarks across four LLMs, demonstrates that aleatoric and epistemic uncertainties capture distinct failure modes, and extends to claim-level factuality in a long-form pilot without retraining.

## Contributions
The paper provides a black-box two-level ensemble estimator that yields exact aleatoric/epistemic uncertainty decomposition, three theoretical results (bias correction, Bayesian bridge, separation result) grounding the method, and empirical validation on multiple QA benchmarks and LLMs.

## Practical relevance
Enables trustworthy deployment of LLMs in critical applications by providing reliable black-box uncertainty estimates without model access or heavy computation.

## 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/151082)
