Position: Uncertainty Quantification in LLMs is Just Unsupervised Clustering

Tiejin Chen, Longchao Da, Xiaoou Liu, Hua WeiarXiv 2026

TL;DR

Mainstream uncertainty quantification (UQ) methods for LLMs suffer from a fundamental category error: they are actually just unsupervised clustering algorithms in disguise. Because they measure internal consistency rather than external correctness, they are dangerously blind to "confident hallucinations." To fix this, the authors outline a roadmap shifting the field toward supervised guarantees, tail-risk evaluation, and objective truth grounding.

What Problem Does This Paper Address?

When deploying Large Language Models (LLMs) in high-stakes domains like medicine or law, knowing when to trust a model is critical. To prevent catastrophic errors, researchers rely on Uncertainty Quantification (UQ) to attach a confidence score to model outputs.

However, this paper argues that the entire UQ paradigm is built on a flawed assumption: that a model's self-consistency equals truth. If an LLM consistently generates the exact same incorrect answer (a phenomenon known as "confident hallucination"), current UQ methods will mistakenly flag it as highly certain. This creates a deceptive sense of safety, masking systematic errors under the guise of stable output distributions.

Methods

The authors take a mechanistic view of mainstream UQ methods and demonstrate that they all collapse into unsupervised clustering paradigms:

  1. Semantic Entropy (Explicit Clustering): Methods like Semantic Entropy ($U_{SE}$) sample multiple responses, use a Natural Language Inference (NLI) model to group them into "Answer Classes," and calculate entropy over these classes. Mechanistically, the NLI model acts as a clustering criterion, and entropy measures cluster purity.
  2. Graph-based Quantification (Implicit Clustering): Methods that analyze response similarity graphs via spectral analysis (e.g., graph Laplacian eigenvalues, $U_{EigV}$) are mathematically performing spectral clustering without explicit cluster assignment. They simply count the number of coherent semantic modes.
  3. Verbalized Beliefs / $P(\text{true})$ (Latent Confidence Clustering): Prompting a model to state if its answer is true ($P(\text{true})$) acts as a geometric membership test, checking if a generated answer falls within a high-belief region of the model's own latent space.
Figure 1. The common UQ methods for LLM and its representative work (name with *) for inductive discussions in Section 2.

To prove the clustering nature of verbalized methods, the authors visualized the hidden states of an LLM during $P(\text{true})$ estimation, showing clear geometric partitioning into distinct belief clusters:

Figure 2. PCA visualization of Qwen2.5-32b-Instruct hidden states during P(true) estimation on the QASC dataset. The visualization demonstrates that the model’s internal states during P(true) are geometrically partitioned into distinct belief clusters, empirically validating that P(true) functions as an implicit clustering.

Datasets

The paper evaluates these UQ behaviors using the QASC (Question Answering via Sentence Composition) dataset, utilizing the Qwen2.5-32B-Instruct model to extract hidden states and compare uncertainty scores across different methods.

Key Insights and Ideas

  • The Silhouette Coefficient Analogy: Current UQ is like calculating a Silhouette coefficient in clustering. It tells you if your data points are tightly grouped together, but it cannot tell you if the cluster itself represents factual reality.
  • The Hyperparameter Sensitivity Crisis: Because these methods are heuristics, they are incredibly fragile. Tweaking the sampling temperature, the number of generations, or the NLI threshold drastically alters the uncertainty scores, making them easy to overfit and unsafe to deploy.
  • The Judge Problem: Evaluating UQ currently relies on using another LLM as a judge to determine answer correctness. This creates a circular validation loop where we use an elastic, unstable ruler to validate a critical safety system.

Key Results

  • Fundamental Disagreement: Different UQ methods don't even agree on which answers are uncertain. Looking at the top 10% highest-uncertainty samples on the QASC dataset, the Jaccard similarity between Semantic Entropy ($U_{SE}$) and Graph-based UQ ($U_{EigV}$) is a shockingly low 0.134.
Jaccard similarity between different UQ methods
  • Evaluation Instability: As the correctness threshold ($\tau$) of the LLM judge varies, the performance rankings of different UQ methods completely destabilize, proving that current evaluation pipelines are built on quicksand.
Figure 3. The effect of correctness threshold τ on UQ method evaluation consistency. As the threshold varies, method rankings become unstable. Figure adapted from Liu et al. (2025b).

Limitations and Future Work

As a position paper, the primary focus is diagnosing systemic field-wide pathologies rather than introducing a single silver-bullet algorithm. To resolve this impasse, the authors propose a three-pillar roadmap for future work:

  1. From Average Performance to Worst-Case Robustness: Stop relying on global AUROC. Instead, evaluate the True Positive Rate (TPR) at a fixed, low False Positive Rate (FPR) to catch catastrophic tail-risk hallucinations, and report the Area Under the Stability Curve (AUSC).
  2. Native Guarantees via Conformal Prediction: Integrate UQ into Conformal Prediction frameworks where "confident hallucinations" force a truth-aware system to expand its prediction set size, exposing the error.
  3. Grounding in Objective Truth: Enforce mandatory "Unit Testing" in deterministic environments (like code execution or math benchmarks) and replace subjective LLM judges with Atomic Fact Verification tied to external authorities (search engines, formal theorem provers).

Summary updated

BibTeX
@misc{chen2026position,
  author = {Tiejin Chen and Longchao Da and Xiaoou Liu and Hua Wei},
  title = {{Position: Uncertainty Quantification in LLMs is Just Unsupervised Clustering}},
  year = {2026},
  eprint = {2605.19220},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.19220},
}
Figure