Spider

223 papers · 603 extracted observations · text to sql · code · Markdown · CSV · JSON API

Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines)

Proposed/measured results matching split=val.

12.641.770.9100.0201920232026SyntaxSQLNet: 18.9 (2019)GNN-SQL: 22.0 (2019)SyntaxSQLNet + DAE: 22.1 (2019)SyntaxSQLNet + Data Augmentation: 24.8 (2019)SyntaxSQLNetAug + DAE: 27.4 (2019)SyntaxSQLNet, SemQL output: 27.5 (2019)SyntaxSQLNet (BERT), SemQL output: 35.8 (2019)SyntaxSQLNet: 53.5 (2019)GNN-SQL: 57.0 (2019)SyntaxSQLNet + Data Augmentation: 61.9 (2019)RECPARSER: 39.3 (2020)RECPARSER (BERT): 46.8 (2020)CFGNN (ours, full model): 48.7 (2020)IRNet + PIIA(H): 52.7 (2020)EditSQL+Feedback (BERT-equipped): 53.73 (2020)RECPARSER: 54.3 (2020)IRNet + PIIA: 59.3 (2020)RECPARSER (BERT): 63.1 (2020)GNN + Bertrand-DR: 57.9 (2020)EditSQL + Bertrand-DR: 58.5 (2020)Base Parser: 56.4 (2021)Base Parser + DG-MAML: 58.5 (2021)RAT-SQL + NatSQL: 74.6 (2021)Turing + RoBERTa (best reported run): 75.1 (2021)S²SQL + ELECTRA: 76.4 (2022)LogicalBeam: 81.3 (2023)SuperSQL (GPT-4): 87.0 (2024)MTSQL: 75.6 (2024)Open-SQL (7B; same procedure as the BIRD experiments): 84.1 (2024)DataGpt-sql-7B: 84.8 (2024)DataGpt-sql-7B + Invalid-SQL Feedback: 87.2 (2024)PARSQL-3Bllm: 77.7 (2025)PARSQL-3Bllm: 83.8 (2025)SQL-of-Thought, W/o Error Correction (Claude 3 Opus): 85.0 (2025)SQLForge-LM: 85.7 (2025)SQL-of-Thought, W/o Query Plan Generation (Claude 3 Opus): 90.0 (2025)SQL-of-Thought (with Claude Opus 3): 91.59 (2025)SQL-of-Thought (Claude 3 Opus): 95.0 (2025)HHNAS-AM Model 1 (standalone RoBERTa): 91.02 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 94.76 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 97.11 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 97.66 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 97.78 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 98.21 (2025)MATS (9B): 87.1 (2025)SQL component pre-generation + AST matching reward (GRPO; Qwen2.5-Coder-7B-Instruct): 83.0 (2026)FINER-SQL 3B: 85.0 (2026)Progress-SQL-7B: 80.0 (2026)ORM-based BoN: 84.53 (2026)Progress-SQL-7B: 86.6 (2026)DecoSearch (DeepSeek backbone): 88.31 (2026)
Click any point on the timeline to inspect method, protocol, and paper.

