Research map / Large language models / Language, safety and interpretability
Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQL
Jie Shi, Xi Cao, Bo Xu, Jiaqing Liang, Yanghua Xiao, Jia Chen, Peng Wang, Wei Wang
Fudan University · Donghua University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- BIRD leaderboard execution accuracy (%) (dev) 53.32 · rank 20 of 24 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| generate ORM code then parse to SQL (Dialect-SQL) instead of direct SQL | Direct-SQL · BIRD dev (SQLite) | execution accuracy: 48.96 -> 53.32 | Improved |
| generate ORM code then parse to SQL | Direct-SQL · Spider dev (SQLite) | execution accuracy: 77.3 -> 79.8 | Improved |
| generate ORM code instead of direct SQL | Direct-SQL · Spider dev, exact match | exact match: 42.5 -> 34.7 | Hurt |
| add regeneration after execution failure (ablation) | Dialect-SQL · Spider dev | execution accuracy: 77.5 -> 79.8 | Improved |
| add regeneration after execution failure (ablation) | Direct-SQL · Spider dev | execution accuracy: 75.2 -> 77.3 | Improved |
| add hard bootstrapped demonstrations (ablation) | Dialect-SQL · BIRD dev | execution accuracy: 51.43 -> 53.32 | Improved |
| use ORM code as unified intermediate language across dialects | Dialect-SQL · BIRD on PostgreSQL and SQL Server | execution accuracy drop vs SQLite: 1.53% and 2.12% average drop | Improved |
| generate in a source dialect and transpile to target | Direct-SQL (gpt-4o) · BIRD dev PostgreSQL | execution accuracy: 51.04 -> 57.56 | Improved |
| average over transpilation source dialects | Direct-SQL (gpt-4o) · BIRD dev average | execution accuracy: 56.78 vs 53.75-57.39 | No clear effect |
| use Dialect-SQL instead of transpilation | Direct-SQL (gpt-4o) · BIRD dev average | execution accuracy: 56.78 -> 61.13 | Improved |
| increase number of demonstrations K | Dialect-SQL · BIRD dev | execution accuracy | No clear effect |
| use Dialect-SQL without regeneration | Dialect-SQL · BIRD latency | latency | Hurt |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Closing the Cross-Dialect Gap: Query Plans as a Portable Interface in Text-to-SQL (EMNLP 2026 · similarity 0.92)
- ExeSQL: Self-Taught Text-to-SQL Models with Execution-Driven Bootstrapping for SQL Dialects (EMNLP 2025 · similarity 0.92)
- PolySQL: Scaling Text-to-SQL Evaluation Across SQL Dialects via Automated Backend Isomorphism (EMNLP 2026 · similarity 0.90)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.89)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.88)
- SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQL (NeurIPS 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.