Measurement Validity and Representation Dynamics of Confidence Signals in Large Language Models
Abstract
Whether a language model "knows what it knows" matters for trustworthy deployment and for deciding when it should abstain. Prior work usually measures this through one channel: verbalized confidence, a linear probe on hidden states, or agreement among sampled answers (semantic entropy), and often treats these as interchangeable. We compare all three in a pre-registered audit of five Qwen2.5 models (0.5B-7B, including a base/instruct pair at 7B) on factual retrieval (PopQA, SimpleQA) and multi-step reasoning (GSM8K, MATH). First, probes trained on prefill states to predict whether sampled answers will disagree become informative earlier for retrieval (about 7% of layer depth on average) than for reasoning (about 28%). The pre-registered five-layer test supported this only marginally; a finer 21-layer follow-up, designed after those results, supports it more clearly. In most retrieval cells, however, a prompt-only TF-IDF classifier matches the probe, so the early signal may reflect surface features of the question. Second, verbalized confidence is unstable: slightly different prompt templates yield scores that barely correlate. Third, Expected Calibration Error is misleading: verbal confidence looks well calibrated because it clusters near the base rate while discriminating poorly, whereas sampling agreement has worse ECE but about twice the resolution. Of five pre-registered hypotheses, two were falsified, one was partly supported, one was not supported, and one could not be tested because the base model's verbal confidence was degenerate.
Figures & tables
| Model | Tier | Onset (%) | Onset layer | Probe AUROC (onset) | Probe AUROC (peak) | TF-IDF AUROC | Probe beats TF-IDF at onset |
|---|---|---|---|---|---|---|---|
| Panel A: Factual retrieval tiers ( cells; mean onset , median ) | |||||||
| Qwen2.5-1.5B-Instruct | R1 (PopQA-high) | 5.0 | Layer 1 / 28 | 0.864 | 0.941 | 0.882 | No |
| Qwen2.5-1.5B-Instruct | R2 (PopQA-low) | 5.0 | Layer 1 / 28 | 0.877 | 0.935 | 0.889 | No |
| Qwen2.5-1.5B-Instruct | R3 (SimpleQA) | 5.0 | Layer 1 / 28 | 0.775 | 0.817 | 0.728 | Yes |
| Qwen2.5-3B-Instruct | R2 (PopQA-low) | 5.0 | Layer 2 / 36 | 0.867 | 0.905 | 0.868 | No |
| Qwen2.5-3B-Instruct | R3 (SimpleQA) | 15.0 | Layer 5 / 36 | 0.654 | 0.784 | 0.670 | No |
| Comparison Pair | Spearman | Pre-Registered Target | Status |
|---|---|---|---|
| Format A vs. Format B | FALSIFIED | ||
| Format A vs. Format C | FALSIFIED | ||
| Format B vs. Format C | FALSIFIED |
| Signal | ECE (15 bins) | ECE (10 bins) | Reliability | Resolution | Brier |
|---|---|---|---|---|---|
| Verbal ( ) | 0.0366 | 0.0326 | 0.00171 | 0.03160 | 0.1713 |
| Internal Probe | 0.0500 | 0.0338 | 0.00219 | 0.05154 | 0.1524 |
| Behavioral Consensus | 0.0704 | 0.0680 | 0.00808 | 0.06371 | 0.1465 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Confidence Estimation in Language Models
Confidence estimation in language models measures whether a model’s uncertainty signals predict answer correctness and support reliable decisions.
See all 229 papers