Research map / Large language models / Language, safety and interpretability
Closing the Cross-Dialect Gap: Query Plans as a Portable Interface in Text-to-SQL
Corentin Royer, Robin Oester, Yotam Perlitz, Yannick Metz, Andrea Giovannini, Mennatallah El-Assady
IBM · ETH Zurich
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| generate dialect-agnostic query plans instead of dialect-specific SQL | prompted and fine-tuned models, 13 models · BIRD-dev | lower-bound dialect accuracy drop vs SQLite: 8-17 pp drop (SQL) -> at most 2.3 pp (plans) | Improved |
| use query plans instead of SQL for small and mid prompted models | prompted models below ~68B · BIRD-dev | lower-bound dialect accuracy: 19-29 pp below SQL baseline | Hurt |
| use query plans instead of SQL for prompted models above ~68B | capable prompted models · BIRD-dev | lower-bound dialect accuracy | Improved |
| supervise fine-tuning on gold plans rather than gold SQL (ablation) | Ministral-3-8B (LoRA) · BIRD-dev (SQLite) | execution accuracy: 61.2 -> 64.5 | Improved |
| supervise fine-tuning on gold plans rather than gold SQL (ablation) | Ministral-3-8B (LoRA) · BIRD-dev | portability: 0.82 -> 0.97 | Improved |
| fine-tune on plans versus on SQL (gain over prompted) (ablation) | Ministral-3-8B · BIRD-dev (SQLite) | execution accuracy gain: +48.8 pp (plans) vs +7.9 pp (SQL) | Improved |
| use plans instead of SQL as generation target | 5 strongest prompted models · BIRD-dev | Ordering/Ranking error count: 172 -> 109 | Improved |
| use plans instead of SQL on reasoning error categories | 5 strongest prompted models · BIRD-dev | Schema Linking, Filtering/Logic, Aggregation/Grouping errors | No clear effect |
| use plans instead of SQL (Dialect Syntax errors, mostly malformed JSON) | 5 strongest prompted models · BIRD-dev | Dialect Syntax errors | Hurt |
| use plans instead of SQL on Gemini 3.1 Pro | Gemini 3.1 Pro · BIRD-dev (SQLite) | execution accuracy: 73.2 -> 68.2 | Hurt |
| use plans instead of SQL on Gemini 3.1 Pro | Gemini 3.1 Pro · BIRD-dev (ClickHouse) | execution accuracy: 63.1 -> 67.1 | Improved |
| replace BIRD execution accuracy with DF-Match in round-trip evaluation | conversion pipeline · BIRD / Spider round-trip | apparent round-trip reliability: +14-16 pp per dialect | Improved |
Open problems this paper states
- “Evaluated only on English BIRD and Spider dev splits, so dev-set contamination cannot be ruled out.” → Benchmark data may overlap with what the models saw in pretraining. (an open problem in controlled text generation)
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
- Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQL (EMNLP 2025 · similarity 0.92)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.88)
- ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL (ICLR 2025 · similarity 0.88)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.88)
- PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation (NeurIPS 2025 · similarity 0.88)
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 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.