Selectively Answering Ambiguous Questions

Jeremy R. Cole, Michael J. Q. Zhang, Daniel Gillick, Julian Martin Eisenschlos, Bhuwan Dhingra, Jacob Eisenstein

TL;DR

Large Language Models (LLMs) often struggle to know when to stay silent, especially when faced with ambiguous questions. This paper introduces a "disambiguate-then-answer" framework and demonstrates that sampling repetition—counting how often a specific answer appears across multiple generated samples—is a far more reliable confidence metric than the model's internal probability scores or self-verification prompts.

What Problem Does This Paper Address?

For an AI to be truly trustworthy, it must be able to abstain from answering when it is uncertain. Most research in "selective prediction" has focused on epistemic uncertainty: the question is clear (e.g., "What is the capital of France?"), but the model might not know the answer.

However, real-world queries are often plagued by denotational uncertainty, where the question itself is underspecified or ambiguous. For example, "Who won the gold medal in fencing?" is impossible to answer correctly without knowing the year and the specific event. Current LLMs often "hallucinate" a single interpretation and provide a confident but potentially wrong answer. This paper investigates how to calibrate models so they can effectively handle both types of uncertainty and decide when to request clarification instead of guessing.

Figure 1: Uncertainty in Question Answering systems may arise in various ways. We propose a scheme called disambiguate then answer where the model first attempts to pose an unambiguous interpretation of the user question (yellow), then selectively produces an answer to this question, alternatively abstaining ("Unknown") (green). The log likelihood of the model is shown above each generation. In addition, we find that sampling multiple times from the model generally allows for more robust confidence estimates.

Methods

The authors propose a disambiguate-then-answer paradigm. Instead of answering directly, the model is prompted to first generate an unambiguous interpretation of the query and then provide the answer based on that interpretation.

To decide whether to trust the resulting answer, they compared several confidence scoring methods:

  • Likelihood: The standard approach using the model's internal log-probability of the generated sequence.
  • Sampling Repetition: The model generates multiple samples (e.g., 10). The confidence score is the fraction of samples that match the "greedy" (most likely) output.
  • Sampling Diversity: Confidence is calculated based on the number of unique answers generated across samples.
  • Self-Verification: The model is asked a follow-up question: "Is this answer correct?" The probability it assigns to "True" serves as the confidence score.
Figure 2: Methods for estimating the confidence of answers from an LM. Sampling repetition counts the number of times the greedy answer appears among samples from the LM. Sampling diversity counts the number of unique answers among samples from the LM. Self-verification, proposed by Kadavath et al. (2022), prompts the LM again with one of the sampled answers to measure the token-level probability of True. The prompts used for unambiguous and ambiguous questions are shown on the left—for the latter, we additionally prompt the model for disambiguations (omitted in the outputs shown on the right for brevity).

Datasets

The study utilized several benchmarks to test different flavors of uncertainty:

  • Unambiguous: TriviaQA and the unambiguous portion of NQ-Open (Natural Questions).
  • Ambiguous: AmbigQA, which contains questions from NQ-Open that raters identified as needing clarification, along with multiple valid interpretations.
  • Contextual Ambiguity: SituatedQA, which focuses on questions that are ambiguous due to missing temporal (time) or geographic (place) context.

Key Insights and Ideas

  • Likelihood is a Liar: Internal model probabilities are often poor indicators of truth in free-form generation. This is because LLMs use inference-time tricks (like nucleus sampling) that aren't reflected in the raw likelihood, and there are many ways to phrase the same correct answer, making marginalization difficult.
  • The Power of Consistency: If a model generates the same answer repeatedly across different random samples, it is much more likely to be correct. This "sampling repetition" effectively captures both factual certainty and clarity of intent.
  • Instruction Tuning Worsens Calibration: While instruction-tuned models (like Flan-PaLM) are more accurate, they are also more overconfident. Their internal likelihoods become even less reliable, making sampling-based methods essential for these models.
  • Ambiguity is Hard to Predict: Interestingly, the authors found that models struggle to explicitly predict if a question is ambiguous, even when their answering behavior suggests they are uncertain.

Key Results

  • Superior Calibration: Sampling repetition consistently outperformed likelihood and self-verification across all datasets. On the ambiguous AmbigQA dataset, it significantly reduced the Expected Calibration Error (ECE).
  • Selective Answering: Using the C@80 metric (the percentage of questions a model can answer while maintaining 80% accuracy), sampling-based methods allowed the model to answer far more questions correctly than likelihood-based ranking.
  • Scaling Effects: While larger models are generally more accurate, their calibration (how well they know what they know) remains relatively constant. Sampling repetition remains the best metric regardless of model size (tested from 8B to 540B parameters).

Limitations and Future Work

  • Compute Cost: Sampling multiple times (e.g., 10x) increases the computational cost linearly, which may be prohibitive for some real-time applications.
  • Scope of Models: The study focused primarily on the PaLM family of models. While the results are robust, testing across other architectures (like GPT-4 or Llama) would further validate the findings.
  • Closed-Book Focus: The experiments were conducted in a "closed-book" setting. The authors note that incorporating retrieval-augmented generation (RAG) could introduce new calibration challenges that warrant future study.
  • Prompt Sensitivity: While the authors found their results were relatively stable across different prompts, they acknowledge that more extensive prompt engineering might yield further improvements.

Summary updated

BibTeX
@inproceedings{cole2023selectively,
  author = {Jeremy R. Cole and Michael J. Q. Zhang and Daniel Gillick and Julian Martin Eisenschlos and Bhuwan Dhingra and Jacob Eisenstein},
  title = {{Selectively Answering Ambiguous Questions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=x2W2dKdNI8},
}
Figure