AI Paper Atlas

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

EMNLP 2025Large language models › Language, safety and interpretabilityapproach: Controlled text generation6 citations (OpenAlex)

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 ↗

12measured effects
7improved
2no clear effect
2hurt
1mixed

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Python-pivot guidance for SQL generation (Pi-SQL vs vanilla)GPT-4o-mini · BIRD devEX: 54.30 -> 64.54Improved
add Python-pivot guidance, compared with vanilla + self-consistency at matched token cost (ablation)GPT-4o-mini · BIRD devEX: 59.71 -> 64.54Improved
mix merge, filter and direct Python strategies instead of one (ablation)Pi-SQL · BIRD devEX: 62.58 -> 64.54Improved
use Python cross-verification instead of SQL self-consistency for selection (ablation)Pi-SQL · BIRD devEX: 63.62 -> 64.54Improved
add Python-to-SQL adaptation instructions (ablation)Pi-SQL · BIRD devEX: 63.36 -> 64.54Improved
mixed strategies on Challenging queries (vs best single strategy) (ablation)Pi-SQL · BIRD dev (Challenging)EX: 49.66 -> 49.66No clear effect
use Pi-SQL on ArcherGPT-4o-mini · ArcherEX: 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 devEX: 59.97 -> 67.40Improved
add Pi-SQL on QwQ-32BQwQ-32B · BIRD devEX: 55.08 -> 64.34Improved
remove few-shot examples from CHESSCHESS · BIRD devEX: 61.02 -> 37.02Hurt
remove few-shot examples from CHASE-SQLCHASE-SQL · BIRD devEX: -0.79 EXNo clear effect
use Python result directly instead of SQL guided by Python on Challenging queriesPi-SQL · BIRD dev (Challenging)EX: 49.66 -> 59.31 (GPT-4o-mini Python vs SQL)Mixed

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy