Data Augmentation with Hierarchical SQL-to-Question Generation for Cross-domain Text-to-SQL Parsing
Not on the map. Why?
Abstract (arXiv)
Data augmentation has attracted a lot of research attention in the deep learning era for its ability in alleviating data sparseness. The lack of labeled data for unseen evaluation databases is exactly the major challenge for cross-domain text-to-SQL parsing. Previous works either require human intervention to guarantee the quality of generated data, or fail to handle complex SQL queries. This paper presents a simple yet effective data augmentation framework. First, given a database, we automatically produce a large number of SQL queries based on an abstract syntax tree grammar. For better distribution matching, we require that at least 80% of SQL patterns in the training data are covered by generated queries. Second, we propose a hierarchical SQL-to-question generation model to obtain high-quality natural language questions, which is the major contribution of this work. Finally, we design a simple sampling strategy that can greatly improve training efficiency given large amounts of generated data. Experiments on three cross-domain datasets, i.e., WikiSQL and Spider in English, and DuSQL in Chinese, show that our proposed data augmentation framework can consistently improve performance over strong baselines, and the hierarchical generation component is the key for the improvement.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 25 of its 31 references that are in the map. First posted on arXiv 3 Mar 2021.
Builds on
25 of 31 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Going Deeper with Convolutionscited by 4,231
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 217
- 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
- 2017Data Augmentation for Low-Resource Neural Machine Translationcited by 139
13 more
- 2016Data Recombination for Neural Semantic Parsingcited by 111
- 2017Learning a Neural Semantic Parser from User Feedbackcited by 98
- 2018TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generationcited by 88
- 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
- 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
- 2018Sequence-to-Sequence Data Augmentation for Dialogue Language Understandingcited by 67
- 2020Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Trainingcited by 65
- 2019Data Augmentation via Dependency Tree Morphing for Low-Resource Languagescited by 45
- 2020Hybrid Ranking Network for Text-to-SQLcited by 33
- 2018Question Generation from SQL Queries Improves Neural Semantic Parsingcited by 29
- 2019Don't paraphrase, detect! Rapid and Effective Data Collection for Semantic Parsingcited by 24
- 2018Data Augmentation for Spoken Language Understanding via Joint Variational Generationcited by 21
- 2018Semantic Parsing with Syntax- and Table-Aware SQL Generationcited by 17
Built on by
Citing papers per year: 2021: 1; 2022: 8; 2023: 4; 2024: 6; 2025: 8; 2026: 5.
32 papers.
Sort:
By area:
- 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
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systemscited by 42
- 2022Importance of Synthesizing High-quality Data for Text-to-SQL Parsingcited by 27
- 2021Improving Neural Cross-Lingual Summarization via Employing Optimal Transport Distance for Knowledge Distillationcited by 22
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Mergingcited by 16
- 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQLcited by 11
- 2022Augmenting Multi-Turn Text-to-SQL Datasets with Self-Playcited by 9
- 2025What Has Been Lost with Synthetic Evaluation?cited by 8
- 2022Understanding and Improving Zero-shot Multi-hop Reasoning in Generative Question Answeringcited by 7
20 more
- 2022Towards Generalizable and Robust Text-to-SQL Parsingcited by 7
- 2022Diverse Parallel Data Synthesis for Cross-Database Adaptation of Text-to-SQL Parserscited by 7
- 2022Closed-book Question Generation via Contrastive Learningcited by 6
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotationcited by 6
- 2024EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Recordscited by 5
- 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQLcited by 5
- 2024Improving Generalization in Semantic Parsing by Increasing Natural Language Variationcited by 4
- 2023NeuroQL: A Neuro-Symbolic Language and Dataset for Inter-Subjective Reasoningcited by 1
- 2023Controllable Data Augmentation for Context-Dependent Text-to-SQLcited 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
- 2026EvolSQL: Structure-Aware Evolution for Scalable Text-to-SQL Data Synthesiscited by 1
- 2022Faster and Better Grammar-based Text-to-SQL Parsing via Clause-level Parallel Decoding and Alignment Losscited by 0
- 2024EzSQL: An SQL intermediate representation for improving SQL-to-text Generationcited by 0
- 2025Domain Specific Question to SQL Conversion with Embedded Data Balancing Techniquecited by 0
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Querycited by 0
- 2026RingSQL: Schema-Independent Synthetic Data Generation for Text-to-SQL Reinforcement Learningcited by 0
- 2026SemanticAgent: A Semantics-Aware Framework for Text-to-SQL Data Synthesiscited by 0
- 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Modelcited by 0
- 2026COAL-SQL: Coverage-Guided Augmentation and Failure-Driven Learning for Text-to-SQL Post-Trainingcited by 0
- 2026COAL-SQL: Coverage-Guided Augmentation and Failure-Driven Learning for Text-to-SQL Post-Training4 Aug 2026
- 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Model13 May 2026
- 2026SemanticAgent: A Semantics-Aware Framework for Text-to-SQL Data Synthesis23 Apr 2026
- 2026RingSQL: Schema-Independent Synthetic Data Generation for Text-to-SQL Reinforcement Learning9 Jan 2026
- 2026EvolSQL: Structure-Aware Evolution for Scalable Text-to-SQL Data Synthesis8 Jan 2026
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Query24 Nov 2025
- 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQL13 Nov 2025
- 2025SQL-Exchange: Transforming SQL Queries Across Domains9 Aug 2025
- 2025What Has Been Lost with Synthetic Evaluation?28 May 2025
- 2025REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL Models6 Apr 2025
- 2025Domain Specific Question to SQL Conversion with Embedded Data Balancing Technique28 Mar 2025
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale4 Mar 2025
20 more
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotation21 Feb 2025
- 2024EzSQL: An SQL intermediate representation for improving SQL-to-text Generation28 Nov 2024
- 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Merging22 Aug 2024
- 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQL15 Jun 2024
- 2024EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Records23 May 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
- 2023Selective Demonstrations for Cross-domain Text-to-SQL10 Oct 2023
- 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systems7 Jun 2023
- 2023Controllable Data Augmentation for Context-Dependent Text-to-SQL27 Apr 2023
- 2023NeuroQL: A Neuro-Symbolic Language and Dataset for Inter-Subjective Reasoning13 Mar 2023
- 2022Importance of Synthesizing High-quality Data for Text-to-SQL Parsing17 Dec 2022
- 2022Diverse Parallel Data Synthesis for Cross-Database Adaptation of Text-to-SQL Parsers29 Oct 2022
- 2022Towards Generalizable and Robust Text-to-SQL Parsing23 Oct 2022
- 2022Augmenting Multi-Turn Text-to-SQL Datasets with Self-Play21 Oct 2022
- 2022Closed-book Question Generation via Contrastive Learning13 Oct 2022
- 2022Understanding and Improving Zero-shot Multi-hop Reasoning in Generative Question Answering9 Oct 2022
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect22 Aug 2022
- 2022Faster and Better Grammar-based Text-to-SQL Parsing via Clause-level Parallel Decoding and Alignment Loss26 Apr 2022
- 2021Improving Neural Cross-Lingual Summarization via Employing Optimal Transport Distance for Knowledge Distillation7 Dec 2021
- 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
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systemscited by 42
- 2022Importance of Synthesizing High-quality Data for Text-to-SQL Parsingcited by 27
- 2021Improving Neural Cross-Lingual Summarization via Employing Optimal Transport Distance for Knowledge Distillationcited by 22
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQLcited by 11
- 2022Augmenting Multi-Turn Text-to-SQL Datasets with Self-Playcited by 9
- 2025What Has Been Lost with Synthetic Evaluation?cited by 8
- 2022Towards Generalizable and Robust Text-to-SQL Parsingcited by 7
- 2022Closed-book Question Generation via Contrastive Learningcited by 6
12 most cited of 27 All 27 (JSON)
- 2026COAL-SQL: Coverage-Guided Augmentation and Failure-Driven Learning for Text-to-SQL Post-Training4 Aug 2026
- 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Model13 May 2026
- 2026SemanticAgent: A Semantics-Aware Framework for Text-to-SQL Data Synthesis23 Apr 2026
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Query24 Nov 2025
- 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQL13 Nov 2025
- 2025SQL-Exchange: Transforming SQL Queries Across Domains9 Aug 2025
- 2025What Has Been Lost with Synthetic Evaluation?28 May 2025
- 2025REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL Models6 Apr 2025
- 2025Domain Specific Question to SQL Conversion with Embedded Data Balancing Technique28 Mar 2025
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale4 Mar 2025
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotation21 Feb 2025
- 2024EzSQL: An SQL intermediate representation for improving SQL-to-text Generation28 Nov 2024
12 newest of 27 All 27 (JSON)