Research map / Large language models / Language, safety and interpretability
Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languages
Yongdong Chi, Hanqing Wang, Zonghan Yang, Jian Yang, Xiao Yan, Yun Chen, Guanhua Chen
Tsinghua University · Southern University of Science and Technology · Beihang University · Wuhan University · Shanghai University of Finance and Economics
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 EX (dev) 67.4 · rank 7 of 17 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Python-pivot guidance for SQL generation (Pi-SQL vs vanilla) | GPT-4o-mini · BIRD dev | EX: 54.30 -> 64.54 | Improved |
| add Python-pivot guidance, compared with vanilla + self-consistency at matched token cost (ablation) | GPT-4o-mini · BIRD dev | EX: 59.71 -> 64.54 | Improved |
| mix merge, filter and direct Python strategies instead of one (ablation) | Pi-SQL · BIRD dev | EX: 62.58 -> 64.54 | Improved |
| use Python cross-verification instead of SQL self-consistency for selection (ablation) | Pi-SQL · BIRD dev | EX: 63.62 -> 64.54 | Improved |
| add Python-to-SQL adaptation instructions (ablation) | Pi-SQL · BIRD dev | EX: 63.36 -> 64.54 | Improved |
| mixed strategies on Challenging queries (vs best single strategy) (ablation) | Pi-SQL · BIRD dev (Challenging) | EX: 49.66 -> 49.66 | No clear effect |
| use Pi-SQL on Archer | GPT-4o-mini · Archer | EX: 25.96 -> 25.00 (vs CHASE-SQL) | Hurt |
| add Pi-SQL on different backbone (Qwen2.5-Coder-32B-Instruct) | Qwen2.5-Coder-32B-Instruct · BIRD dev | EX: 59.97 -> 67.40 | Improved |
| add Pi-SQL on QwQ-32B | QwQ-32B · BIRD dev | EX: 55.08 -> 64.34 | Improved |
| remove few-shot examples from CHESS | CHESS · BIRD dev | EX: 61.02 -> 37.02 | Hurt |
| remove few-shot examples from CHASE-SQL | CHASE-SQL · BIRD dev | EX: -0.79 EX | No clear effect |
| use Python result directly instead of SQL guided by Python on Challenging queries | Pi-SQL · BIRD dev (Challenging) | EX: 49.66 -> 59.31 (GPT-4o-mini Python vs SQL) | Mixed |
Closest papers by meaning
- Text-to-(Single-or-Multi)-SQL: Bridging Real-World Needs with Spider$S$ (EMNLP 2026 · similarity 0.88)
- ``What Do You Mean by That?'' A Parser-Independent Interactive Approach for Enhancing Text-to-SQL (EMNLP 2020 · similarity 0.88)
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025 · similarity 0.87)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.86)
- Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflows (ICLR 2025 · similarity 0.86)
- PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation (NeurIPS 2025 · similarity 0.86)
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.
