Evaluating LLMs on Conversational Text-to-SQL under Chain Ambiguity and Intent Drift

Yujia Liu, Jiayan Lin, Zijin Hong, Zheng Yuan, Shengyuan Chen, Hao Chen, Qinggang Zhang, Xiao Huang, Feiran HuangarXiv 2026

TL;DR

While Large Language Models (LLMs) excel at single-turn text-to-SQL tasks, real-world database interactions are highly conversational and non-linear. This paper introduces TIDE-BENCH, a new benchmark designed to evaluate LLMs against two realistic multi-turn challenges: chain ambiguity (nested, dependent clarifications) and intent drift (when a user changes their mind mid-stream). Evaluating 12 state-of-the-art LLMs reveals severe bottlenecks in tracking dialogue-level context, showing that even frontier models struggle when conversations take unexpected turns.

What Problem Does This Paper Address?

Existing text-to-SQL benchmarks primarily evaluate single-turn execution accuracy or treat multi-turn interactions as a simple, linear accumulation of constraints. However, human conversations are rarely that straightforward. The authors identify two critical, under-explored dialogue patterns that challenge current systems:

  1. Chain Ambiguity: An initial question is underspecified, triggering a cascade of clarifications where a subsequent question depends entirely on how the previous one was answered (e.g., deciding "how to handle refunds" only matters if the user first chooses to rank by "spending" rather than "tenure").
  2. User Intent Drift: A non-monotonic shift where a user explicitly retracts or replaces a previously agreed-upon constraint mid-conversation (e.g., "Actually, forget the rankings, just give me their emails").

Current evaluation protocols fail to measure whether an agent truly understands these cross-turn dependencies or if it just happens to guess the right query at the end.

Figure 1: (A) Two conversational patterns that challenge text-to-SQL. (B) Neither is covered by existing text-to- SQL benchmarks or standard evaluation protocols.

Methods

The authors formalize these conversational nuances using rigorous testing frameworks:

  • Counterfactual Test for Chain Ambiguity: To prove a true dependency chain exists between two clarification layers ($L1$ and $L2$), they test if $L2$ becomes irrelevant ("Eliminated") or fundamentally altered ("Transformed") if the alternative choice for $L1$ had been picked.
  • Non-Monotonicity Test for Intent Drift: Drift is mathematically defined by comparing "commitment sets" extracted directly from the SQL abstract syntax tree (AST). If the post-drift commitments do not fully contain the pre-drift commitments ($S_{pre} \not\subseteq S_{post}$), a drift has occurred. They categorize drift into Value-level, Constraint-level, and Projection-level.

To evaluate LLMs, they build an automated evaluation harness using a function-driven user simulator. They test models under two protocols: the f-protocol (full dialogue from scratch) and the p-protocol (priming the model by pre-resolving the first layer of ambiguity to isolate its ability to catch the second layer).

Datasets

The authors introduce TIDE-BENCH, built on top of 514 anchor SQL queries from the popular BIRD benchmark. Using a paired factorial design, each anchor query spawns three distinct evaluation samples: Chain-only, Drift-only, and Joint (activating both patterns sequentially), resulting in a total of 1,542 samples. The dataset underwent strict automated AST parsing, LLM cross-validation, and extensive human verification by five independent annotators to ensure high construct validity.

Figure 2: Left: motivating dialogue illustrating chain ambiguity (L1/L2 clarification with conditional dependency) and user intent drift (non-monotonic retraction of a prior commitment). Right: overview of the TIDE-BENCH four-stage construction pipeline (anchor selection, chain injection, drift injection, and triplet assembly; see §3).

Key Insights and Ideas

  • Priming doesn't fix the bottleneck: You might assume models miss the second layer of ambiguity ($L2$) because they get tripped up on the first ($L1$). Surprisingly, even when $L1$ is completely pre-resolved for them (the $p$-protocol), the models' ability to identify $L2$ remains abysmally low. The bottleneck is the capacity to recognize dependent ambiguity itself.
  • Asking more doesn't mean understanding more: There is virtually no correlation between a model's overall "Ask Rate" (how often it prompts for clarification) and its success in identifying the chain. Some models ask questions indiscriminately without actually targeting the underlying ambiguity.
  • Simpler SQL can be harder to infer: In intent drift, constraint-level drift (removing a WHERE clause) results in a structurally simpler final SQL query than projection-level drift. Yet, models find constraint-level drift significantly harder to resolve. The challenge isn't writing the SQL; it's correctly inferring which specific commitment the user wants to retract.
  • Compounding errors overlap: When chain ambiguity and intent drift co-occur (Joint samples), the final accuracy drops significantly. However, statistical analysis shows these failure modes overlap on the same difficult samples rather than acting as independent penalties.
Chain-layer identification results showing that priming L1 does not unlock L2, and asking more does not imply better identification.

Key Results

  • Low Overall Performance: Dialogue Execution Accuracy (DEA) is low across the board. No model—including frontier models like Claude 3.5 Sonnet or GPT-4o—exceeded 46% aggregate accuracy on any sample type.
  • The Chain Bottleneck: The Joint Identification Rate (JIR) for successfully surfacing both layers of ambiguity stayed below 5% for every single model evaluated.
  • The Recognition-Resolution Gap: Models are excellent at recognizing that a drift occurred (Drift Recognition Rate > 94% across models), but they fail at resolving it correctly into the final SQL, leaving a massive gap of over 40 percentage points between recognition and resolution accuracy.
  • Top Performer: Claude-Sonnet-4.6 emerged as the strongest model overall, achieving 35.9% on Chain-only, 45.1% on Drift-only, and 27.8% on Joint tasks.

Limitations and Future Work

The benchmark currently restricts chain ambiguity to exactly two layers, whereas real-world conversations could feature deeper, more complex trees of dependency. Additionally, Joint samples always follow a strict "chain-then-drift" sequence, leaving the reverse order unexplored.

Because the evaluation relies on an LLM-based user simulator, it remains an imperfect proxy for real, unpredictable human behavior. The authors suggest that future conversational text-to-SQL research should shift focus away from optimizing surface-level clarification behaviors and move toward explicit dialogue-state tracking and belief modeling of user commitments.

Summary updated

BibTeX
@misc{liu2026evaluating,
  author = {Yujia Liu and Jiayan Lin and Zijin Hong and Zheng Yuan and Shengyuan Chen and Hao Chen and Qinggang Zhang and Xiao Huang and Feiran Huang},
  title = {{Evaluating LLMs on Conversational Text-to-SQL under Chain Ambiguity and Intent Drift}},
  year = {2026},
  eprint = {2608.29543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.29543},
}
Figure