Showing 150 of 172 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026Product, Token SMC proposedexpected accuracy41.7backbone=Llama · ensemble=within-model prompt ensemble · particles=10Ensembling Language Models with Sequential Monte Carlo
Source quote
L899: Product, Token SMC │ \res{15.2}{1.4} │ \res{27.6}{1.2} │ \res{40.9}{0.7} │ \res{50.9}{1.1} │ \res{30.8}{0.1} │ \res{41.7}{1.7} │ \res{96.0}{0.2} │ \res{86.4}{1.0} │ \res{88.5}{1.0}
2026Mixture, Token SMC proposedexpected accuracy38.2backbone=Llama · ensemble=within-model prompt ensemble · particles=10Ensembling Language Models with Sequential Monte Carlo
Source quote
L906: Mixture, Token SMC │ \res{9.8}{1.0} │ \res{26.5}{0.0} │ \res{37.4}{0.7} │ \res{45.9}{0.6} │ \res{29.4}{0.1} │ \res{38.2}{1.6} │ \res{95.3}{0.8} │ \res{81.3}{0.5} │ \res{85.1}{1.3}
2026AutoThinkSQL SFT+DPO (Qwen3-Coder-30B-A3B) proposedExecution Accuracy86.20split: val · params=30B · backbone=Qwen3-Coder-30B-A3B · decoding=greedyLearning When to Reason for Text-to-SQL via SFT and DPO
Source quote
L187: AutoThinkSQL SFT+DPO records the highest execution accuracy in three of four evaluation settings: Spider Greedy (86.20), BIRD Greedy (58.23), and BIRD Maj@8 (60.27).
2026AutoThinkSQL SFT+DPO (Qwen3-Coder-30B-A3B) proposedExecution Accuracy86.78split: val · params=30B · backbone=Qwen3-Coder-30B-A3B · decoding=Maj@8Learning When to Reason for Text-to-SQL via SFT and DPO
Source quote
L188: On Spider Maj@8, AutoThinkSQL SFT+DPO reaches 86.78, which is 0.29 points behind CoT-only SFT (87.07), a gap within one standard deviation.
2026DecoSearch (DeepSeek backbone) proposedexecution accuracy (EX)88.31%split: val · backbone=DeepSeek · training=training-freeDecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQL
Source quote
L10: DecoSearch achieves 70.53% execution accuracy on BIRD and 88.31% on Spider with a DeepSeek backbone, surpassing all training-free baselines while consuming an order of magnitude fewer tokens than competing methods.
2026CoTE-SQL (Llama-3.1-8B) proposedEX (Execution Accuracy)79.60%params=8B · backbone=Llama-3.1-8BIntegrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
Source quote
L378: Llama-3.1-8B │ 79.60 │ 77.19 │ 49.54 │ 55.25
2026Grok 4.7 FDE agent (autonomous; Ministral 3 8B) proposedExecution accuracy (EX)75.82%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L643: 75.82
2026GPT-5.6 Sol FDE agent (decoupled; Ministral 3 8B) proposedExecution accuracy (EX)76.11%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L606: 76.11
2026GPT-5.6 Sol FDE agent (autonomous; Llama 3.1 8B) proposedExecution accuracy (EX)72.63%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L613: 72.63
2026GPT-6.1 Sol FDE agent (decoupled; Llama 3.1 8B) proposedExecution accuracy (EX)55.90%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L621: 55.90
2026GPT-6.1 Sol FDE agent (autonomous; Llama 3.1 8B) proposedExecution accuracy (EX)71.57%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L628: 71.57
2026Grok 4.7 FDE agent (decoupled; Ministral 3 8B) proposedExecution accuracy (EX)63.64%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L636: 63.64
2026GLM-5.3-Flash FDE agent (decoupled; Ministral 3 8B) proposedExecution accuracy (EX)56.77%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L651: 56.77
2026GLM-5.3-Flash FDE agent (autonomous; Llama 3.1 8B) proposedExecution accuracy (EX)67.50%split: val · fine-tuned · params=8BCan LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL
Source quote
L658: 67.50
2026DataEvolver-SFT proposedExec-Acc60.43fine-tuned · params=8B · backbone=Qwen3-8B-Base · seed_examples=20 · training_samples=5kDataEvolver: Automatic Data Preparation for Large Language Models through Multi-Level Self-Evolving
Source quote
L141: DataEvolver-SFT │ 5k │ 56.3 │ 73.37 │ 66.09 │ 87.83 │ 68.42 │ 60.43 │ 50.34
2026Progress-SQL-7B proposedExecution accuracy (EX)86.6%split: val · params=7B · decoding=greedy · difficulty=allProgress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards
Source quote
L1028: 96.0 │ 90.4 │ 82.2 │ 66.9 │ 86.6
2026Progress-SQL-7B proposedTest-suite accuracy (TS)80.0%split: val · params=7B · decoding=greedy · difficulty=allProgress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards
Source quote
L1029: 95.2 │ 85.9 │ 71.8 │ 50.0 │ 80.0
2026Progress-SQL-7B proposedExecution accuracy (EX)86.8%split: test · params=7B · decoding=greedy · difficulty=allProgress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards
Source quote
L1030: 93.8 │ 90.2 │ 82.9 │ 74.2 │ 86.8
2026SGT, DPO iteration 4 (Qwen3-1.7B supplement generator) proposedAccuracy0.825split: test · actor=v3.5-sonnet-v2 · params=1.7B · DPO-iteration=4 · supplement-generator=Qwen3-1.7BSupplement Generation Training for Enhancing Agentic Task Performance
Source quote
L428: \pi (4)_\mathcal{S}\rightarrow\pi_\mathcal{A} │ 0.825 │ 0.620 │ 0.700 │ 0.037 │ 0.212 │ 0.747 │ 0.520 │ 0.713 │ 0.046 │ 0.385 │ 14%
2026R^3-SQL (groupwise Point + List + FMV) proposedEX (execution accuracy)87.19%split: test · params=32B · backbone=Arctic-Text2SQL-R1-32B · candidate-pool=32 · resampled-candidates=1024R$^3$-SQL: Ranking Reward and Resampling for Text-to-SQL
Source quote
L451: \ours │ Groupwise (Point + List) + FMV │ 75.03 │ 87.19 │ 77.92 │ 80.05 │ 46.30 │ 66.82 │ 56.56
2026FINER-SQL 3B proposedExecution accuracy (EX%)85.0%split: val · params=3BFINER-SQL: Boosting Small Language Models for Text-to-SQL
Source quote
L618: \texttt{FINER-SQL}\xspace 3B (Ours) │ 67.73 │ 85.0
2026SQL-Zero-7B iter3 (base-init) proposedexecution accuracy79.8%split: test · model=SQL-Zero-7B · params=7B · protocol=self-play spiral · iteration=3 · initialization=baseSQL-Zero: Self-Evolving Text-to-SQL
Source quote
L450: SQL-Zero-7B iter3 (base-init) │ 58.4 │ 79.8 │ 70.4
2026SQLoom (Qwen3-1.7B) proposedExecution accuracy (EX)88.7%split: val · fine-tuned · params=1.7BSQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQL
Source quote
L45: Qwen3-1.7B from 62.9% zero-shot to 88.7% on Spider development,
2026SQLoom (Qwen3-1.7B) proposedExecution accuracy (EX)89.2%split: test · fine-tuned · params=1.7BSQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQL
Source quote
L46: reaching 89.2% on Spider test and 73.4% on BIRD development. It
2026ORM-based BoN proposedExecution accuracy84.53%split: val · candidates=32Test-Time Verification for Text-to-SQL via Outcome Reward Models
Source quote
L359: 32 │ 66.04 │ 82.79 │ 85.14 │ 66.95 │ 83.75 │ 85.47 │ 68.90 │ 84.53 │ 87.47 │ 80.57 │ 91.68 │ 93.29
2026ORM-based BoN proposedExecution accuracy87.47%split: test · candidates=32Test-Time Verification for Text-to-SQL via Outcome Reward Models
Source quote
L359: 32 │ 66.04 │ 82.79 │ 85.14 │ 66.95 │ 83.75 │ 85.47 │ 68.90 │ 84.53 │ 87.47 │ 80.57 │ 91.68 │ 93.29
2026LCD proposedExecution accuracy65.4%particles=4 · evaluation_subset=500 randomly sampled examplesMitigating Bias in Locally Constrained Decoding via Tractable Proposals
Source quote
L408: LCD │ 59.8 │ 65.4 │ 67.2
2026SQL component pre-generation + AST matching reward (GRPO; Qwen2.5-Coder-7B-Instruct) proposedEX (execution accuracy)83%split: val · params=7BAddressing Semantic Blind Spots in Text-to-SQL via Component Pre-generation and AST Matching Rewards
Source quote
L240: (2) Our method has good generalization. We train only on the BIRD training set, yet achieve 83% and 84.4% execution accuracy on SPIDER-DEV and SPIDER-TEST. This
2026SQL component pre-generation + AST matching reward (GRPO; Qwen2.5-Coder-7B-Instruct) proposedEX (execution accuracy)84.4%split: test · params=7BAddressing Semantic Blind Spots in Text-to-SQL via Component Pre-generation and AST Matching Rewards
Source quote
L240: (2) Our method has good generalization. We train only on the BIRD training set, yet achieve 83% and 84.4% execution accuracy on SPIDER-DEV and SPIDER-TEST. This
2025Qwen-1.5B +SQL-Factory proposedAccuracy76.5%fine-tuned · params=1.5B · backbone=Qwen-1.5B · training-data=SQL-Factory-generatedSQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL Generation
Source quote
L465: \ \ \ \ +SQL-Factory │ 97.2 (\uparrow11.5) │ 76.5 (\uparrow7.3) │ 82.1 (\uparrow24.5) │ 40.9 (\uparrow12.3)
2025MATS (9B) proposedEX% (execution accuracy)87.1%split: val · params=9BA Multi-agent Text2SQL Framework using Small Language Models and Execution Feedback
Source quote
L1009: \texttt{MATS}\xspace │ 9B │ 87.1 │ 82.3 │ 13.9
2025LLaMA-3.1 70B ExCoT proposedexecution accuracy86.59%split: test · fine-tuned · params=70B · backbone=LLaMA-3.1 70B · reasoning=Complex CoTOptimizing Reasoning for Text-to-SQL with Execution Feedback
Source quote
L169: Table~\ref{tab:main} summarizes our main results on the BIRD and Spider benchmarks. Notably, for LLaMA-3.1 70B model~\citep{dubey2024llama}, our ExCoT\xspace approach improves BIRD performance from 58.14% to 68.51% with both off-policy and on-policy DPO, representing a significant 10.37% gain. Similarly, on Spider, our ExCoT\xspace approach improves the SFT model's performance of 82.49% to 86.59%. On both datasets, our approach achieves state-of-the-art performance in the single-model setting. With Qwen-2.5-Coder 32B~\citep{hui2024qwen2} model as the base model, our ExCoT\xspace approach outperforms recent work XiyanSQL~\citep{gao2024xiyan} which uses the same base model, demonstrating the effectiveness of our approach. Our best model even outperforms state-of-the-art proprietary models, including OpenAI o1-mini~\citep{jaech2024openai} and o3-mini, which are built with chain-of-thought ability and optimized for reasoning. Notably, ExCoT achieves 68.53% on BIRD test set, the highest performance among single models, as shown in Table~\ref{tab:test}.
2025ConstrainedSQL (Ours), Qwen2.5-Coder-7B proposedExecution Accuracy85.2split: val · params=7BConstrainedSQL: Training LLMs for Text2SQL via Constrained Reinforcement Learning
Source quote
L218: ConstrainedSQL (Ours) │ Qwen2.5-Coder-7B │ 85.2 │ 86.7 │ 61.9
2025ConstrainedSQL (Ours), Qwen2.5-Coder-7B proposedExecution Accuracy86.7split: test · params=7BConstrainedSQL: Training LLMs for Text2SQL via Constrained Reinforcement Learning
Source quote
L218: ConstrainedSQL (Ours) │ Qwen2.5-Coder-7B │ 85.2 │ 86.7 │ 61.9
2025SQL-of-Thought (with Claude Opus 3) proposedExecution Accuracy91.59%split: val · model=Claude Opus 3SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error Correction
Source quote
L108: SQL-of-Thought (with Claude Opus 3) │ 91.59 │ 90.16
2025SQL-of-Thought (Claude 3 Opus) proposedExecution Accuracy95%split: val · model=Claude 3 Opus · subset=first 100 samplesSQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error Correction
Source quote
L124: Claude 3 Opus │ 95 │ 85 │ 90
2025LearNAT (Qwen2.5-Coder-7B) proposedExecution Accuracy (EX), Total86.4split: val · params=7B · backbone=Qwen2.5-Coder-7B · interactions=one LLM interactionLearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language Models
Source quote
L505: \multicolumn{2}{l}{} │ Qwen2.5-Coder-7B │ 95.2 │ 92.4 │ 76.4 │ 67.5 │ 86.4 │ 65.4 │ 48.4 │ 42.4 │ 58.1
2025HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposedMaximum validation accuracy (Max Acc)97.66%split: val · epochs=20 · classes=86 · batch-size=16HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation Policies
Source quote
L311: M4 │ 97.66 │ 87.33 │ 12
2025HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposedMaximum validation accuracy (Max Acc)97.11%split: val · epochs=20 · classes=86 · batch-size=16HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation Policies
Source quote
L315: M4 │ 97.11 │ 87.68 │ 8
2025HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposedMaximum validation accuracy (Max Acc)97.78%split: val · epochs=20 · classes=86 · batch-size=16HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation Policies
Source quote
L319: M4 │ 97.78 │ 91.38 │ 12
2025HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposedMaximum validation accuracy (Max Acc)98.21%split: val · epochs=20 · classes=86 · batch-size=16HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation Policies
Source quote
L323: M4 │ 98.21 │ 94.76 │ 10
2025HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposedMinimum validation accuracy (Min Acc)94.76%split: val · epochs=20 · classes=86 · batch-size=16HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation Policies
Source quote
L323: M4 │ 98.21 │ 94.76 │ 10
2025SQL-o1 (Qwen2.5-14B) proposedExecution accuracy (EX)88.4split: val · params=14B · backbone=Qwen2.5-14BSQL-o1: A Self-Reward Heuristic Dynamic Search Method for Text-to-SQL
Source quote
L863: Ours: SQL-o1 │ Qwen2.5-14B │ 88.4 │ 73.1 │ 75.8
2025Retrieved Schema (GPT-4o-mini) proposedSQL execution accuracy65.7split: val · 0-shot · model=GPT-4o-mini · schema-setting=retrieved-schemaRethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQL
Source quote
L526: Retrieved Schema │ {89.3} │ {71.1} │ {54.6} │ {33.7} │ 65.7 (\uparrow 1.2)
2025Retrieved Schema (Gemini-2.0-flash) proposedSQL execution accuracy70.6split: val · 0-shot · model=Gemini-2.0-flash · schema-setting=retrieved-schemaRethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQL
Source quote
L531: Retrieved Schema │ {88.8} │ {74.4} │ {64.4} │ {44.0} │ 70.6 (\uparrow 2.9)
2025PARSQL-3Bllm proposedExecution Accuracy (EX)83.8%split: val · params=3B · backbone=CodeS-3B · inference=first-valid-executionPARSQL: Enhancing Text-to-SQL through SQL Parsing and Reasoning
Source quote
L347: 83.8 (+1.6)
2025PARSQL-3Bllm proposedTest-suite accuracy (TS)77.7%split: val · params=3B · backbone=CodeS-3B · inference=first-valid-executionPARSQL: Enhancing Text-to-SQL through SQL Parsing and Reasoning
Source quote
L348: 77.7 (+1.4)
2025DCG-SQL (GPT-3.5-Turbo) proposedEX (Execution Accuracy)83.3split: val · 5-shotDCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link Graph
Source quote
L764: 83.3
2025DCG-SQL (Llama-3.1-8B-Instruct) proposedEX (Execution Accuracy)82.1split: val · 5-shot · params=8B · backbone=Llama-3.1-8B-InstructDCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link Graph
Source quote
L779: 82.1
2025JOLT-SQL + Qwen2.5-Coder-14B proposedExecution accuracy (EX)88.4%split: val · fine-tuned · params=14B · backbone=Qwen2.5-Coder-14BJOLT-SQL: Joint Loss Tuning of Text-to-SQL with Confusion-aware Noisy Schema Sampling
Source quote
L235: Table \ref{main_table} presents our main experimental results and a comparison with baselines. JOLT-SQL demonstrates excellent performance on both the Spider and BIRD benchmarks. Specifically, JOLT-SQL using the Qwen2.5-Coder-14B model achieves execution accuracies of 88.4%, 88.9%, and 64.9% on the Spider Dev set, Test set, and BIRD Dev Set, respectively. This performance is state-of-the-art among open-source models of comparable size based on SFT. Notably, JOLT-SQL with Qwen2.5-Coder-7B even surpasses larger models like CodeS-15B and SENSE-13B in results.
2025JOLT-SQL + Qwen2.5-Coder-14B proposedExecution accuracy (EX)88.9%split: test · fine-tuned · params=14B · backbone=Qwen2.5-Coder-14BJOLT-SQL: Joint Loss Tuning of Text-to-SQL with Confusion-aware Noisy Schema Sampling
Source quote
L235: Table \ref{main_table} presents our main experimental results and a comparison with baselines. JOLT-SQL demonstrates excellent performance on both the Spider and BIRD benchmarks. Specifically, JOLT-SQL using the Qwen2.5-Coder-14B model achieves execution accuracies of 88.4%, 88.9%, and 64.9% on the Spider Dev set, Test set, and BIRD Dev Set, respectively. This performance is state-of-the-art among open-source models of comparable size based on SFT. Notably, JOLT-SQL with Qwen2.5-Coder-7B even surpasses larger models like CodeS-15B and SENSE-13B in results.
2025State-offset Tuning (\bm{h}) proposedExecution accuracy57.4split: val · fine-tuned · module=S6 · params=1.4B · backbone=Mamba 1.4BState-offset Tuning: State-based Parameter-Efficient Fine-Tuning for State Space Models
Source quote
L586: \textbf{State-offset Tuning (\bm{h})} │ 0.23 │ 57.4 │ 77.4 │ 59.9 │ 44.8 │ 33.7 │ 50.9 │ 26.5 │ 42.4 │ 0.45 │ 70.0 │ 47.0 │ 78.5
2025SQLForge-LM proposedEX accuracy (Execution Accuracy)85.7%split: valSQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMs
Source quote
L12: Building on the augmented data, we fine-tune a variety of open-source models with different architectures and parameter sizes, resulting in a family of models termed SQLForgeLM. SQLForge-LM achieves the state-of-theart performance on the widely recognized Spider and BIRD benchmarks among the opensource models. Specifically, SQLForge-LM achieves EX accuracy of 85.7% on Spider Dev and 59.8% on BIRD Dev, significantly narrowing the performance gap with closed-source methods.
2025MARS-SQL proposedExecution Accuracy89.75%split: test · training-data=BIRD onlyMARS-SQL: A Multi-Agent Reinforcement Learning Framework For Text-To-SQL
Source quote
L180: The out-of-domain generalization of MARS-SQL is particularly noteworthy, demonstrated by its strong performance on both the Spider-test and Spider-DK benchmarks. On the broad Spider-test set, it achieves a state-of-the-art score of 89.75%, showcasing exceptional generalization to unseen schemas and question types. This robustness extends to the specialized Spider-DK benchmark—which tests for implicit domain knowledge—where MARS-SQL secures a competitive second-highest score of 78.13%. Crucially, these results were achieved without any exposure to the Spider training set. This contrasts with competitors like Arctic-Text2SQL-R1, which required training on Spider data (from which Spider-DK is derived) to achieve its high scores. Therefore, our model's performance highlights that training solely on the diverse BIRD dataset effectively equips it for broad cross-domain and knowledge-intensive challenges.
2025DB-Explore + Qwen2.5-Coder-7B proposedDev-EX (Execution Accuracy)84.0%split: val · fine-tuned · params=7BDB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL
Source quote
L184: Ours: DB-Explore + Qwen2.5-Coder-7B │ 84.0 │ 79.3 │ 52.1 │ 55.8
2025DB-Explore + Qwen2.5-Coder-7B proposedDev-TS (Test-Suite Accuracy)79.3split: test · fine-tuned · params=7BDB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL
Source quote
L184: Ours: DB-Explore + Qwen2.5-Coder-7B │ 84.0 │ 79.3 │ 52.1 │ 55.8
20253B LLaMA fine-tuned on L3_4 train proposedTest-suite accuracy (TS)0.684split: val · fine-tuned · params=3B · backbone=LLaMA-3B · training-subset=L3_4 train · evaluation-subset=L4 devText2Sql: Pure Fine-Tuning and Pure Knowledge Distillation
Source quote
L114: 0.684
2025Pure-KD (1B LLaMA student) proposedTest-suite accuracy (TS)0.596split: val · fine-tuned · params=1B · backbone=LLaMA-1B · distillation=Pure-KD from LLaMA-3B · training-subset=L4_train · evaluation-subset=L4 devText2Sql: Pure Fine-Tuning and Pure Knowledge Distillation
Source quote
L231: 0.596
2025OmniSQL-7B proposedExecution accuracy (EX)87.9%split: test · fine-tuned · params=7B · decoding=greedyOmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale
Source quote
L294: OmniSQL\xspace-7B │ 81.2 │ 81.6 │ 87.9 │ 88.9 │ 63.9 │ 66.1 │ 10.4 │ 10.4 │ 50.2 │ 55.9 │ 34.9 │ 40.0 │ 76.1 │ 77.8 │ 69.7 │ 69.6 │ 76.2 │ 78.0 │ 61.2 │ 63.1
2025QCMA-SQL proposedExecution accuracy (EX)87.4%split: val · 3-shot · agents=DeepSeek-V3 · schema-selector=DeBERTa-v3 · agent-temperature=0Enhancing Text-to-SQL with Question Classification and Multi-Agent Collaboration
Source quote
L160: 87.4
2025ReEx-SQL-7B proposedExecution accuracy (EX)88.8%params=7B · model-size=7BReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL
Source quote
L10: In Text-to-SQL, execution feedback is essential for guiding large language models (LLMs) to reason accurately and generate reliable SQL queries. However, existing methods treat execution feedback solely as a post-hoc signal for correction or selection, failing to integrate it into the generation process. This limitation hinders their ability to address reasoning errors as they occur, ultimately reducing query accuracy and robustness. To address this issue, we propose ReEx-SQL (Reasoning with Execution-Aware Reinforcement Learning), a framework for Text-to-SQL that enables models to interact with the database during decoding and dynamically adjust their reasoning based on execution feedback. ReEx-SQL introduces an execution-aware reasoning paradigm that interleaves intermediate SQL execution into reasoning paths, facilitating context-sensitive revisions. It achieves this through structured prompts with markup tags and a stepwise rollout strategy that integrates execution feedback into each stage of generation. To supervise policy learning, we develop a composite reward function that includes an exploration reward, explicitly encouraging effective database interaction. Additionally, ReEx-SQL adopts a tree-based decoding strategy to support exploratory reasoning, enabling dynamic expansion of alternative reasoning paths. Notably, ReEx-SQL achieves 88.8% on Spider and 64.9% on BIRD at the 7B scale, surpassing the standard reasoning baseline by 2.7% and 2.6%, respectively. It also shows robustness, achieving 85.2% on Spider-Realistic with leading performance. In addition, its tree-structured decoding improves efficiency and performance over linear decoding, reducing inference time by 51.9% on the BIRD development set.
2025Gemma-SQL proposedTest-Suite Accuracy (TS)64.5%split: val · fine-tuned · params=2B · backbone=Gemma-2BGEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Models
Source quote
L748: 64.5
2025Gemma-SQL Instruct proposedTest-Suite Accuracy (TS)66.8%split: val · fine-tuned · params=2B · variant=instruction-tuned · backbone=Gemma-2BGEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Models
Source quote
L751: 66.8
2025GBV-SQL + No Gold Errors proposed non-standard sliceexecution accuracy (EX)96.5%split: val · subset=No Gold ErrorsGBV-SQL: Guided Generation and SQL2Text Back-Translation Validation for Multi-Agent Text2SQL
Source quote
L167: GBV-SQL + No Gold Errors │ 96.5 │ 97.6
2025GBV-SQL + No Gold Errors proposed non-standard sliceexecution accuracy (EX)97.6%split: test · subset=No Gold ErrorsGBV-SQL: Guided Generation and SQL2Text Back-Translation Validation for Multi-Agent Text2SQL
Source quote
L167: GBV-SQL + No Gold Errors │ 96.5 │ 97.6
2025GBV-SQL + Deepseek-v3 proposedexecution accuracy (EX)82.8%split: test · backbone=Deepseek-v3GBV-SQL: Guided Generation and SQL2Text Back-Translation Validation for Multi-Agent Text2SQL
Source quote
L165: GBV-SQL + Deepseek-v3 (ours) │ 79.6 │ 82.8(\uparrow5.2%)
2025DeepEye-SQL with Qwen3-Coder-30B-A3B proposedexecution accuracy (EX)89.8%split: test · 0-shot · params=30B · backbone=Qwen3-Coder-30B-A3B · fine-tuning=noneDeepEye-SQL: A Software-Engineering-Inspired Text-to-SQL Framework
Source quote
L506: On the Spider-Test dataset, DeepEye-SQL\xspace with \texttt{Qwen3-Coder-30B-A3B} achieves an execution accuracy of 89.8%. This performance matches the best fine-tuned method, OmniSQL, and surpasses other strong competitors like XiYan-SQL (89.7%). This demonstrates that our prompting-based framework can attain the same level of accuracy as highly specialized, fine-tuned models on this foundational benchmark without incurring any training costs.
2025Schema-linking F₆ score (β=6) proposedSpearman rank correlation with SQL execution accuracy0.911split: val · aggregation=average across Spider variantsExtractive Schema Linking for Text-to-SQL
Source quote
L320: 6 │ 0.991 │ 0.714 │ 0.937 │ 1.000 │ 0.911
2025Alpha-SQL (Qwen2.5-Coder-14B; SC Selection) proposedExecution Accuracy; All difficulty levels87.0%split: val · 0-shot · params=14B · backbone=Qwen2.5-Coder-14B · rollouts=24 · selection=SCAlpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search
Source quote
L331: Alpha-SQL (Ours) │ Qwen2.5-Coder-14B │ SC Selection │ \textcolor{green}{\ding{51}} │ 94.0 │ 91.0 │ 79.9 │ 72.3 │ 87.0
2025LLaMA-3B, SQL-Exchange (1-shot) proposedExecution accuracy (EX)57.64%split: val · 1-shot · model=LLaMA-3B · params=3B · backbone=LLaMA-3B · example-source=SQL-Exchange mapped queriesSQL-Exchange: Transforming SQL Queries Across Domains
Source quote
L489: SQL-Exchange (1-shot) │ 35.33% │ 57.64%
2025StreamLink-SQL-Generator (SSQLG3.1-8B), fine-tuned on Llama-3.1-8B proposedExecution Accuracy (EA; table column “Accuracy”)89.7split: val · fine-tuned · params=8B · backbone=Llama-3.1-8BStreamLink: Large-Language-Model Driven Distributed Data Engineering System
Source quote
L120: SSQLG3.1-8B │ 86.9 │ 89.7
2025SynSQL(50K) proposed non-standard sliceExecution accuracy (Gre)81.8split: test · fine-tuned · params=7B · backbone=Qwen2.5-Coder-7B-Instruct · decoding=greedy · training-data=SynSQL · training-examples=50KDataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AI
Source quote
L739: SynSQL(50K) │ 77.1 │ 82.1 │ 81.8 │ 84.8 │ 54.0 │ 59.3 │ 33.1 │ 44.1 │ 67.1 │ 69.5 │ 68.0 │ 70.6 │ 77.2 │ 80.3 │ 65.5 │ 70.1
2024DataGpt-sql-7B + Invalid-SQL Feedback proposedEX (Execution Accuracy)87.2%split: val · params=7B · feedback=invalid-SQL · model-size=7BDataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQL
Source quote
L133: DataGpt-sql-7B + Invalid-SQL Feedback │ 87.2 │ 83.8 \tabularnewline
2024DataGpt-sql-7B proposedEX (Execution Accuracy)84.8%split: val · params=7B · model-size=7BDataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQL
Source quote
L134: DataGpt-sql-7B │ 84.8 │ 81.5 \tabularnewline
2024Open-SQL (7B; same procedure as the BIRD experiments) proposedExecution accuracy (EX)84.1%split: val · method=Open-SQL · params=7B · model-size=7BOpen-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models
Source quote
L492: 5 │ Open-SQL (Ours) │ 7B │ 84.1
2024Spider Skeleton Wizard Coder (QLoRA fine-tuned WizardCoder-15B) proposedexecution accuracy61%split: val · fine-tuned · params=15B · backbone=WizardCoder-15B · fine-tuning=QLoRAAnalyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis
Source quote
L15: For our first set of experiments, we chose to fine-tune WizardLM's WizardCoder, a 15B parameter model renowned for its proficiency in programming tasks \cite{luo2023WizardCoder}. This decision was driven by the need for a coding model, especially pertinent to the spider dataset in Text-to-SQL program synthesis. The fine-tuned model, named Spider Skeleton Wizard Coder, attained an execution accuracy of 61% On the spider development set comprising 1,034 entries. The model is publicly available on the HuggingFace Transformers Library\footnote{https://huggingface.co/richardr1126/spider-skeleton-wizard-coder-merged}.
2024gpt-3.5-turbo-16k (zero-shot with prompt alignment and database schema format) proposedexecution accuracy68.2%0-shot · model=gpt-3.5-turbo-16k · prompting=C3-based prompt alignment and schema formatAnalyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis
Source quote
L32: In preliminary trials, conducted without a clear database context and prompt alignment, and conducted mainly for comparison with Spider Skeleton Wizard Coder, the execution accuracy stood at 57.6%. The transition from open-source to closed-source methodologies marked the adoption of more robust strategies for OpenAI's models akin to those in C3 \cite{dong2023c3}. This approach, within a zero-shot framework, achieved an execution accuracy of 68.2%.
2024Fine-tuned gpt-3.5-turbo-16k proposedexecution accuracy73.4%fine-tuned · model=gpt-3.5-turbo-16k · evaluation=zero-shot environmentAnalyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis
Source quote
L38: The subsequent phase involved fine-tuning OpenAI's gpt-3.5-turbo-16k on the spider dataset, incorporating database context. The fine-tuning process was facilitated using OpenAI's API. Even in a zero-shot environment, the fine-tuned model demonstrated a substantial improvement, achieving a 73.4% execution accuracy in generating SQL queries, highlighting the effectiveness of fine-tuning models.
2024Fine-tuned gpt-3.5-turbo-16k (few-shot) + gpt-4-turbo (zero-shot error correction) proposedexecution accuracy82.1%few-shot · error-correction=zero-shot · generation-model=gpt-3.5-turbo-16k · error-correction-model=gpt-4-turboAnalyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis
Source quote
L4: This study investigates various approaches to using Large Language Models (LLMs) for Text-to-SQL program synthesis, focusing on the outcomes and insights derived. Employing the popular Text-to-SQL dataset, spider, the goal was to input a natural language question along with the database schema and output the correct SQL SELECT query. The initial approach was to fine-tune a local and open-source model to generate the SELECT query. After QLoRa fine-tuning WizardLM's WizardCoder-15B model on the spider dataset, the execution accuracy for generated queries rose to a high of 61%. With the second approach, using the fine-tuned gpt-3.5-turbo-16k (Few-shot) + gpt-4-turbo (Zero-shot error correction), the execution accuracy reached a high of 82.1%. Of all the incorrect queries, most can be categorized into a seven different categories of what went wrong: selecting the wrong columns or wrong order of columns, grouping by the wrong column, predicting the wrong values in conditionals, using different aggregates than the ground truth, extra or too few JOIN clauses, inconsistencies in the Spider dataset, and lastly completely incorrect query structure. Most if not all of the queries fall into these categories and it is insightful to understanding where the faults still lie with LLM program synthesis and where they can be improved.
2024Re-ranking with CodeLlama-13B-FT (E) proposedExecution accuracy70.3params=13B · discriminator=CodeLlama-13B-FT · environmental-observations=2When is Tree Search Useful for LLM Planning? It Depends on the Discriminator
Source quote
L334: It also leads to the overall best performance on Spider with re-ranking (70.3) and on Bird with iterative correction (26.3), showing the effectiveness of fine-tuning LLMs for discrimination and using environmental observations.
2024Tool-SQL + GPT-4 proposedExecution Accuracy86.0split: test · few-shot · backbone=GPT-4Tool-Assisted Agent on SQL Inspection and Refinement in Real-World Scenarios
Source quote
L180: Tool-SQL + GPT-4 │ 86.9 │ 85.6 │ 86.0
2024CycleSQL on GPT-4 (5-shot) proposedExecution accuracy59.6%5-shot · model=GPT-4 · difficulty=Extra HardGrounding Natural Language to SQL Translation with Data-Based Self-Explanations
Source quote
L384: +Cyclesql │ \multicolumn{1}{?c}{90.7-(\uparrow 0.4)} │ 85.4-(\uparrow 1.1) │ 66.7-(\uparrow 2.9) │ 59.6-(\uparrow 3.0)
2024DEA-SQL proposedexecution accuracy85.4split: val · prompting=workflowDecomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm
Source quote
L22: \luxc{It has been found that the workflow prompting paradigm is more effective in improving overall performance compared to single-step prompting. In the experiments, execution accuracies of 85.4 and 81.5 were achieved on the Spider-dev and Spider-Realistic datasets, respectively, surpassing existing models and in-context learning schemes.}
2024CSMA (TwoPart) proposedExecution accuracy (EX)74.94%split: test · agents=2 · schema-division=two equal table-count partsCooperative SQL Generation for Segmented Databases By Using Multi-functional LLM Agents
Source quote
L158: TwoPart │ 32.40 │ 75.92 │ 33.44 │ 74.94 │ 49.28 │ 20.74
2024LLaMA3-8B with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposedEX (execution accuracy)67.7%split: val · 0-shot · params=8B · backbone=LLaMA3-8BAn Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L370: {LLaMA3-8B} │ 32.6 │ 60.6 │ 48.0 │ 67.7
2024GPT-3.5 with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposedEX (execution accuracy)70.4%split: val · 0-shot · backbone=GPT-3.5An Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L378: {GPT-3.5} │ 58.8 │ 66.5 │ 65.1 │ 70.4
2024GPT-4o with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposedEX (execution accuracy)77.7%split: val · 0-shot · backbone=GPT-4oAn Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L379: {GPT-4o} │ 72.1 │ 77.3 │ 77.1 │ 77.7
2024DIY (C1): step-by-step SQL explanation and NL-SQL entity mapping proposedAverage accuracy of fixing erroneous SQL queries0.56participants=26 · study-design=within-subject user studyInsights into Natural Language Database Query Errors: from Attention Misalignment to User Handling Strategies
Source quote
L521: C1 │ {}0.56
2024SQLVis (C2): graph-based SQL query visualization proposedAverage accuracy of fixing erroneous SQL queries0.60participants=26 · study-design=within-subject user studyInsights into Natural Language Database Query Errors: from Attention Misalignment to User Handling Strategies
Source quote
L523: C2 │ {}0.60
2024MISP (C3): conversational dialog system proposedAverage accuracy of fixing erroneous SQL queries0.53participants=26 · study-design=within-subject user studyInsights into Natural Language Database Query Errors: from Attention Misalignment to User Handling Strategies
Source quote
L525: C3 │ {}0.53
2024DeTriever proposedexecution accuracy68.38split: val · 1-shot · schema-overlap=noneDeTriever: Decoder-representation-based Retriever for Improving NL2SQL In-Context Learning
Source quote
L138: DeTriever │ 68.38 │ 9.77 │ 29.73 │ 38.59
2024DeTriever (ID) proposedexecution accuracy86.6split: val · 1-shot · schema-overlap=same-schemaDeTriever: Decoder-representation-based Retriever for Improving NL2SQL In-Context Learning
Source quote
L228: DeTriever~(ID) │ 86.6\% │ 2.77
2024DeepSeek 7B + DTS-SQL proposedEX (execution accuracy)85.5split: val · fine-tuned · params=7B · backbone=DeepSeek-7BDTS-SQL: Decomposed Text-to-SQL with Small Large Language Models
Source quote
L123: DeepSeek 7B │ DTS-SQL │ 85.5 │ 79.1
2024Mistral 7B + DTS-SQL proposedEX (execution accuracy)78.6split: val · fine-tuned · params=7B · backbone=Mistral-7BDTS-SQL: Decomposed Text-to-SQL with Small Large Language Models
Source quote
L120: Mistral 7B │ DTS-SQL │ 78.6 │ 73.3
2024SuperSQL proposedExecution accuracy (EX)87%split: testThe Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ]
Source quote
L14: \rev{Remarkably, {\att {SuperSQL}}\xspace achieves competitive performance with execution accuracy of 87% and 62.66% on the Spider and BIRD test sets, respectively.}
2024SuperSQL (GPT-4) proposedExecution accuracy (EX)87.0%split: val · model=GPT-4The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ]
Source quote
L1263: \multicolumn{1}{c|}{87.0}
2024SQL3 + codellama-34B proposedexecution accuracy0.753split: val · params=34B · backbone=CodeLlama-34BSQL-to-Schema Enhances Schema Linking in Text-to-SQL
Source quote
L145: SQL3 +codellama-34B │ 0.753
2024SCVSQL+GPT4-turbo proposedexecution accuracy (EA)0.824split: val · 0-shot · backbone=GPT-4-turboSQL-to-Schema Enhances Schema Linking in Text-to-SQL
Source quote
L206: SCVSQL+GPT4-turbo │ zeroshot │ 0.824
2024SQLfuse proposedTEST Acc (execution accuracy)85.6%split: test · fine-tuned · queries=with-values · evaluation=execution-accuracySQLfuse: Enhancing Text-to-SQL Performance through Comprehensive LLM Synergy
Source quote
L237: 4. │ SQLfuse │ 85.6 │ Fine-tuning │ Open source
2024Infusing Prompt (T5-3B with NatSQL) proposedEX (execution accuracy)0.804split: val · fine-tuned · params=3B · backbone=T5-3B · language=Portuguese · intermediate-representation=NatSQLInfusing Prompts with Syntax and Semantics
Source quote
L404: Portuguese │ 0.752 │ 0.804 │ 0.687
2024Infusing Prompt (T5-3B with NatSQL) proposedEX (execution accuracy)0.765split: val · fine-tuned · params=3B · backbone=T5-3B · language=French · intermediate-representation=NatSQLInfusing Prompts with Syntax and Semantics
Source quote
L405: French │ 0.749 │ 0.765 │ 0.698
2024ByCS proposed%Acc.69.63%few-shot · k=1 · model=GPT-3.5-Turbo · datastore=kNN-narrowedBayesian Example Selection Improves In-Context Learning for Speech, Text and Visual Modalities
Source quote
L412: 69.63
2024ASTReS (AST + SVS; FastRAT_ext approximator) proposedEX (execution accuracy)82.0split: val · model=gpt-3.5-turbo · approximator=FastRAT_ext · schema-selection=SVS · example-selection=ASTImproving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning
Source quote
L368: AST + SVS │ 82.0 │ 65.7
2024GPT-4 with DELLM-generated knowledge proposedExecution accuracy (EX)71.68backbone=GPT-4 · knowledge=DELLM-generated knowledge · training-knowledge=human-annotated BIRD knowledgeKnowledge-to-SQL: Enhancing SQL Generation with Data Expert LLM
Source quote
L263: GPT-4 │ 70.02 │ 71.68 \textcolor{gray}{(+1.66)} │ 71.03 │ 72.82 \textcolor{gray}{(+1.79)}
2023StructGPT proposedexecution accuracy74.8%DB-based Text-to-SQL; Spider column (not Spider-SYN or Spider-Realistic). StructGPT ext…StructGPT: A General Framework for Large Language Model to Reason over Structured Data
Source quote
L292: StructGPT │ 74.8 │ 62.0 │ 67.9
2023QDecomp+InterCOL proposedtest-suite accuracy68.4%split: val · 8-shot · model=CodexExploring Chain of Thought Style Prompting for Text-to-SQL
Source quote
L235: Specifically, QDecomp+InterCOL achieves 68.4% test-suite accuracy on the Spider development set and 56.5% on the Spider Realistic set. Compared to the standard prompting, it brings 5.2% and 6.5% point absolute gains, respectively. Compared to least-to-most prompting (the second best method), it brings 2.4% and 1.5% point absolute gains. Furthermore, when using extra-hard (G3) in-context examples, we can improve the execution accuracy of QDecomp+InterCOL prompting to 78.2%, which is comparable to RASAT+PICARD (Qi et al., 2022), a strong fine-tuned text-to-SQL parser.
2023QDecomp+InterCOL proposedstandard execution accuracy (EX)78.2%split: val · 8-shot · model=Codex · subset=extra-hard (G3) in-context examplesExploring Chain of Thought Style Prompting for Text-to-SQL
Source quote
L235: Specifically, QDecomp+InterCOL achieves 68.4% test-suite accuracy on the Spider development set and 56.5% on the Spider Realistic set. Compared to the standard prompting, it brings 5.2% and 6.5% point absolute gains, respectively. Compared to least-to-most prompting (the second best method), it brings 2.4% and 1.5% point absolute gains. Furthermore, when using extra-hard (G3) in-context examples, we can improve the execution accuracy of QDecomp+InterCOL prompting to 78.2%, which is comparable to RASAT+PICARD (Qi et al., 2022), a strong fine-tuned text-to-SQL parser.
2023SQLPrompt with MixLLMs proposedexecution accuracy (EX)77.3split: val · few-shot · num-mixture=6SQLPrompt: In-Context Text-to-SQL with Minimal Labeled Data
Source quote
L206: EX │ 74 │ 76.6 │ 77.3 │ 77.1
2023SQLPrompt with MixLLMs proposedtest-suite accuracy (TS)68.6split: val · few-shot · num-mixture=16SQLPrompt: In-Context Text-to-SQL with Minimal Labeled Data
Source quote
L207: TS │ 65.5 │ 68.0 │ 68.3 │ 68.6
2023Ours (Text-davinci) proposedEX (execution accuracy)85.0model=Text-davinciRetrieval-augmented GPT-3.5-based Text-to-SQL Framework with Sample-aware Prompting and Dynamic Revision Chain
Source quote
L229: \multirow{-2}{*}{Text-davinci} │ Ours │ 85.0 (0.9↑) │ 83.2 (5.9↑)
2023LogicalBeam proposedTop-5 Execution Accuracy81.3%split: val · outputs=top-5Benchmarking and Improving Text-to-SQL Generation under Ambiguity
Source quote
L284: LogicalBeam │ 78.4 │ 81.3
2023C3 proposedexecution accuracy82.3%split: test · 0-shotC3: Zero-shot Text-to-SQL with ChatGPT
Source quote
L4: This paper proposes a ChatGPT-based zero-shot Text-to-SQL method, dubbed C3, which achieves 82.3% in terms of execution accuracy on the holdout test set of Spider and becomes the state-of-the-art zero-shot Text-to-SQL method on the Spider Challenge. C3 consists of three key components: Clear Prompting (CP), Calibration with Hints (CH), and Consistent Output (CO), which are corresponding to the model input, model bias and model output respectively. It provides a systematic treatment for zero-shot Text-to-SQL. Extensive experiments have been conducted to verify the effectiveness and efficiency of our proposed method. Our code is available at \href{https://github.com/bigbigwatermalon/C3SQL}{https://github.com/bigbigwatermalon/C3SQL}
2023ACT-SQL (GPT-4) proposedEX (execution accuracy)82.9split: val · few-shot · n_d=2 · n_s=2 · model=GPT-4 · database-style=Create(EoT) · api-calls-per-sql=1ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought
Source quote
L172: GPT-4 │ ACT-SQL (Ours) │ 1 │ 61.7 │ 82.9 │ 74.5
2023ACT-SQL (GPT-4) proposedTS (test-suite accuracy)74.5split: val · few-shot · n_d=2 · n_s=2 · model=GPT-4 · database-style=Create(EoT) · api-calls-per-sql=1ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought
Source quote
L172: GPT-4 │ ACT-SQL (Ours) │ 1 │ 61.7 │ 82.9 │ 74.5
2023Revised reference SQL queries proposedexecution accuracy (Exec Acc)92.3split: val · bound=loose upper bound · reference-sql=revisedEvaluating Cross-Domain Text-to-SQL Models and Benchmarks
Source quote
L150: Spider │ 206 (19%) │ 92.3 │ 81.6
2023DIN-SQL + GPT-4 proposedexecution accuracy85.3%split: test · few-shot · model=GPT-4DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
Source quote
L57: Previous works on text-to-SQL prompting using LLMs are only evaluated in a zero-shot setting \citep{rajkumar2022evaluating,liu2023comprehensive}. However, zero-shot prompting only provides a lower bound on the potential power of LLMs for most tasks \citep{zhang2022automatic, kojima2022large, wei2022chain, wei2021finetuned, brown2020language}. We show that our proposed method outperforms the few-shot prompting method by a large margin. We also compare our method with previous approaches on two cross-domain challenging benchmarks, Spider and BIRD. For Spider dataset, we use the two official evaluation metrics of execution accuracy and exact set match accuracy \citep{ruiqi20}. We utilize two variants of the CodeX family, namely Davinci and Cushman \citep{chen2021evaluating}, and the GPT-4 model for prompting. On the holdout test set of Spider, our method achieves an execution accuracy of 85.3% and 78.2% respectively using GPT-4 and CodeX Davinci models and an exact set match accuracy of 60% and 57% respectively using the same models. The large gap between the exact match and execution accuracies is due to the few-shot in-context nature of our method. Pretrained and fine-tuned approaches are more likely to generate SQL queries with a higher exact set match accuracy simply because these models have seen many examples during training that follow the composition style of the queries in the test set (queries in both sets are often written by the same people). Before our work, the SOTA on the test set had an execution accuracy of 79.9% \citep{li2023decoupling} and an exact set match accuracy of 74% \citep{li2023graphix}, and our method sets a new ground in terms of the execution accuracy. On the BIRD benchmark, our approach achieves a new SOTA result, attaining an execution accuracy of 55.9% on the holdout test set and 50.72% on the development set when employing GPT-4. Moreover, using the valid efficiency score introduced in this benchmark, our approach outperformed a GPT-4 baseline, demonstrating a 9% improvement on the development set. This highlights the effectiveness of our method.
2023DIN-SQL + CodeX Davinci proposedexecution accuracy78.2%split: test · few-shot · model=CodeX DavinciDIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
Source quote
L57: Previous works on text-to-SQL prompting using LLMs are only evaluated in a zero-shot setting \citep{rajkumar2022evaluating,liu2023comprehensive}. However, zero-shot prompting only provides a lower bound on the potential power of LLMs for most tasks \citep{zhang2022automatic, kojima2022large, wei2022chain, wei2021finetuned, brown2020language}. We show that our proposed method outperforms the few-shot prompting method by a large margin. We also compare our method with previous approaches on two cross-domain challenging benchmarks, Spider and BIRD. For Spider dataset, we use the two official evaluation metrics of execution accuracy and exact set match accuracy \citep{ruiqi20}. We utilize two variants of the CodeX family, namely Davinci and Cushman \citep{chen2021evaluating}, and the GPT-4 model for prompting. On the holdout test set of Spider, our method achieves an execution accuracy of 85.3% and 78.2% respectively using GPT-4 and CodeX Davinci models and an exact set match accuracy of 60% and 57% respectively using the same models. The large gap between the exact match and execution accuracies is due to the few-shot in-context nature of our method. Pretrained and fine-tuned approaches are more likely to generate SQL queries with a higher exact set match accuracy simply because these models have seen many examples during training that follow the composition style of the queries in the test set (queries in both sets are often written by the same people). Before our work, the SOTA on the test set had an execution accuracy of 79.9% \citep{li2023decoupling} and an exact set match accuracy of 74% \citep{li2023graphix}, and our method sets a new ground in terms of the execution accuracy. On the BIRD benchmark, our approach achieves a new SOTA result, attaining an execution accuracy of 55.9% on the holdout test set and 50.72% on the development set when employing GPT-4. Moreover, using the valid efficiency score introduced in this benchmark, our approach outperformed a GPT-4 baseline, demonstrating a 9% improvement on the development set. This highlights the effectiveness of our method.
2023Q →QPL (Flan-T5-XL; Rich Schema Encoding) proposedExecution accuracy74.7%split: val · fine-tuned · backbone=Flan-T5-XL · difficulty=hard · schema-encoding=richSemantic Decomposition of Question and SQL for Text-to-SQL Parsing
Source quote
L309: 74.7%
2023Q →QPL (Flan-T5-XL; Rich Schema Encoding) proposedExecution accuracy65.1%split: val · fine-tuned · backbone=Flan-T5-XL · difficulty=extra-hard · schema-encoding=richSemantic Decomposition of Question and SQL for Text-to-SQL Parsing
Source quote
L313: 65.1%
2023Codex w/ API proposedExecution accuracy (EA)63.8%backbone=Codex (code-davinci-002) · framework=API-assistedAPI-Assisted Code Generation for Question Answering on Varied Table Structures
Source quote
L209: w/ API │ \multirow{2}{*}{69.3} │ \multirow{2}{*}{63.8} │ \multirow{2}{*}{78.0} │ \multirow{2}{*}{42.4}
2023ODIS (Codex) proposedExecution accuracy (EX)85.2split: val · few-shot · backbone=Codex · evaluation=official-test-suiteSelective Demonstrations for Cross-domain Text-to-SQL
Source quote
L308: \multirow{3}{*}{ODIS} │ Codex │ 85.2
2023Retrieval-RSD (ours; skill-based selection) proposedofficial execution-with-values accuracy53.0%split: val · cot · decoding=greedy · selection=skill-basedLaRS: Latent Reasoning Skills for Chain-of-Thought Reasoning
Source quote
L213: Retrieval-\texttt{RSD}\space (ours) │ 78.1 \rise{15.7} │ 76.8 \rise{1.1} │ 53.0 \rise{6.2}~ │ 94.6 \rise{27.1}
2023Proposed in-context learning strategy (authors’ most effective strategy; exact configuration unspecified) proposedExecution Accuracy84.4%The paper states this as the score of its most effective strategy; the model and shot c…Enhancing Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategies
Source quote
L17: Through experiments, we identified the most effective strategy, which resulted in an Execution Accuracy score of 84.4 on the Spider dataset~\cite{yu-etal-2018-spider}. This score is 2.5 points higher than the current state-of-the-art system \citep{ni-etal-2023-lever} and 5.1 points higher than the best fine-tuned system \citep{scholak-etal-2021-picard}. These results demonstrate the effectiveness of our in-context learning scheme in adapting LLMs to our target task. Furthermore, we present the empirical findings and analysis on the factors that contributed to the success of our strategy.\footnote{We will open source our code for experiments: \url{https://github.com/linyongnan/STRIKE}}
2023Ours (GPT-3.5, text-davinci-003; skeleton retrieval) proposedExecution accuracy (EX)87.8few-shot · backbone=GPT-3.5 / text-davinci-003 · retrieval-demonstrations=8Prompting GPT-3.5 for Text-to-SQL with De-semanticization and Skeleton Retrieval
Source quote
L250: 87.8
2023Proposed approach (semantic reranking and output-based methods; all techniques combined as applicable) proposed non-standard sliceExecution match accuracy @K=176.0%few-shot · model=code-davinci-002 · candidates=25From Words to Code: Harnessing Data for Program Synthesis from Natural Language
Source quote
L682: {Target} │ {Benchmark} │ {K=1} │ {K=3} │ {K=5} SQL │ Spider │ 76.0 (+02.8) │ 90.5 (+12.1) │ 92.8 (+11.9)
2023Proposed approach (semantic reranking and output-based methods; all techniques combined as applicable) proposed non-standard sliceExecution match accuracy @K=390.5%few-shot · model=code-davinci-002 · candidates=25From Words to Code: Harnessing Data for Program Synthesis from Natural Language
Source quote
L682: {Target} │ {Benchmark} │ {K=1} │ {K=3} │ {K=5} SQL │ Spider │ 76.0 (+02.8) │ 90.5 (+12.1) │ 92.8 (+11.9)
2023Skill-KNN proposedexecution accuracy76.6%few-shot · backbone=text-davinci-003Skill-Based Few-Shot Selection for In-Context Learning
Source quote
L65: For instance, with text-davinci-003 as the backbone model, Skill-KNN can achieve 76.6% execution accuracy on Spider, while the best raw-input-based selection method reaches 72.2% and target sketch matching\footnote{One of the oracle methods, detailed in Section~\ref{sec:selection_methods}.} attains 76.4%.
2022Context distillation (Post-distill Student) proposedexact set match accuracy27.9%split: val · few-shot · params=6.7B · backbone=Incoder-6.7B · examples-per-database=8Learning by Distilling Context
Source quote
L255: Post-distill Student │ 22.1 │ 27.9
2022T5-3B† + PICARD + Syn data proposedEX (execution accuracy)81.4split: val · fine-tuned · params=3B · backbone=T5-3B · training=synthetic-data pre-finetuning, then real-data finetuning · database-content=included · decoding-constraint=PICARDImportance of Synthesizing High-quality Data for Text-to-SQL Parsing
Source quote
L270: T5-3B^\dagger + PICARD + Syn data (ours) │ 76.1 │ 81.4
2022APEL^m (full method; Bayesian annotator-error model) proposed non-standard slice1-best accuracy0.75split: val · subset=240 utterances · annotators-per-utterance=2.5 averageNon-Programmers Can Label Programs Indirectly via Active Examples: A Case Study with Text-to-SQL
Source quote
L906: APEL\xspace (m) │ 0.83 │ 0.80 │ 0.73 │ 0.47 │ 0.75
2022OurDB (APEL-synthesized databases; oracle annotator) proposed non-standard sliceAccuracy ceiling0.91database=APEL-synthesized · annotator=oracle · max-databases=3Non-Programmers Can Label Programs Indirectly via Active Examples: A Case Study with Text-to-SQL
Source quote
L875: OurDB │ 0.93 │ 0.95 │ 0.97 │ 0.75 │ 0.91
2022S²SQL + ELECTRA proposedaccuracy76.4%split: val · pretraining=ELECTRAS²SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parsers
Source quote
L163: Similarity, the accuracy of the SOTA model LGESQL + ELECTRA is 72.0% on the hidden test set, and 75.1% on the development set, while S^2SQL + ELECTRA can reach 72.1% test and 76.4 development accuracy.
2022BERTimbau proposedTest Accuracy98.0%split: test · subset=Hospital_1Integrating question answering and text-to-SQL in Portuguese
Source quote
L155: 99.8 % │ 98.0% │ 99.6%
2021RaSaP+ELECTRA proposedEXEC (execution accuracy with values)70.0split: valRelation Aware Semi-autoregressive Semantic Parsing for NL2SQL
Source quote
L256: \MODN+ELECTRA │ 69.0 │ 70.0
2021RAT-SQL + GAP + NatSQL_G proposedExecution match accuracy73.3%split: testNatural SQL: Making SQL Easier to Infer from Natural Language Specifications
Source quote
L464: {\bf RAT-SQL + GAP + NatSQL-\bf G} (Ours)\ \ │ 68.7% │ \bf 73.3%
2021RAT-SQL + NatSQL proposedExecution match accuracy74.6%split: valNatural SQL: Making SQL Easier to Infer from Natural Language Specifications
Source quote
L378: RAT-SQL + NatSQL │ \bf 73.7% │ 74.6%
2021SADGA proposedaccuracy49.4split: val · difficulty=extra-hardSADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL
Source quote
L201: \quad SADGA │ 90.3 │ 72.4 │ 63.8 │ 49.4 │ 71.6
2021Turing + RoBERTa (best reported run) proposedExec accuracy (execution match with values)75.1%split: val · backbone=RoBERTaTURING: an Accurate and Interpretable Multi-Hypothesis Cross-Domain Natural Language Database Interface
Source quote
L197: {Turing + RoBERTa} │ {75.1 (\text{best}), 73.8 ± 0.7}
2021Ours subset (GraPPa) proposed non-standard sliceExecution accuracy80.4%split: val · pretraining=GraPPa · training-data=Spider subsetSPARQLing Database Queries from Intermediate Question Decompositions
Source quote
L281: 80.4
2021Ours subset (GraPPa) proposed non-standard sliceExecution accuracy62.0%split: test · pretraining=GraPPa · training-data=Spider subsetSPARQLing Database Queries from Intermediate Question Decompositions
Source quote
L282: 62.0
2021LGESQL (GloVe) proposedexact set match accuracy62.8%split: test · word-vectors=GloVeLGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations
Source quote
L199: The main results of the test set are provided in Table \ref{tab:main}. Our proposed line graph enhanced text-to-SQL~(LGESQL) model achieves state-of-the-art results in all configurations at the time of writing. With word vectors GloVe, the performance increases from 57.2% to 62.8%, 5.6% absolute improvements. With PLM {\tt bert-large-wwm}, LGESQL also surpasses all previous methods, including the ensemble model, and attains 68.3% accuracy. Recently, more advanced approaches all leverage the benefits of larger PLMs, more task adaptive data~(text-table pairs), and tailored pre-training tasks. For example, Gap~\cite{DBLP:journals/corr/abs-2012-10309} designs some task adaptive self-supervised tasks such as column prediction and column recovery to better address the downstream joint encoding problem. We utilize {\tt electra-large} for its compatibility with our model and achieves 72.0% accuracy.
2021LGESQL + PLM (bert-large-wwm) proposedexact set match accuracy68.3%split: test · backbone=bert-large-wwmLGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations
Source quote
L199: The main results of the test set are provided in Table \ref{tab:main}. Our proposed line graph enhanced text-to-SQL~(LGESQL) model achieves state-of-the-art results in all configurations at the time of writing. With word vectors GloVe, the performance increases from 57.2% to 62.8%, 5.6% absolute improvements. With PLM {\tt bert-large-wwm}, LGESQL also surpasses all previous methods, including the ensemble model, and attains 68.3% accuracy. Recently, more advanced approaches all leverage the benefits of larger PLMs, more task adaptive data~(text-table pairs), and tailored pre-training tasks. For example, Gap~\cite{DBLP:journals/corr/abs-2012-10309} designs some task adaptive self-supervised tasks such as column prediction and column recovery to better address the downstream joint encoding problem. We utilize {\tt electra-large} for its compatibility with our model and achieves 72.0% accuracy.
2021LGESQL + PLM (electra-large) proposedexact set match accuracy72.0%split: test · backbone=electra-largeLGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations
Source quote
L199: The main results of the test set are provided in Table \ref{tab:main}. Our proposed line graph enhanced text-to-SQL~(LGESQL) model achieves state-of-the-art results in all configurations at the time of writing. With word vectors GloVe, the performance increases from 57.2% to 62.8%, 5.6% absolute improvements. With PLM {\tt bert-large-wwm}, LGESQL also surpasses all previous methods, including the ensemble model, and attains 68.3% accuracy. Recently, more advanced approaches all leverage the benefits of larger PLMs, more task adaptive data~(text-table pairs), and tailored pre-training tasks. For example, Gap~\cite{DBLP:journals/corr/abs-2012-10309} designs some task adaptive self-supervised tasks such as column prediction and column recovery to better address the downstream joint encoding problem. We utilize {\tt electra-large} for its compatibility with our model and achieves 72.0% accuracy.
2021T5-3B (database content) proposedEX (execution accuracy)70.1%split: test · 0-shot · params=3B · backbone=T5-3B · beam-size=4 · database-content=enabledPICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
Source quote
L310: T5-3B^\dagger │ 71.5 │ 74.4 │ 68.0 │ 70.1
2020CFGNN (ours, full model) proposedExact matching accuracy44.1%split: testCFGNN: Cross Flow Graph Neural Networks for Question Answering on Complex Tables
Source quote
L296: 44.1%
2020CFGNN (ours, full model) proposedExact matching accuracy48.7%split: valCFGNN: Cross Flow Graph Neural Networks for Question Answering on Complex Tables
Source quote
L297: 48.7%
2020EditSQL+Feedback (BERT-equipped) proposedEnd-to-end exact-match accuracy53.73%split: val · backbone=BERT · interaction=two-turn · initial-parser=Seq2StructSpeak to your Parser: Interactive Text-to-SQL with Natural Language Feedback
Source quote
L393: \ \ \ \ \ \Rightarrow EditSQL+Feedback │ 25.16 │ 53.73
2020RAT-SQL with GraPPa (MLM+SSP) proposedset match accuracy69.6split: test · base-parser=RAT-SQL · pretraining=MLM+SSPGraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing
Source quote
L507: \bf{69.6}
2020RECPARSER proposedNested SQL Exact Matching accuracy39.3%split: val · variant=without BERT · database-content=usedRECPARSER: A Recursive Semantic Parsing Framework for Text-to-SQL Task
Source quote
L44: On the Spider benchmark [Yu et al., 2018b], RECPARSER achieves a state-of-the-art 39.3% accuracy on the nested SQL query and a comparable 54.3% accuracy on the overall SQL query. When augmented with BERT [Devlin et al., 2018],
2020RECPARSER (BERT) proposedNested SQL Exact Matching accuracy46.8%split: val · backbone=BERT-base · database-content=usedRECPARSER: A Recursive Semantic Parsing Framework for Text-to-SQL Task
Source quote
L45: RECPARSER reaches up to a state-of-the-art 46.8% accuracy on the nested SQL query and a state-of-the-art 63.1% accuracy on the overall SQL query. Our contributions are summarized as follows.