paper-with-me

홈 › Papers

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

2025-11-13 · Qifeng Cai, Hao Liang, Chang Xu, Tao Xie, Wentao Zhang, Bin Cui 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.

📄 PDF Abstract BibTeX arXiv:2511.10192

Code (0)

등록된 구현이 없습니다.

Tasks

Question GenerationData Augmentation

Similar Papers 제목 키워드 기반

Navigating the State of Cognitive Flow: Context-Aware AI Interventions for Effective Reasoning Support

2025-04-22 · Dinithi Dissanayake, Suranga Nanayakkara

Flow theory describes an optimal cognitive state where individuals experience deep focus and intrinsic motivation when a task's difficulty aligns with their skill level. In AI-augmented reasoning, interventions that disr…

Decision Making

A Task-Driven and Quality-Assured Agent Framework for SAR Data Generation

2026-06-27 · Xuanting Wu, Fan Zhanga, Fei Ma, Ling Guan 외 arxiv

Synthetic aperture radar (SAR) data augmentation is important for improving the generalization of data-driven SAR interpretation models, yet practical augmentation workflows are often hindered by heterogeneous dataset fo…

Data Augmentation

Robust Atypical Mitosis Classification with DenseNet121: Stain-Aware Augmentation and Hybrid Loss for Domain Generalization

2025-10-26 · Adinath Dukre, Ankan Deria, Yutong Xie, Imran Razzak arxiv

Atypical mitotic figures are important biomarkers of tumor aggressiveness in histopathology, yet reliable recognition remains challenging due to severe class imbalance and variability across imaging domains. We present a…

Domain Generalization

FAFA: Frequency-Aware Flow-Aided Self-Supervision for Underwater Object Pose Estimation

2024-09-25 · Jingyi Tang, Gu Wang, Zeyu Chen, Shengquan Li 외

Although methods for estimating the pose of objects in indoor scenes have achieved great success, the pose estimation of underwater objects remains challenging due to difficulties brought by the complex underwater enviro…

6D Pose EstimationPose Estimation

CHARD: Clinical Health-Aware Reasoning Across Dimensions for Text Generation Models

2022-10-09 · Steven Y. Feng, Vivek Khetan, Bogdan Sacaleanu, Anatole Gershman 외

We motivate and introduce CHARD: Clinical Health-Aware Reasoning across Dimensions, to investigate the capability of text generation models to act as implicit clinical knowledge bases and generate free-flow textual expla…

Clinical KnowledgeData AugmentationText Generation