Clarify When Necessary: Resolving Ambiguity Through Interaction with LMs

Michael J. Q. Zhang, Eunsol Choi

Abstract

Large Language Models (LLMs) often struggle with ambiguous user requests, either guessing blindly or failing to recognize when clarification is needed. This paper introduces a task-agnostic framework to help LLMs decide exactly when to stop and ask for clarification versus when to provide a direct answer. We propose INTENT-SIM, a novel uncertainty estimation method that simulates potential user intents to calculate "intent entropy." Our results show that INTENT-SIM consistently outperforms standard confidence-based baselines across Question Answering (QA), Machine Translation (MT), and Natural Language Inference (NLI).

Introduction

Language is inherently ambiguous. A simple request like "Who won the US Open?" can refer to different sports (tennis vs. golf) or different categories (men's vs. women's singles). Current AI assistants typically fall into two traps: they guess blindly, risking hallucination, or they treat ambiguity as a binary check.

Knowing when to ask for clarification involves a trade-off between carefulness (accuracy) and usability (minimizing user effort). A system should not ask for clarification if one interpretation is overwhelmingly dominant. The challenge is disentangling aleatoric uncertainty (inherent ambiguity) from epistemic uncertainty (model ignorance).

Methodology

The proposed framework utilizes a three-stage pipeline for ambiguity resolution:

  1. Clarify or Respond?: The system evaluates if the utility of asking a question outweighs the interaction cost.
  2. Generate a Clarifying Question: If clarification is needed, the system generates a question to narrow down the intent.
  3. Respond Using Clarification: The final answer is provided based on user feedback.
The three-stage pipeline for deciding when to clarify versus respond directly.

The core of this pipeline is INTENT-SIM. Unlike standard methods that analyze output token probabilities, INTENT-SIM focuses on the distribution of user intents. It follows a four-step process:

  • Simulation: The model generates a clarifying question.
  • Sampling: It samples multiple possible user responses.
  • Clustering: A DeBERTa-based NLI model groups responses into semantically equivalent clusters.
  • Entropy Calculation: High entropy across these clusters signals a strong need for clarification.

Experimental Setup

The framework was evaluated across three tasks using existing datasets adapted for ambiguity:

  • AmbigQA: Questions re-annotated for multiple interpretations.
  • AmbiEnt: Ambiguous premise/hypothesis pairs for NLI.
  • DiscourseMT: English-French translations requiring missing context.

Datasets were tested in "SAMPLED" versions (realistic intent distributions) and "UNIFORM" versions (testing rare interpretations).

Results and Analysis

INTENT-SIM demonstrated superior detection capabilities, achieving the highest AUROC in four out of six experimental settings. This indicates it is significantly better at identifying inputs that benefit from follow-up questions compared to baselines like Likelihood or Self-Ask.

Performance of INTENT-SIM compared to baselines across different tasks and interaction budgets.

Under a fixed interaction budget (e.g., $b=20\%$), INTENT-SIM significantly boosted end-task accuracy. For instance, in GPT-3 QA tasks, it achieved a 29% gain in performance relative to the total possible gain from clarifying every example. While GPT-3 showed robust improvements, Llama-2 variants struggled with Machine Translation but still benefited in QA and NLI.

Discussion

A key insight is the importance of disentangling uncertainty types. Standard metrics often confuse model ignorance with prompt vagueness; INTENT-SIM targets the latter by simulating the interaction loop. Furthermore, the framework accounts for "dominant interpretations," recognizing that models should answer directly if most users likely mean the same thing. Interestingly, models often perform better with interactive clarification than with "perfect" disambiguated prompts, as the latter can result in unnatural phrasing that deviates from pre-training data.

Conclusion and Future Work

While effective, INTENT-SIM introduces computational overhead due to sampling and clustering. Future work should address multi-turn dialogues, as the current framework is limited to single-turn clarification. Additionally, incorporating extra-linguistic context (e.g., location, history) could further refine intent distributions. Finally, moving beyond an "oracle" for question generation will be essential for fully autonomous systems.

Summary updated

BibTeX
@inproceedings{zhang2025clarify,
  author = {Michael J. Q. Zhang and Eunsol Choi},
  title = {{Clarify When Necessary: Resolving Ambiguity Through Interaction with LMs}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.306},
}
Figure