mlsanityData to 7 Oct 2026

Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQL

arXiv 2511.10192 ↗First posted 13 Nov 2025cs.CL cs.DBcited by 11

Not on the map. Why?

Abstract (arXiv)

The data-centric paradigm has emerged as a pivotal direction in artificial intelligence (AI), emphasizing the role of high-quality training data. This shift is especially critical in the Text-to-SQL task, where the scarcity, limited diversity, and structural simplicity of existing datasets constrain model performance. To address these challenges, we propose Text2SQL-Flow, a SQL-aware data augmentation framework that systematically generates large-scale, semantically valid, and structurally diverse Text-to-SQL pairs from limited seed data. Our framework spans six augmentation dimensions and integrates an end-to-end pipeline with auxiliary database selection, SQL executability verification, natural language (NL) question generation, NL-SQL correspondence verification, and chain-of-thought (CoT) reasoning trace generation. Leveraging this framework, we construct SQLFlow, a high-quality dataset comprising 75,386 annotated examples. We demonstrate the utility of SQLFlow in both fine-tuning and prompt-based settings. (1) For open-source large language models (LLMs), fine-tuning with SQLFlow improves problem-solving ability, delivering competitive gains across multiple benchmarks under the same data budget. (2) For closed-source LLMs, we propose a masked alignment retrieval method that uses SQLFlow as both a knowledge base and training data for the retrieval model, enabling structure-aware example matching via fine-grained NL-SQL alignments. Experiments show that our retrieval strategy outperforms existing example retrieval methods, highlighting the combined value of SQLFlow's data quality and our retrieval technique. Overall, our work provides a scalable, data-centric foundation for advancing Text-to-SQL systems and underscores the importance of structured, high-fidelity data in modern AI development. Our code is available at https://github.com/TechNomad-ds/Text2SQL-Flow.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 57 of its 67 references that are in the map. First posted on arXiv 13 Nov 2025.

Builds on

57 of 67 references.

References · 57

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2024Qwen2.5 Technical Reportcited by 4,713
  7. 2024GPT-4o System Cardcited by 4,467
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  9. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  10. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  11. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  12. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
38 more
  1. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  2. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  3. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  4. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  5. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  6. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
  7. 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
  8. 2023Data-centric Artificial Intelligence: A Surveycited by 202
  9. 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 191
  10. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
  11. 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
  12. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 159
  13. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
  14. 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
  15. 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
  16. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
  17. 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
  18. 2024Draw-and-Understand: Leveraging Visual Prompts to Enable MLLMs to Comprehend What You Wantcited by 98
  19. 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
  20. 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
  21. 2020Grounded Adaptation for Zero-shot Executable Semantic Parsingcited by 76
  22. 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
  23. 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
  24. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
  25. 2025UniCTokens: Boosting Personalized Understanding and Generation via Unified Concept Tokenscited by 55
  26. 2024Synthesizing Text-to-SQL Data from Weak and Strong LLMscited by 53
  27. 2024MC-LLaVA: Multi-Concept Personalized Vision-Language Modelcited by 53
  28. 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 51
  29. 2025Perceive Anything: Recognize, Explain, Caption, and Segment Anything in Images and Videoscited by 49
  30. 2024A Preview of XiYan-SQL: A Multi-Generator Ensemble Framework for Text-to-SQLcited by 46
  31. 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 44
  32. 2024LLM as Dataset Analyst: Subpopulation Structure Discovery with Large Language Modelcited by 43
  33. 2023EHRSQL: A Practical Text-to-SQL Benchmark for Electronic Health Recordscited by 42
  34. 2021Learning to Synthesize Data for Semantic Parsingcited by 41
  35. 2024A Survey on Data Synthesis and Augmentation for Large Language Modelscited by 40
  36. 2021ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parsercited by 35
  37. 2021Data Augmentation with Hierarchical SQL-to-Question Generation for Cross-domain Text-to-SQL Parsingcited by 32
  38. 2022Data-Centric Artificial Intelligencecited by 31

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 10.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Datrics Text2SQL: A Framework for Natural Language to SQL Query Generation
  2. 2025SQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMs
  3. 2025SING-SQL: A Synthetic Data Generation Framework for In-Domain Text-to-SQL Translation
  4. 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL
  5. 2024SelECT-SQL: Self-correcting ensemble Chain-of-Thought for Text-to-SQL
  6. 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
  7. 2024Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models
  8. 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQL