Improving Text-to-SQL Evaluation Methodology
Not on the map. Why?
Abstract (arXiv)
To be informative, an evaluation must measure how well systems generalize to realistic unseen data. We identify limitations of and propose improvements to current evaluations of text-to-SQL systems. First, we compare human-generated and automatically generated questions, characterizing properties of queries necessary for real-world applications. To facilitate evaluation on multiple datasets, we release standardized and improved versions of seven existing datasets and one new text-to-SQL dataset. Second, we show that the current division of data into training and test sets measures robustness to variations in the way questions are asked, but only partially tests how well systems generalize to new queries; therefore, we propose a complementary dataset split for evaluation of future work. Finally, we demonstrate how the common practice of anonymizing variables during evaluation removes an important challenge of the task. Our observations highlight key difficulties, and our methodology enables effective measurement of future development.
Key facts. Cited by 133 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Jun 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 35; 2022: 29; 2023: 36; 2024: 17; 2025: 9; 2026: 7.
133 papers.
Sort:
By area:
- 2021FeTaQA: Free-form Table Question Answeringcited by 174
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
- 2024ConceptMix: A Compositional Image Generation Benchmark with Controllable Difficultycited by 60
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2023Coverage-based Example Selection for In-Context Learningcited by 58
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
38 more
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalizationcited by 48
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2021Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Datacited by 43
- 2023EHRSQL: A Practical Text-to-SQL Benchmark for Electronic Health Recordscited by 42
- 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systemscited by 42
- 2021Learning to Synthesize Data for Semantic Parsingcited by 41
- 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
- 2022Characterizing Intrinsic Compositionality in Transformers with Tree Projectionscited by 40
- 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutionscited by 38
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
- 2021Learning Algebraic Recombination for Compositional Generalizationcited by 31
- 2024Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigmcited by 31
- 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
- 2021How BPE Affects Memorization in Transformerscited by 29
- 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
- 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Surveycited by 27
- 2024SPINACH: SPARQL-Based Information Navigation for Challenging Real-World Questionscited by 27
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
- 2021COVR: A test-bed for Visually Grounded Compositional Generalization with real imagescited by 25
- 2023A Benchmark to Understand the Role of Knowledge Graphs on Large Language Model's Accuracy for Question Answering on Enterprise SQL Databasescited by 25
- 2022On the Compositional Generalization Gap of In-Context Learningcited by 24
- 2022Few-shot Subgoal Planning with Language Modelscited by 22
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2021(Un)solving Morphological Inflection: Lemma Overlap Artificially Inflates Models' Performancecited by 20
- 2023Towards Knowledge-Intensive Text-to-SQL Semantic Parsing with Formulaic Knowledgecited by 18
- 2021Structured Reordering for Modeling Latent Alignments in Sequence Transductioncited by 17
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
- 2024Can Models Learn Skill Composition from Examples?cited by 17
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queriescited by 17
- 2022SUBS: Subtree Substitution for Compositional Semantic Parsingcited by 16
- 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignmentcited by 16
- 2021Weakly Supervised Text-to-SQL Parsing through Question Decompositioncited by 15
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoringcited by 15
- 2021Draw Me a Flower: Processing and Grounding Abstraction in Natural Languagecited by 14
50 most cited of 133 All 133 (JSON)
- 2026GeoBenchLLM: A Comprehensive Benchmark for Evaluating LLMs on Geo-Related Tasks7 Aug 2026
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling23 Jul 2026
- 2026UniQL: Towards Dialect-Universal Benchmarking for Text-to-SQL6 Jun 2026
- 2026LeGo-Code: Can Modular Curriculum Learning Advance Complex Code Generation? Insights from Text-to-SQL20 Apr 2026
- 2026AV-SQL: Decomposing Complex Text-to-SQL Queries with Agentic Views8 Apr 2026
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generation8 Apr 2026
- 2026BIRDTurk: Adaptation of the BIRD Text-to-SQL Dataset to Turkish3 Feb 2026
- 2025Agent Bain vs. Agent McKinsey: A New Text-to-SQL Benchmark for the Business Domain8 Oct 2025
- 2025Jackal: A Real-World Execution-Based Benchmark Evaluating Large Language Models on Text-to-JQL Tasks28 Sep 2025
- 2025LLMSQL: Upgrading WikiSQL for the LLM Era of Text-to-SQL27 Sep 2025
- 2025PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation27 Sep 2025
- 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalization23 Jun 2025
38 more
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contexts15 Apr 2025
- 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing4 Apr 2025
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotation21 Feb 2025
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrieval19 Nov 2024
- 2024SM3-Text-to-Query: Synthetic Multi-Model Medical Text-to-Query Benchmark8 Nov 2024
- 2024BIS: NL2SQL Service Evaluation Benchmark for Business Intelligence Scenarios30 Oct 2024
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queries14 Oct 2024
- 2024Can Models Learn Skill Composition from Examples?29 Sep 2024
- 2024ConceptMix: A Compositional Image Generation Benchmark with Controllable Difficulty26 Aug 2024
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024
- 2024SPINACH: SPARQL-Based Information Navigation for Challenging Real-World Questions16 Jul 2024
- 2024FuncEvalGMN: Evaluating Functional Correctness of SQL via Graph Matching Network9 Jul 2024
- 2024BookSQL: A Large Scale Text-to-SQL Dataset for Accounting Domain12 Jun 2024
- 2024EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Records23 May 2024
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoring23 Mar 2024
- 2024Schema-Aware Multi-Task Learning for Complex Text-to-SQL9 Mar 2024
- 2024Archer: A Human-Labeled Text-to-SQL Dataset with Arithmetic, Commonsense and Hypothetical Reasoning19 Feb 2024
- 2024Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm16 Feb 2024
- 2024Improving Generalization in Semantic Parsing by Increasing Natural Language Variation13 Feb 2024
- 2024Evaluating the Data Model Robustness of Text-to-SQL Systems Based on Real User Queries13 Feb 2024
- 2023Compositional Generalization for Multi-label Text Classification: A Data-Augmentation Approach18 Dec 2023
- 2023Leveraging Code to Improve In-context Learning for Semantic Parsing16 Nov 2023
- 2023Imagine the Unseen World: A Benchmark for Systematic Generalization in Visual World Models15 Nov 2023
- 2023A Benchmark to Understand the Role of Knowledge Graphs on Large Language Model's Accuracy for Question Answering on Enterprise SQL Databases13 Nov 2023
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Survey27 Oct 2023
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2023Structural generalization in COGS: Supertagging is (almost) all you need21 Oct 2023
- 2023Improving Cross-Lingual Transfer through Subtree-Aware Word Reordering20 Oct 2023
- 2023Battle of the Large Language Models: Dolly vs LLaMA vs Vicuna vs Guanaco vs Bard vs ChatGPT -- A Text-to-SQL Parsing Comparison16 Oct 2023
- 2023Selective Demonstrations for Cross-domain Text-to-SQL10 Oct 2023
- 2023SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulation1 Oct 2023
- 2023Reranking for Natural Language Generation from Logical Forms: A Study based on Large Language Models21 Sep 2023
- 2023Semantic Parsing in Limited Resource Conditions14 Sep 2023
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis26 Jul 2023
- 2023On Evaluation of Document Classification using RVL-CDIP21 Jun 2023
- 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systems7 Jun 2023
50 newest of 133 All 133 (JSON)
- 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalizationcited by 48
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutionscited by 38
- 2024Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigmcited by 31
- 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalization23 Jun 2025
- 2024Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm16 Feb 2024
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutions28 May 2022
- 2021FeTaQA: Free-form Table Question Answeringcited by 174
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
- 2024ConceptMix: A Compositional Image Generation Benchmark with Controllable Difficultycited by 60
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2023Coverage-based Example Selection for In-Context Learningcited by 58
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
12 most cited of 127 All 127 (JSON)
- 2026GeoBenchLLM: A Comprehensive Benchmark for Evaluating LLMs on Geo-Related Tasks7 Aug 2026
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling23 Jul 2026
- 2026UniQL: Towards Dialect-Universal Benchmarking for Text-to-SQL6 Jun 2026
- 2026LeGo-Code: Can Modular Curriculum Learning Advance Complex Code Generation? Insights from Text-to-SQL20 Apr 2026
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generation8 Apr 2026
- 2026BIRDTurk: Adaptation of the BIRD Text-to-SQL Dataset to Turkish3 Feb 2026
- 2025Jackal: A Real-World Execution-Based Benchmark Evaluating Large Language Models on Text-to-JQL Tasks28 Sep 2025
- 2025LLMSQL: Upgrading WikiSQL for the LLM Era of Text-to-SQL27 Sep 2025
- 2025PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation27 Sep 2025
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contexts15 Apr 2025
- 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing4 Apr 2025
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
12 newest of 127 All 127 (JSON)