Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators

Matéo Mahaut, Laura Aina, Paula Czarnowska, Momchil Hardalov, Thomas Müller, Lluís MàrquezACL 2024

Introduction

Large Language Models (LLMs) frequently generate "hallucinations"—false statements delivered with high authority. To mitigate this, researchers have developed various factual confidence estimators to determine when a model is likely to be incorrect. However, the lack of a unified benchmark has made it difficult to compare these methods across different models and tasks. This paper introduces a systematic framework to evaluate the reliability and robustness of current confidence estimation techniques.

A Unified Framework for Confidence

The authors categorize confidence estimation into two primary formulations:

  • $P(\text{I know})$: The degree to which a model considers it likely that it will return the correct answer to an input querying about a fact.
  • $P(\text{True})$: The degree to which a model considers it likely that a fact stated in the input is true.
Overview of factual confidence formulations and the five categories of estimation methods.

To measure these, five distinct categories of estimators are evaluated:

  1. Trained Probes: Classifiers trained on the model's internal hidden states to predict truthfulness.
  2. Sequence Probability: The average probability the model assigns to the tokens in its own answer.
  3. Verbalization: Directly asking the model to provide a numerical confidence score (e.g., on a scale of 1-10).
  4. Surrogate Token Probability: Measuring the probability of specific tokens like "Yes" or "No" when verifying a statement.
  5. Consistency: Generating multiple answers to the same question and measuring their agreement.

Key Insights: Internal States vs. External Outputs

A major finding is that Trained Probes significantly outperform methods that rely solely on generated text. This suggests that LLMs often "know" the truth internally, even if they fail to express it correctly in their final output. Furthermore, these probes demonstrate remarkable cross-lingual generalization; a probe trained on English hidden states can accurately predict truthfulness in French or Polish, indicating that factual knowledge is encoded in a language-agnostic manner.

Performance and the "Jitter" Problem

Empirical results show that Trained Probes are the most reliable across almost all tested models, particularly on datasets like T-REx where they outperformed sequence probability by an average of 0.3 AUPRC.

Performance (AUPRC) of different confidence estimation methods across various LLMs on the T-REx dataset.

While probes are effective, the study highlights a significant issue: confidence jitter. LLMs are highly sensitive to surface-level phrasing. A model might report high confidence for a fact in one format but significantly lower confidence when the same fact is paraphrased. This instability suggests that models have not fully abstracted facts into stable, wording-invariant representations.

Conclusion and Future Directions

While Trained Probes offer superior accuracy, they require access to internal model weights, which is often impossible for proprietary "black-box" APIs. For these models, instruction-tuning helps improve "verbalized" confidence, but a significant gap remains. Future research must address the robustness of these estimators for complex reasoning tasks and long-form generation, moving beyond simple atomic facts.

Summary updated

BibTeX
@inproceedings{mahaut2024factual,
  author = {Matéo Mahaut and Laura Aina and Paula Czarnowska and Momchil Hardalov and Thomas Müller and Lluís Màrquez},
  title = {{Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.250},
}
Figure