SYNTHESIS NOTE
Topics›Conversation Architecture Structure›this note

Can resolving ambiguity in natural language first improve SQL parsing?

Exploring whether generating unambiguous English interpretations before mapping to SQL queries could better handle the ambiguities that plague text-to-SQL systems. This matters because ambiguity is a fundamental language challenge that standard end-to-end approaches tend to gloss over.

Synthesis note · 2026-11-17 · sourced from Conversation Architecture Structure

The paper proposes a "modular approach that resolves ambiguity using natural language interpretations before mapping these to logical forms (e.g., SQL queries)," arguing this works better than asking a parser to predict multiple SQL queries directly. For an ambiguous question like "return the rating of each hotel," the system first produces unambiguous readings in plain English (star rating vs. guest review score) and only then maps each reading to its own SQL query. The authors report this "disambiguate first parse later" strategy "improves the coverage of interpretations for ambiguous questions and generalizes across annotation styles, database structures, and ambiguity types," reaching "the best single interpretation coverage of 92%" on AmbiQT and the best results on the out-of-domain Ambrosia benchmark on three of four metrics, though full coverage there stays low at 19%.

The mechanism exploits rather than fights a known LLM weakness: the paper notes LLMs, "like humans, resolve ambiguous questions by gravitating toward preferred, default interpretations," so a first LLM pass is used purely to generate those default readings. A second, specially trained "infilling model" then reviews the question and the default interpretations and generates whichever readings were missed, rather than trying to correct the generator's bias directly. To train the infilling model without hand-labeled interpretations, the authors "exploit the fact that generated interpretations can be converted to SQL queries which we execute to verify whether they are correct and to establish which interpretations are missing" — execution, not annotation, supplies the training signal.

This sits alongside Can systems surface ambiguity instead of guessing user intent?, which tackles the same text-to-SQL ambiguity problem but keeps a user in the loop, resolving one variable at a time through a visual interface; this paper instead removes the user entirely, generating and infilling all interpretations up front as an "overton response" the system presents without interaction. It also gives a concrete fix for the failure documented in Can language models recognize when text is deliberately ambiguous? — rather than treating the default-interpretation bias as a deficit to eliminate, it treats the bias as a usable first-pass signal that a second model then fills in. And it directly engages the gap named in Are standard NLP benchmarks hiding how LLMs fail at ambiguity? by evaluating on AmbiQT and Ambrosia, two benchmarks built specifically to retain ambiguous instances rather than filter them out.

The excerpt does not report how an "overton" response of several SQL interpretations actually lands with end users compared to a clarifying question — Do clarifying dialogues help LLMs answer better than rewritten inputs? suggests the dialogue act of asking may itself matter, a comparison this paper does not run. The method is also validated only on text-to-SQL; the authors' own framing of interpretations as "intermediate representations" suggests portability to other semantic parsing tasks, but the excerpt reports no results outside this domain.

Inquiring lines that read this note 3

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Why do language models systematically fail at ambiguity recognition?

Related concepts in this collection 5

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
12 direct connections · 52 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

disambiguating before text-to-SQL parsing boosts interpretation coverage by exploiting llms bias toward default readings