LLMs' Confidence Scores Actually Reveal Their Internal Answer Probabilities
A new study finds that when an LLM states a confidence in words, that number is tightly linked to the probability distribution over its next token.
Takeaways
- New paper shows verbalized LLM confidences are statistically coupled to internal token probabilities, not just surface text.
- Authors are Williamson, Li, Foti, Webb, and Fedzechkina, posted on arXiv.
- Both readouts shift when training-data frequencies change, confirming shared underlying representation.
- Explicit confidence phrases in training text can bias both readouts, causing miscalibration.
- Experiments span LoRA, full fine-tuning, in-context learning, and from-scratch training on synthetic data.
- Implication: verbalized confidence is a usable probe for closed, API-only models without logit access.
When a language model reports 70 percent confidence, that number may be statistically connected to the probabilities shaping its output. In an arXiv preprint, Sinead Williamson, Jiaxuan Li, Nick Foti, Russ Webb, and Masha Fedzechkina find that verbalized confidence moves with a model’s internal probability distribution, including after they control for shared influences from the training data.
For developers working with closed models, verbalized confidence offers an accessible uncertainty signal. It requires no logits, embeddings, or model weights. The findings suggest that a prompted confidence score can provide a noisy proxy for internal probabilities, provided teams validate and calibrate it for their specific model and task.
Two routes to a probability
Language models expose uncertainty through two distinct readouts:
| Readout | How it is obtained | What it captures |
|---|---|---|
| Internal probability | Derived from logits, the raw scores converted into probabilities for candidate tokens or answers | The model’s relative preference among possible continuations |
| Verbalized probability | Generated after prompting the model to state a confidence word or number | A textual claim about the model’s certainty |
Earlier research indicates that internal probabilities respond to relative frequencies in training data, while verbalized probabilities respond to explicit claims such as “there is a 70 percent chance.” Because frequency and asserted probability often coincide, a correlation between the two readouts could arise from common training signals. The authors separate those signals to test whether an additional connection remains.
Turning the uncertainty knobs
The researchers create synthetic facts about fictional countries and occupations, then vary two properties independently: how often each fact appears and what probability the surrounding text explicitly assigns to it. They introduce those controlled distributions through four methods:
- LoRA fine-tuning: parameter-efficient adapters trained on the synthetic facts
- Full fine-tuning: updates to all model parameters using the same distributions
- In-context learning: examples and uncertainty information supplied in the prompt
- Training from scratch: small transformers trained on fully synthetic corpora
Each experiment measures how the manipulated frequency and asserted probability affect both the distribution over candidate answers and the confidence stated in text. This design lets the researchers distinguish direct coupling from agreement caused by exposure to the same target probability.
The two readouts move together
The experiments produce three main findings:
- Frequency affects stated confidence. Changing how often a fact appears shifts the model’s verbalized probability as well as its internal answer distribution.
- Explicit probability claims affect both channels. Training text that expresses excessive or insufficient confidence can shift internal and verbalized readouts.
- Agreement remains after statistical controls. The two readouts retain residual concordance after the analysis accounts for their shared target probability.
The residual agreement supports a coupling between verbalized and internal probabilities beyond their separate responses to the same data. The experiments do not identify the mechanism or prove that both readouts use one shared latent representation, but they show that verbalized confidence carries information about the internal distribution.
A confidence probe for closed APIs
Closed model APIs often omit log probabilities or expose them for only a limited set of tokens. A prompted confidence score can support several engineering tasks when direct access to the output distribution is unavailable:
- Routing and abstention: defer, reject, or escalate answers below a validated threshold
- RAG quality control: trigger another retrieval pass when confidence is low
- Calibration audits: compare stated probabilities with observed accuracy on labeled data
- Dataset diagnostics: detect contexts or examples that inject excessive certainty
- Monitoring: track confidence shifts after prompt, model, or retrieval changes
A safer deployment pattern
Teams can treat verbalized confidence as an uncalibrated model feature and evaluate it separately for every model, prompt, and task:
- Require a consistent numeric format, such as an integer from 0 to 100.
- Measure confidence and correctness on a representative labeled set.
- Inspect reliability curves and calculate a calibration metric such as Brier score or expected calibration error.
- Fit a calibration mapping and choose routing thresholds from application-specific costs.
- Repeat the evaluation after provider updates, prompt changes, or retrieval-pipeline revisions.
Stochastic decoding can also produce different confidence values for the same input. Repeated samples can estimate that variability when latency and API costs permit.
Where the proxy breaks
A coupled signal can still be poorly calibrated: answers labeled 70 percent may be correct substantially more or less than 70 percent of the time. The paper establishes a statistical relationship between two model readouts, not a per-answer guarantee of accuracy.
Explicit confidence statements in training or in-context data can shift both readouts. A model exposed to overconfident prose may therefore produce inflated confidence scores, even when the underlying facts offer weak support.
The experiments rely heavily on controlled synthetic data, small models, and fine-tuning interventions. They leave open the size and reliability of the effect in frontier production models shaped by instruction tuning, preference optimization, system prompts, and undocumented provider changes.
The authors have not released code or model weights with the preprint PDF. Their synthetic-data design, LoRA setup, full fine-tuning experiments, and in-context variants provide a starting point for independent replication.
For developers, the paper supports a bounded conclusion: under the tested conditions, a model’s stated confidence contains information about its internal answer distribution. Deployments can use that number as a model-specific signal after task-level validation, calibration, and monitoring.