How much does text-to-SQL parsing itself limit coverage?
Even when natural language interpretations are correct and unambiguous, text-to-SQL parsers still fail to generate valid SQL for half of queries. This asks how much of the overall error budget comes from parsing capability rather than disambiguation.
To isolate how much of their pipeline's error comes from disambiguation versus parsing, the authors "use gold interpretations from Ambrosia and evaluate how well the text-to-SQL parser performs when all interpretations are correct." This removes the paper's own contribution — the interpretation generator and infilling model — from the equation entirely, leaving only the semantic parser's job of turning a correct, unambiguous natural-language reading into SQL. The result is still far from solved: "full coverage reaches only 49%," which the authors read as evidence that "a substantial number of errors may come from the unambiguous text-to-SQL parsing alone," not from any failure to disambiguate.
The paper traces part of this to parser capability directly: comparing the instruction-tuned Qwen-2.5 Coder 32B against its 7B variant (Table 3), "results decrease substantially when the weaker text-to-SQL model is used." Because the overall approach is explicitly modular — interpretations feed a separate, swappable parser — the authors state they "anticipate our results would improve with a better text-to-SQL parser," treating the 49% ceiling as a property of the current parsing component rather than of the disambiguate-first strategy itself.
This bounds the claim made in the sibling note Can resolving ambiguity in natural language first improve SQL parsing?: solving disambiguation does not close the gap to full correctness, because an equally large error source sits downstream in the parser itself. It also echoes, in a different task, the form-correct-content-wrong pattern described in Can large language models translate natural language to logic faithfully? — there, natural language to logical form translation loses meaning at scope and quantification; here, natural language to SQL translation loses coverage even when the input reading is already unambiguous and correct.
The excerpt does not diagnose which parsing errors drive the 49% ceiling — no breakdown by schema complexity, query structure, or ambiguity type is given for this gold-interpretation condition specifically; the paper's error analysis (Table 4) covers the full pipeline's 50 sampled errors rather than isolating this upper-bound test. The implication the authors draw is correspondingly narrow: better interpretation generation alone has a ceiling on end-to-end accuracy, and parser quality is an independent, comparably sized lever — but the excerpt stops short of saying which parser weaknesses matter most.
Inquiring lines that read this note 1
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 3
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
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.
sibling note on this paper's main method; this finding bounds how much that method's gains can close the overall coverage gap
-
Can large language models translate natural language to logic faithfully?
This explores whether LLMs can convert natural language statements into formal logical representations without losing meaning. It matters because faithful translation is essential for any AI system that reasons formally or verifies specifications.
parallel form-correct-content-wrong failure in natural-language-to-logical-form translation, in a different task
-
Can systems surface ambiguity instead of guessing user intent?
When database queries are ambiguous, should systems ask for clarification or make their best guess? This explores whether making the system's reasoning visible helps users disambiguate faster.
same text-to-SQL domain; this note isolates the parsing step as a distinct error source separate from ambiguity resolution
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing
- SParC: Cross-Domain Semantic Parsing in Context
- PleaSQLarify: Visual Pragmatic Repair for Natural Language Database Querying
- Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questions
- Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?
- CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databases
- LiveMCP-101: Stress Testing and Diagnosing MCP-enabled Agents on Challenging Queries
- Evaluating Large Language Models in Exercises of UML Class Diagram Modeling
Original note title
text-to-SQL parsing remains the dominant error source even when gold-standard interpretations eliminate ambiguity