Research map / Large language models / Reasoning and chain of thought
STaR-SQL: Self-Taught Reasoner for Text-to-SQL
Mingqian He, Yongliang Shen, Wenqi Zhang, Qiuying Peng, Jun Wang, Weiming Lu
Zhejiang University · OPPO Research Institute
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 |
|---|---|---|---|
| fine-tune on self-generated rationales (STaR-SQL) | Llama-3.1-8B-Instruct · Spider dev | EX accuracy: 55.0 -> 75.0 | Improved |
| include step-by-step rationales rather than predicting SQL only (ablation) | STaR-SQL · Spider dev | EX accuracy: 68.6 -> 75.0 | Improved |
| add best-of-16 sampling with ORM verifier (ablation) | STaR-SQL · Spider dev | EX accuracy: 75.0 -> 86.6 | Improved |
| use ORM verifier instead of self-consistency majority voting (ablation) | STaR-SQL · Spider dev | EX accuracy: 78.8 -> 86.6 | Improved |
| use ORM verifier instead of self-consistency majority voting (ablation) | STaR-SQL · Spider dev | EM accuracy: 71.7 -> 72.5 | Improved |
| use self-consistency instead of single-shot generation (ablation) | STaR-SQL · Spider dev | EX accuracy: 75.0 -> 78.8 | Improved |
| increase candidate solutions N up to 16 (ablation) | STaR-SQL with ORM · Spider dev | EX accuracy: N=4 surpasses DAIL-SQL (81.7); N=8 beats ROUTE by 1.9 | Improved |
| train on STaR-SQL rationales instead of QD-generated rationales | Llama-3.1-8B-Instruct · Spider dev | EX accuracy: 64.5 -> 75.0 | Improved |
| use reasoning on hard and extra-hard queries | STaR-SQL ORM@16 · Spider dev by difficulty | EX accuracy: extra-hard 69.3 (+5.8), hard 82.8 (+9.1) over second best | Improved |
| replace GPT-4 few-shot prompting with fine-tuned 8B model | STaR-SQL · Spider dev | EX accuracy: 67.4 -> 75.0 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- DTS-SQL — DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models (EMNLP 2024) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in search and self-correction in reasoning
Do search and self-correction methods for reasoning work beyond math and multiple choice, on closed models and at larger scale?
- Experiments stop at small or mid-size models, so larger ones are untested. · 16 papers state it
- Training data or scoring depends on a strong teacher or judge LLM. · 14 papers state it
- Extra sampling, passes or search make training and inference costly. · 13 papers state it
Closest papers by meaning
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025 · similarity 0.90)
- PARSQL: Enhancing Text-to-SQL through SQL Parsing and Reasoning (ACL 2025 · similarity 0.90)
- LogicCat: A Chain-of-Thought Text-to-SQL Benchmark for Complex Reasoning (AAAI 2026 · similarity 0.89)
- CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL (ICLR 2025 · similarity 0.89)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.88)
- MARS-SQL: A Multi-Agent Reinforcement Learning Framework For Text-To-SQL (ICML 2026 · 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.