Research map / Large language models / Language, safety and interpretability
Selective Demonstrations for Cross-domain Text-to-SQL
Shuaichen Chang, Eric Fosler-Lussier
The Ohio State University
Read the paperPlace an idea next to itCheck your own paper ↗
15measured effects
13improved
2no clear effect
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
- Spider leaderboard execution accuracy (dev) 85.2 · rank 5 of 12 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add out-of-domain demonstrations (zero-shot -> OOD) (ablation) | Codex · Spider dev | execution accuracy: 75.7 -> 82.1 | Improved |
| add synthetic in-domain demonstrations on top of OOD (OOD only -> ODIS) (ablation) | Codex · Spider dev | execution accuracy: 82.1 -> 85.2 | Improved |
| add out-of-domain demonstrations on top of synthetic in-domain (synthetic only -> ODIS) (ablation) | Codex · Spider dev | execution accuracy: 81.5 -> 85.2 | Improved |
| combine hybrid sources (ODIS vs OOD only) (ablation) | ChatGPT · KaggleDBQA | execution accuracy: 45.6 -> 52.9 | Improved |
| combine hybrid sources (ODIS vs OOD only) (ablation) | CodeLlama · KaggleDBQA | execution accuracy: 37.9 -> 42.3 | Improved |
| retrieve OOD examples by SQL similarity (SimSQL) instead of random (ablation) | Codex OOD demonstrations · KaggleDBQA | execution accuracy: 38.0 -> 53.3 | Improved |
| retrieve OOD examples by SQL similarity instead of NLQ similarity (ablation) | Codex OOD demonstrations · Spider dev | execution accuracy: 81.2 -> 82.1 | Improved |
| use oracle SQL for retrieval instead of predicted SQL (ablation) | SimSQL OOD retrieval · KaggleDBQA | execution accuracy: 53.3 -> 56.2 | Improved |
| retrieve synthetic examples with coverage (CovSQL) instead of SimSQL (ablation) | Codex synthetic in-domain demonstrations · Spider dev | execution accuracy: 79.7 -> 81.5 | Improved |
| retrieve synthetic examples with CovSQL instead of SimSQL (ablation) | Codex synthetic in-domain demonstrations · KaggleDBQA | execution accuracy: 45.2 -> 45.2 | No clear effect |
| generate synthetic data with SHiP instead of GAZP (ablation) | Codex synthetic in-domain demonstrations · KaggleDBQA | execution accuracy: 33.8 -> 45.2 | Improved |
| generate synthetic data with SHiP instead of GAZP (ablation) | Codex synthetic in-domain demonstrations · Spider dev | execution accuracy: 79.5 -> 81.5 | Improved |
Closest papers by meaning
- Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL (EMNLP 2024 · similarity 0.89)
- Evaluating Cross-Domain Text-to-SQL Models and Benchmarks (EMNLP 2023 · similarity 0.89)
- SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQL (EMNLP 2025 · similarity 0.88)
- ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL (ICLR 2025 · similarity 0.86)
- Comparative Analysis of Demonstration Selection Algorithms for In-Context Learning in Large Language Models (Student Abstract) (AAAI 2025 · similarity 0.85)
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025 · similarity 0.85)
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.
