Manuscript Offprint

arXiv:2610.36353

Detect Before You Disambiguate: Perturbation-Based Input Ambiguity Detection in LLMs

Tiejin Chen, Xiaoou Liu, Michael Clifford, Ahmadreza Moradipari, Yitao Chen, Kyungtae Han, Nejib Ammar, Hua Wei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models (LLMs) often answer ambiguous inputs as if they had a single intended meaning. This is problematic because input ambiguity is an upstream source of uncertainty: when a prompt admits multiple valid interpretations, the key question is whether the model should answer directly at all. Existing input uncertainty methods often rely on LLM-generated statements or clarifications, but such transformations may already disambiguate the input before the ambiguity is measured. We propose a label-preserving perturbation framework for input ambiguity detection in which perturbations remain close to the original input while preserving its label. We instantiate this principle with two detectors: a black-box rule-based perturbation library and a white-box importance-guided method using model-internal signals. Experiments across four datasets in open-domain, conversational, and visual QA show that our methods outperform output-side uncertainty baselines and LLM-paraphrase-based perturbation baselines. Our results highlight the importance of detecting ambiguity before attempting to disambiguate it. Our code is available here.

1 Introduction

Large language models (LLMs) are increasingly deployed as question-answering systems, yet many real-world questions admit more than one legitimate interpretation (Min et al., 2020; Liu et al., 2023; Keyvan and Huang, 2022; Liu et al., 2026). When a question is ambiguous, a model cannot answer it well without first recognizing that an interpretive choice is required. After the ambiguity is recognized, a capable system has several reasonable options: it can ask the user a clarifying question, enumerate the plausible interpretations and answer each, or state the interpretation it is assuming (Zhang et al., 2025; Kuhn et al., 2022). The problematic case is when the model silently commits to a single arbitrary interpretation and generates a single “confident” answer, as if the question had no ambiguity at all. Consider a user who asks "When did the team win the championship?" without specifying which team or which championship: a model that quietly settles on one reading may return a fluent, confident year that happens to answer a question the user never asked, with no recognition that other readings exist. Recent studies find that current models frequently fail at exactly this recognition step (Vijayvargiya et al., 2025; Zhang et al., 2024; Kim et al., 2024).

Detecting whether a question is ambiguous is therefore a prerequisite for trustworthy question answering. If ambiguity can be detected, a system need not gamble on an arbitrary interpretation. We therefore frame the problem as a two-stage objective: first, detect whether a question is ambiguous, and then, conditioned on that detection, mitigate the ambiguity through targeted clarification or enumeration. Reliable detection is the foundation on which mitigation rests.

A natural and widely used strategy for detection is to probe the model's consistency: rephrase the question several ways, sample answers under each rephrasing, and treat disagreement among the answers as evidence of ambiguity (Hou et al., 2024; Cole et al., 2023; Kuhn et al., 2023). Intuitively, an unambiguous question should yield consistent answers while an ambiguous one should not. However, the existing implementation contains a subtle flaw: When a language model is used to rephrase the question, it must first understand the question, and understanding an ambiguous question entails resolving its ambiguity. The rephrased question tends to encode a single interpretation chosen by the rephrasing model, eliminating the ambiguity that the procedure is meant to detect.

Our core principle is that the step of ambiguity detection should not involve understanding the question. To preserve the ambiguity signal, the transformation applied to the input must be semantics-blind: it should stay close enough to the original input that it does not become a disambiguation step, yet remains expressive enough to expose interpretation-dependent behavior. We model this trade-off in the language of the information bottleneck (Tishby et al., 1999): we seek a perturbation that discards information about the input's surface form while preserving information about its ambiguity, and we use this principle to motivate our method rather than to strictly optimize it.

We instantiate this principle with two complementary detectors. (1) The white-box detector, which assumes access to model internals, uses internal signals to target a set of important input tokens before perturbing them. (2) The black-box detector, which assumes no access to model internals, applies a library of perturbation rules and measures the dispersion in the model's answer distribution. Finally, we use the detection output to drive a lightweight re-asking mitigation strategy.

We evaluate on various datasets spanning open-domain, conversational, and visual question answering. We show that perturbation-based detection more reliably separates ambiguous from unambiguous questions than both output-side sampling and paraphrase-based baselines, with downstream gains when its output is used for mitigation.

References (19)