Research map / Large language models / Language, safety and interpretability
SQLPrompt: In-Context Text-to-SQL with Minimal Labeled Data
Ruoxi Sun, Sercan Ö. Arik, Rajarishi Sinha, Hootan Nakhost, Hanjun Dai, Pengcheng Yin, Tomas Pfister
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 |
|---|---|---|---|
| add execution-based consistency decoding (ablation) | SQLPrompt (no MixLLMs) · Spider Dev | TS: 49.6 -> 63.2 | Improved |
| add execution error filtering (ablation) | SQLPrompt (no MixLLMs) · Spider Dev | TS: 48.7 -> 63.2 | Improved |
| add primary keys, foreign keys and DB content to the prompt (ablation) | SQLPrompt (no MixLLMs) · Spider Dev | TS: 57.3 -> 63.2 | Improved |
| add MixPrompt (concise + verbose prompts) (ablation) | SQLPrompt, PaLM FLAN 62B qntz 0-shot · Spider Dev | TS: 61.3 -> 63.2 | Improved |
| MixPrompt vs best single prompt (ablation) | PaLM FLAN 62B qntz, 0-shot · Spider Dev | TS: 62.9 -> 63.2 | Improved |
| MixPrompt vs best single prompt (ablation) | PaLM FLAN 540B qntz, 0-shot · Spider Dev | TS: 64.1 -> 65.5 | Improved |
| MixPrompt vs best single prompt (ablation) | PaLM FLAN 62B qntz, 4-shot · Spider Dev | TS: 63.8 -> 66.6 | Improved |
| MixPrompt vs best single prompt (ablation) | PaLM FLAN 540B qntz, 4-shot · Spider Dev | TS: 63.2 -> 65.2 | Improved |
| mix more LLM and prompt configurations (MixLLMs) (ablation) | SQLPrompt · Spider Dev | TS: 65.5 (2) -> 68.0 (4) -> 68.3 (6) -> 68.6 (16) | Improved |
| increase mixture from 6 to 16 (ablation) | SQLPrompt MixLLMs · Spider Dev | EX: 77.3 -> 77.1 | No clear effect |
| add 4-shot examples to SQLPrompt (vs 0-shot) | SQLPrompt · Spider Dev | TS: 68.0 -> 68.6 | Improved |
| use SQLPrompt instead of ChatGPT prompts | 0-shot in-context learning · Spider Dev | EX: 70.1 -> 76.6 | Improved |
Closest papers by meaning
- Enhancing Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategies (EMNLP 2023 · similarity 0.91)
- ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL (ICLR 2025 · similarity 0.89)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.89)
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025 · similarity 0.88)
- 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.87)
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.
