mlsanityData to 7 Oct 2026

SQLMorph: Query Mutation and Fine-Grained Metrics for Text-to-SQL Evaluation

arXiv 2609.08950 ↗First posted 8 Sep 2026cs.DB cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Text-to-SQL systems translate natural language queries into executable SQL, democratizing access to structured data. Despite recent advances driven by large language models (LLMs), evaluation remains a major bottleneck: public benchmarks fail to capture the complexity of enterprise schema, while building private evaluation sets is costly and nondeterministic, making evaluation results difficult to reproduce. To address this issue, we present SQLMorph, a framework for Text-to-SQL evaluation via query mutation. SQLMorph introduces two techniques to automatically generate and expand evaluation sets: Join Query Expansion (JQE), which systematically increases structural complexity through valid join additions, and Textual Query Augmentation (TQA), which generates controlled natural language perturbations to assess robustness to linguistic variation. JQE and TQA create targeted choke points to challenge specific system components. When applied to state-of-the-art systems, JQE increases query coverage and reveals accuracy degradation as the number of joins grows. Meanwhile, TQA shows that linguistic brittleness induced by heavy abbreviation can reduce accuracy by up to 17%. Beyond evaluation sets, SQLMorph introduces a family of execution-level metrics that address the limitations of current binary measures, such as Execution Accuracy. We define Execution Precision (EXP) and Execution Recall (EXR) to quantify the fraction of correct and recovered results, respectively, and combine them via F1 for unified scoring. Our experiments show that these relaxed metrics enable fine-grained analysis of over- and under-prediction, revealing differences across systems that binary metrics obscure. Together, SQLMorph's query mutation and fine-grained metrics support debugging and better align Text-to-SQL evaluation practices with real-world deployments.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 33 of its 41 references that are in the map. First posted on arXiv 8 Sep 2026.

Builds on

33 of 41 references.

References · 33

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  3. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  4. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  5. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  6. 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 223
  7. 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 164
  8. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 158
  9. 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 132
  10. 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
  11. 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 105
  12. 2024MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generationcited by 103
21 more
  1. 2024The Dawn of Natural Language to SQL: Are We Fully Ready?cited by 78
  2. 2024The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Modelscited by 67
  3. 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
  4. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
  5. 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 51
  6. 2025OpenSearch-SQL: Enhancing Text-to-SQL with Dynamic Few-shot and Consistency Alignmentcited by 51
  7. 2024A Preview of XiYan-SQL: A Multi-Generator Ensemble Framework for Text-to-SQLcited by 46
  8. 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQLcited by 38
  9. 2024BEAVER: An Enterprise Benchmark for Text-to-SQLcited by 37
  10. 2023Evaluating Cross-Domain Text-to-SQL Models and Benchmarkscited by 32
  11. 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Surveycited by 27
  12. 2025CSC-SQL: Corrective Self-Consistency in Text-to-SQL via Reinforcement Learningcited by 15
  13. 2022Natural Language Interfaces to Datacited by 14
  14. 2025Cheaper, Better, Faster, Stronger: Robust Text-to-SQL without Chain-of-Thought or Fine-Tuningcited by 13
  15. 2022Deep Learning Driven Natural Languages Text to SQL Query Conversion: A Surveycited by 11
  16. 2024End-to-end Text-to-SQL Generation within an Analytics Insight Enginecited by 7
  17. 2024Towards Optimizing SQL Generation via LLM Routingcited by 5
  18. 2025Fundamental Challenges in Evaluating Text2SQL Solutions and Detecting Their Limitationscited by 5
  19. 2025GenEdit: Compounding Operators and Continuous Improvement to Tackle Text-to-SQL in the Enterprisecited by 4
  20. 2025BenchPress: A Human-in-the-Loop Annotation System for Rapid Text-to-SQL Benchmark Curationcited by 3
  21. 2025PaVeRL-SQL: Text-to-SQL via Partial-Match Rewards and Verbal Reinforcement Learningcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.