Abstract
Trustworthy language models should abstain from answering questions when they do not know the answer. However, the answer to a question can be unknown for a variety of reasons. Prior research has focused on the case in which the question is clear and the answer is unambiguous but possibly unknown. However, the answer to a question can also be unclear due to uncertainty of the questioner’s intent or context. We investigate question answering from this perspective, focusing on answering a subset of questions with a high degree of accuracy, from a set of questions in which many are inherently ambiguous. In this setting, we find that the most reliable approach to calibration involves quantifying repetition within a set of sampled model outputs, rather than the model's likelihood or self-verification as used in prior work. We find this to be the case across different types of uncertainty, varying model scales and both with or without instruction tuning. Our results suggest that sampling-based confidence scores help calibrate answers to relatively unambiguous questions, with more dramatic improvements on ambiguous questions.
Introduction
For Large Language Models (LLMs) to be truly trustworthy, they must possess the ability to recognize the limits of their knowledge and abstain from providing incorrect or hallucinated information. Traditional research in model calibration has primarily addressed epistemic uncertainty, where a model lacks the factual knowledge required to answer a clear, well-defined question. However, real-world user queries frequently suffer from denotational uncertainty, where the question itself is underspecified or ambiguous. For example, asking "Who won the World Cup?" is unanswerable without a specific year. Current LLMs tend to pick a single interpretation and answer with high confidence rather than requesting clarification. This paper explores a framework for selective answering that accounts for both types of uncertainty.
The Disambiguate-then-Answer Framework
To address denotational uncertainty, we introduce a "disambiguate-then-answer" pipeline. Instead of generating an answer directly from an underspecified query, the model is prompted to first provide a specific interpretation of the question and then provide the corresponding answer.
As illustrated in Figure 1, this approach allows the system to surface uncertainty at two levels. If the model is unsure which interpretation to pick, or if the answer for a chosen interpretation is unknown, the system can use these signals to trigger an abstention.
Quantifying Confidence
A critical component of selective answering is the confidence score used to decide whether to answer or abstain. We compare four primary methods:
- Likelihood: The standard log-probability the model assigns to its generated answer.
- Sampling Repetition: The model generates multiple samples (e.g., 10) at a specific temperature. The confidence score is the fraction of samples that match the "greedy" (most likely) output.
- Sampling Diversity: A score based on the number of unique answers produced across samples.
- Self-Verification: Prompting the model to evaluate its own output by asking, "Is this answer correct?"
Our findings indicate that Sampling Repetition (shown in Figure 3) is a significantly more robust indicator of truth than token-level likelihood, particularly for ambiguous queries. If a model produces the same answer 9 out of 10 times despite random sampling, it is a strong signal of robustness.
Experimental Results
We evaluated these methods across standard unambiguous datasets (TriviaQA, NQ-Open) and datasets containing ambiguous questions (AmbigQA, SituatedQA).
- Sampling Repetition Wins: Across nearly all metrics, including Coverage@80 (C@80), counting repetitions outperformed other methods. On AmbigQA, Sampling Repetition achieved a C@80 of 26.2%, compared to just 17.4% for standard Likelihood.
- Robustness to Instruction Tuning: Instruction tuning often degrades a model's calibration by making it more "helpful" and overconfident. While Likelihood-based calibration suffers after instruction tuning, sampling-based methods remain effective and help "fix" the calibration.
- Scaling and Ambiguity: While larger models (up to 540B parameters) are more accurate, they are not necessarily better at recognizing when they are confused by an ambiguous question. The need for robust confidence metrics persists regardless of model size.
Conclusion and Limitations
This research demonstrates that internal consistency—measured through sampling repetition—is a powerful signal for model calibration in the face of both factual and linguistic uncertainty. However, this method increases computational costs by an order of magnitude due to the need for multiple inference passes. Future work should focus on reducing this overhead and improving the model's ability to proactively ask for clarification when ambiguity is detected.
Summary updated