Importance of Synthesizing High-quality Data for Text-to-SQL Parsing
Not on the map. Why?
Abstract (arXiv)
Recently, there has been increasing interest in synthesizing data to improve downstream text-to-SQL tasks. In this paper, we first examined the existing synthesized datasets and discovered that state-of-the-art text-to-SQL algorithms did not further improve on popular benchmarks when trained with augmented synthetic data. We observed two shortcomings: illogical synthetic SQL queries from independent column sampling and arbitrary table joins. To address these issues, we propose a novel synthesis framework that incorporates key relationships from schema, imposes strong typing, and conducts schema-distance-weighted column sampling. We also adopt an intermediate representation (IR) for the SQL-to-text task to further improve the quality of the generated natural language questions. When existing powerful semantic parsers are pre-finetuned on our high-quality synthesized data, our experiments show that these models have significant accuracy boosts on popular benchmarks, including new state-of-the-art performance on Spider.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 29 of its 43 references that are in the map. First posted on arXiv 17 Dec 2022.
Builds on
29 of 43 references.
References · 29
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
- 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
- 2016Data Recombination for Neural Semantic Parsingcited by 111
17 more
- 2017Learning a Neural Semantic Parser from User Feedbackcited by 98
- 2020SmBoP: Semi-autoregressive Bottom-up Semantic Parsingcited by 97
- 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
- 2019Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questionscited by 80
- 2020Grounded Adaptation for Zero-shot Executable Semantic Parsingcited by 76
- 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
- 2020Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Trainingcited by 65
- 2020On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queriescited by 59
- 2021GitTables: A Large-Scale Corpus of Relational Tablescited by 44
- 2020Optimizing Deeper Transformers on Small Datasetscited by 41
- 2021Learning to Synthesize Data for Semantic Parsingcited by 41
- 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
- 2021Data Augmentation with Hierarchical SQL-to-Question Generation for Cross-domain Text-to-SQL Parsingcited by 32
- 2018Question Generation from SQL Queries Improves Neural Semantic Parsingcited by 29
- 2021Hierarchical Neural Data Synthesis for Semantic Parsingcited by 11
- 2017Type- and Content-Driven Synthesis of SQL Queries from Natural Languagecited by 5
Built on by
Citing papers per year: 2023: 5; 2024: 9; 2025: 10; 2026: 3.
27 papers.
Sort:
By area:
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2023Interactive Text-to-SQL Generation via Editable Step-by-Step Explanationscited by 19
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queriescited by 17
- 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Mergingcited by 16
- 2024Evaluating the Data Model Robustness of Text-to-SQL Systems Based on Real User Queriescited by 12
- 2024You Only Read Once (YORO): Learning to Internalize Database Knowledge for Text-to-SQLcited by 11
- 2024EPI-SQL: Enhancing Text-to-SQL Translation with Error-Prevention Instructionscited by 8
15 more
- 2025SPFT-SQL: Enhancing Large Language Model for Text-to-SQL Parsing by Self-Play Fine-Tuningcited by 5
- 2024Improving Generalization in Semantic Parsing by Increasing Natural Language Variationcited by 4
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLcited by 4
- 2025End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generationcited by 2
- 2025AGRO-SQL: Agentic Group-Relative Optimization with High-Fidelity Data Synthesiscited by 2
- 2026CSR-RAG: An Efficient Retrieval System for Text-to-SQL on the Enterprise Scalecited by 2
- 2024Relational Database Augmented Large Language Modelcited by 1
- 2025REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL Modelscited by 1
- 2025SQL-Exchange: Transforming SQL Queries Across Domainscited by 1
- 2023Translating Natural Language Queries to SQL Using the T5 Modelcited by 0
- 2025StreamLink: Large-Language-Model Driven Distributed Data Engineering Systemcited by 0
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Querycited by 0
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQLcited by 0
- 2026Boundary-Aware NL2SQL: Integrating Reliability through Hybrid Reward and Data Synthesiscited by 0
- 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Modelcited by 0
- 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Model13 May 2026
- 2026Boundary-Aware NL2SQL: Integrating Reliability through Hybrid Reward and Data Synthesis15 Jan 2026
- 2026CSR-RAG: An Efficient Retrieval System for Text-to-SQL on the Enterprise Scale10 Jan 2026
- 2025AGRO-SQL: Agentic Group-Relative Optimization with High-Fidelity Data Synthesis29 Dec 2025
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQL28 Dec 2025
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Query24 Nov 2025
- 2025SPFT-SQL: Enhancing Large Language Model for Text-to-SQL Parsing by Self-Play Fine-Tuning4 Sep 2025
- 2025SQL-Exchange: Transforming SQL Queries Across Domains9 Aug 2025
- 2025End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation8 Aug 2025
- 2025StreamLink: Large-Language-Model Driven Distributed Data Engineering System27 May 2025
- 2025REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL Models6 Apr 2025
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale4 Mar 2025
15 more
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQL17 Feb 2025
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queries14 Oct 2024
- 2024You Only Read Once (YORO): Learning to Internalize Database Knowledge for Text-to-SQL18 Sep 2024
- 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Merging22 Aug 2024
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024
- 2024Relational Database Augmented Large Language Model21 Jul 2024
- 2024EPI-SQL: Enhancing Text-to-SQL Translation with Error-Prevention Instructions21 Apr 2024
- 2024CodeS: Towards Building Open-source Language Models for Text-to-SQL26 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
- 2023Translating Natural Language Queries to SQL Using the T5 Model12 Dec 2023
- 2023Selective Demonstrations for Cross-domain Text-to-SQL10 Oct 2023
- 2023Interactive Text-to-SQL Generation via Editable Step-by-Step Explanations12 May 2023
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction21 Apr 2023
- 2023Teaching Large Language Models to Self-Debug11 Apr 2023
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2023Interactive Text-to-SQL Generation via Editable Step-by-Step Explanationscited by 19
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queriescited by 17
- 2024Evaluating the Data Model Robustness of Text-to-SQL Systems Based on Real User Queriescited by 12
- 2024You Only Read Once (YORO): Learning to Internalize Database Knowledge for Text-to-SQLcited by 11
- 2024EPI-SQL: Enhancing Text-to-SQL Translation with Error-Prevention Instructionscited by 8
- 2024Improving Generalization in Semantic Parsing by Increasing Natural Language Variationcited by 4
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLcited by 4
12 most cited of 22 All 22 (JSON)
- 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Model13 May 2026
- 2026CSR-RAG: An Efficient Retrieval System for Text-to-SQL on the Enterprise Scale10 Jan 2026
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQL28 Dec 2025
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Query24 Nov 2025
- 2025SQL-Exchange: Transforming SQL Queries Across Domains9 Aug 2025
- 2025End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation8 Aug 2025
- 2025StreamLink: Large-Language-Model Driven Distributed Data Engineering System27 May 2025
- 2025REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL Models6 Apr 2025
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale4 Mar 2025
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQL17 Feb 2025
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queries14 Oct 2024
- 2024You Only Read Once (YORO): Learning to Internalize Database Knowledge for Text-to-SQL18 Sep 2024
12 newest of 22 All 22 (JSON)