Popular LLM uncertainty scores pick up answer diversity, not correctness — a benchmark exposes the gap for prompt search

September 16, 20246 min

Overview

Decision SnapshotNeeds Validation

The benchmark provides clear evidence on correlation patterns across two datasets and two models, but it is limited to sampled traces and four evaluated metrics, so broader claims need more models, tasks, and estimator designs.

Citations0

Evidence Strength0.60

Confidence0.80

Risk Signals8

Trust Signals

Findings with numeric evidence: 3/3

Findings with evidence refs: 3/3

Results with explicit delta: 0/3

Reproducibility

Status: Code + data available

Open source: Partial

At A Glance

Cost impact: 30%

Production readiness: 40%

Novelty: 50%

Authors

Pei-Fu Guo, Yun-Da Tsai, Shou-De Lin

Links

Abstract / PDF / Code / Data

Why It Matters For Business

If you use LLM search or prompt optimization to improve accuracy, relying on standard generation-confidence scores risks optimizing for diverse but wrong outputs; invest in correctness-specific checks or new uncertainty estimators.

Who Should Care

Summary TLDR

The paper builds a benchmark that measures how well common text-generation uncertainty metrics (token-likelihood and verbalized confidence) estimate four uncertainty types needed for prompt optimization: Answer, Correctness, Aleatoric, and Epistemic. Using tree-structured sampling with GPT-3.5-Turbo and Llama-3.1-8B on GSM8K and StrategyQA, the study finds current metrics track answer diversity (Answer Uncertainty) and related aleatoric/epistemic signals, but systematically fail to estimate correctness uncertainty. The gap implies you should not rely on standard generation-confidence scores to guide prompt-search algorithms aimed at finding correct answers.

Problem Statement

Search-based prompt optimization (MCTS, bandits, gradient search) needs uncertainty estimates that reflect the search objective (e.g., correctness). Existing NLG uncertainty metrics focus on token/sentence likelihood or verbalized confidence and mainly measure output diversity, which may not guide prompt search toward correct answers.

Main Contribution

Define four target uncertainties for prompt optimization: Answer, Correctness, Aleatoric, Epistemic, with simple formulas and practical roles.

Introduce a benchmarking pipeline that builds tree-structured reasoning traces by perturbing inputs and sampling many outputs to produce ground-truth uncertainty per node.

Key Findings

Token-likelihood and similar metrics correlate well with Answer Uncertainty (they measure answer diversity and model output variability).

Numberscorrelations with AnsU often 0.70.94 on evaluated splits

Practical UseUse token-likelihood metrics if your goal is to find diverse outputs or drive exploration—but they are not evidence of correctness.

Evidence RefSection 5.2; Fig.2 correlation maps

The same metrics fail to estimate Correctness Uncertainty (likelihood of being correct).

Numberszero or negative correlations with CU observed (examples −0.82 to −0.009)

Practical UseDo not use NPE/LNPE/Top-DISP/Intra alone to guide search when your objective is accuracy; add correctness-specific checks or separate estimators.

Evidence RefSection 5.2; Fig.2 correlation maps

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
Correlation to Answer Uncertainty (AnsU)0.70.94GSM8K, StrategyQA (various model splits)Fig.2 correlation maps showing strong positive correlations between token-likelihood metrics and AnsUSection 5.2; Fig.2
Correlation to Correctness Uncertainty (CU)≈0 to −0.82GSM8K, StrategyQAFig.2 maps show zero or negative correlations between evaluated metrics and CUSection 5.2; Fig.2

What To Try In 7 Days

Run the paper's sampling pipeline on a handful of your task prompts to check whether your uncertainty metric correlates with correctness.

Avoid using token-likelihood metrics alone to drive search when accuracy matters; add verification (e.g., unit checks, external validators).

When exploring prompt-space, measure both answer diversity and correctness separately and log their correlations.

Reproducibility

Code AvailableYes
Data AvailableYes
Open Source StatusPartial
LicenseUnknown

Code URLs

github link

Data URLs

github link

Risks & Boundaries

Limitations

Evaluations run on two reasoning datasets (GSM8K, StrategyQA) only; results may differ on other tasks.

Ground-truth uncertainties depend on the sampling density (M,K); accuracy of ground truth improves with more samples.

When Not To Use

Don't use the evaluated NLG metrics alone when your prompt optimizer needs to find correct answers.

Don't assume high generation confidence implies accuracy in domains where correctness matters (e.g., medical or legal).

Failure Modes

Optimization driven by answer-diversity metrics can prefer varied but incorrect outputs.

High inter-correlation among token-likelihood metrics can give a false sense of metric diversity.

Core Entities

Models

gpt-3.5-turbometa-llama-3.1-8b-instruct

Metrics

Normalized Predictive Entropy (NPE)Length-Normalized Predictive Entropy (LNPE)TopK-Token Disparity (Top-DISP)Intra-Sample Similarity / verbalized confidence (Intra)

Datasets

GSM8KStrategyQA