EvolSQL: Structure-Aware Evolution for Scalable Text-to-SQL Data Synthesis
Fuente:
arXiv
Gespeichert in:
| Hauptverfasser: | , , , , , , , |
|---|---|
| Format: | Preprint |
| Veröffentlicht: |
2026
|
| Schlagworte: | |
| Online-Zugang: | |
| Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
| _version_ | 1866918277997920256 |
|---|---|
| author | Pan, Xuanguang Tao, Chongyang Bai, Jiayuan Gao, Jianling Tao, Zhengwei Zhou, Xiansheng Cheung, Gavin Ma, Shuai |
| author_facet | Pan, Xuanguang Tao, Chongyang Bai, Jiayuan Gao, Jianling Tao, Zhengwei Zhou, Xiansheng Cheung, Gavin Ma, Shuai |
| contents | Training effective Text-to-SQL models remains challenging due to the scarcity of high-quality, diverse, and structurally complex datasets. Existing methods either rely on limited human-annotated corpora, or synthesize datasets directly by simply prompting LLMs without explicit control over SQL structures, often resulting in limited structural diversity and complexity. To address this, we introduce EvolSQL, a structure-aware data synthesis framework that evolves SQL queries from seed data into richer and more semantically diverse forms. EvolSQL starts with an exploratory Query-SQL expansion to broaden question diversity and improve schema coverage, and then applies an adaptive directional evolution strategy using six atomic transformation operators derived from the SQL Abstract Syntax Tree to progressively increase query complexity across relational, predicate, aggregation, and nesting dimensions. An execution-grounded SQL refinement module and schema-aware deduplication further ensure the creation of high-quality, structurally diverse mapping pairs. Experimental results show that a 7B model fine-tuned on our data outperforms one trained on the much larger SynSQL dataset using only 1/18 of the data. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2601_04875 |
| institution | arXiv |
| publishDate | 2026 |
| record_format | arxiv |
| spellingShingle | EvolSQL: Structure-Aware Evolution for Scalable Text-to-SQL Data Synthesis Pan, Xuanguang Tao, Chongyang Bai, Jiayuan Gao, Jianling Tao, Zhengwei Zhou, Xiansheng Cheung, Gavin Ma, Shuai Computation and Language Training effective Text-to-SQL models remains challenging due to the scarcity of high-quality, diverse, and structurally complex datasets. Existing methods either rely on limited human-annotated corpora, or synthesize datasets directly by simply prompting LLMs without explicit control over SQL structures, often resulting in limited structural diversity and complexity. To address this, we introduce EvolSQL, a structure-aware data synthesis framework that evolves SQL queries from seed data into richer and more semantically diverse forms. EvolSQL starts with an exploratory Query-SQL expansion to broaden question diversity and improve schema coverage, and then applies an adaptive directional evolution strategy using six atomic transformation operators derived from the SQL Abstract Syntax Tree to progressively increase query complexity across relational, predicate, aggregation, and nesting dimensions. An execution-grounded SQL refinement module and schema-aware deduplication further ensure the creation of high-quality, structurally diverse mapping pairs. Experimental results show that a 7B model fine-tuned on our data outperforms one trained on the much larger SynSQL dataset using only 1/18 of the data. |
| title | EvolSQL: Structure-Aware Evolution for Scalable Text-to-SQL Data Synthesis |
| topic | Computation and Language |
| url | https://arxiv.org/abs/2601.04875 |