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.
Click any point on the timeline to inspect method, protocol, and paper.
| # | Method | Score ↑ | Year | Protocol / Settings | Paper & Evidence |
|---|---|---|---|---|---|
| 1 | HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) SOTA frontier (+5 variants) | 98.21% | 2025-08-01 | epochs=20 · classes=86 · batch-size=16 · 86 classes; 70/15/15 train/validation/test split. Maximum across the search run; one … | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteM4 │ 98.21 │ 94.76 │ 10 |
| 2 | SQL-of-Thought (Claude 3 Opus) SOTA frontier (+3 variants) | 95% | 2025-01-01 | model=Claude 3 Opus · subset=first 100 samples · First 100 samples; Claude 3 Opus; full SQL-of-Thought configuration; temperature 0 | SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error CorrectionSource quoteClaude 3 Opus │ 95 │ 85 │ 90 |
| 3 | DecoSearch (DeepSeek backbone) | 88.31% | 2026-06-01 | backbone=DeepSeek · training=training-free · Training-free; dev split per the comparison-table headers. | DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQLSource quoteDecoSearch 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. |
| 4 | DataGpt-sql-7B + Invalid-SQL Feedback SOTA frontier (+1 variant) | 87.2% | 2024-09-01 | params=7B · feedback=invalid-SQL · model-size=7B · Spider-dev evaluation; system includes Invalid-SQL Feedback. | DataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQLSource quoteDataGpt-sql-7B + Invalid-SQL Feedback │ 87.2 │ 83.8 \tabularnewline |
| 5 | MATS (9B) | 87.1% | 2025-12-01 | params=9B · Development split; MATS framework, 9B total parameters. | A Multi-agent Text2SQL Framework using Small Language Models and Execution FeedbackSource quote\texttt{MATS}\xspace │ 9B │ 87.1 │ 82.3 │ 13.9 |
| 6 | SuperSQL (GPT-4) SOTA frontier | 87% | 2024-01-01 | model=GPT-4 · Overall development-set result; reported in the Spider/BIRD development-set economy t… | The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ]Source quote\multicolumn{1}{c|}{87.0} |
| 7 | Progress-SQL-7B (+1 variant) | 86.6% | 2026-06-01 | params=7B · decoding=greedy · difficulty=all · All-difficulty aggregate; greedy decoding; evaluated with standard single-turn infere… | Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive RewardsSource quote96.0 │ 90.4 │ 82.2 │ 66.9 │ 86.6 |
| 8 | SQLForge-LM | 85.7% | 2025-01-01 | Dev split; greedy decoding; reported among open-source models. | SQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMsSource quoteBuilding 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. |
| 9 | FINER-SQL 3B | 85% | 2026-05-01 | params=3B · Development set; schema filtering retrieves the top 30 relevant columns; generates 30… | FINER-SQL: Boosting Small Language Models for Text-to-SQLSource quote\texttt{FINER-SQL}\xspace 3B (Ours) │ 67.73 │ 85.0 |
| 10 | ORM-based BoN | 84.53% | 2026-06-01 | candidates=32 · N=32 candidates; test-time selection. The table reports execution accuracy (%) across… | Test-Time Verification for Text-to-SQL via Outcome Reward ModelsSource quote32 │ 66.04 │ 82.79 │ 85.14 │ 66.95 │ 83.75 │ 85.47 │ 68.90 │ 84.53 │ 87.47 │ 80.57 │ 91.68 │ 93.29 |
| 11 | Open-SQL (7B; same procedure as the BIRD experiments) | 84.1% | 2024-05-01 | method=Open-SQL · params=7B · model-size=7B · Spider leaderboard result; the conclusion says the same procedures were used on Spide… | Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language ModelsSource quote5 │ Open-SQL (Ours) │ 7B │ 84.1 |
| 12 | PARSQL-3Bllm (+1 variant) | 83.8% | 2025-01-01 | params=3B · backbone=CodeS-3B · inference=first-valid-execution · CodeS-3B backbone; LLM-based reason pairs; PARSQLllm uses first-valid-execution at in… | PARSQL: Enhancing Text-to-SQL through SQL Parsing and ReasoningSource quote83.8 (+1.6) |
| 13 | SQL component pre-generation + AST matching reward (GRPO; Qwen2.5-Coder-7B-Instruct) | 83% | 2026-01-01 | params=7B · Main model setup; trained on BIRD only, without SPIDER training data. | Addressing Semantic Blind Spots in Text-to-SQL via Component Pre-generation and AST Matching RewardsSource quote(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 |
| 14 | LogicalBeam SOTA frontier | 81.3% | 2023-01-01 | outputs=top-5 · dev split. | Benchmarking and Improving Text-to-SQL Generation under AmbiguitySource quoteLogicalBeam │ 78.4 │ 81.3 |
| 15 | S²SQL + ELECTRA SOTA frontier | 76.4% | 2022-01-01 | pretraining=ELECTRA · Development set; ELECTRA pre-training | S²SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL ParsersSource quoteSimilarity, 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. |
| 16 | MTSQL | 75.6% | 2024-03-01 | Development split: 1,034 question-SQL pairs; databases do not overlap with training. | Schema-Aware Multi-Task Learning for Complex Text-to-SQLSource quoteMTSQL │ 75.6 \\[2pt] |
| 17 | Turing + RoBERTa (best reported run) SOTA frontier | 75.1% | 2021-01-01 | backbone=RoBERTa · Cross-domain Text-to-SQL; best result reported in the comparison table. | TURING: an Accurate and Interpretable Multi-Hypothesis Cross-Domain Natural Language Database InterfaceSource quote{Turing + RoBERTa} │ {75.1 (\text{best}), 73.8 ± 0.7} |
| 18 | RAT-SQL + NatSQL | 74.6% | 2021-01-01 | RAT-SQL extended with GAP; NatSQL representation. | Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsSource quoteRAT-SQL + NatSQL │ \bf 73.7% │ 74.6% |
| 19 | RECPARSER (BERT) SOTA frontier (+3 variants) | 63.1% | 2020-01-01 | backbone=BERT-base · database-content=used · Development set; BERT-enhanced RECPARSER (BERT-base), using database content. | RECPARSER: A Recursive Semantic Parsing Framework for Text-to-SQL TaskSource quote63.1% |
| 20 | SyntaxSQLNet + Data Augmentation SOTA frontier (+5 variants) | 61.9% | 2019-01-01 | Development set; Spider split has 1,034 examples and 40 databases. Table 2. | Graph Enhanced Cross-Domain Text-to-SQL GenerationSource quote61.9% |
| 21 | IRNet + PIIA (+1 variant) | 59.3% | 2020-01-01 | selection=ideal · evaluation=PIIA simulation · simulated-options=up to 100 combinations · Simulation comparison on the Spider development set (1,034 samples); the test set is … | "What Do You Mean by That?" A Parser-Independent Interactive Approach for Enhancing Text-to-SQLSource quote{~~~~~~+PIIA} │ 59.3 │ {N/A} │ 2.9 |
| 22 | Base Parser + DG-MAML (+1 variant) | 58.5% | 2021-01-01 | Development set; base parser without pretrained representations, trained with DG-MAML… | Meta-Learning for Domain Generalization in Semantic ParsingSource quote\quad Base Parser + DG-MAML │ 58.5 |
| 23 | EditSQL + Bertrand-DR (+1 variant) | 58.5% | 2020-02-01 | beam-size=10 · candidate-generator=EditSQL · Bertrand-DR reranks EditSQL beam candidates; the reranker training/dev candidate data… | Bertrand-DR: Improving Text-to-SQL using a Discriminative Re-rankerSource quoteEditSQL │ 57.6 │ 58.5 │ 78.7 |
| 24 | EditSQL+Feedback (BERT-equipped) | 53.73% | 2020-01-01 | backbone=BERT · interaction=two-turn · initial-parser=Seq2Struct · Two-turn interaction: Seq2Struct parses first; if incorrect, the correction model use… | Speak to your Parser: Interactive Text-to-SQL with Natural Language FeedbackSource quote\ \ \ \ \ \Rightarrow EditSQL+Feedback │ 25.16 │ 53.73 |
| 25 | CFGNN (ours, full model) | 48.7% | 2020-01-01 | Development set; all SQL queries; official exact-matching evaluation. | CFGNN: Cross Flow Graph Neural Networks for Question Answering on Complex TablesSource quote48.7% |
| 26 | SyntaxSQLNet (BERT), SemQL output (+1 variant) | 35.8% | 2019-01-01 | output=SemQL · backbone=BERT · evaluation=database-split · Development set; database split; BERT-augmented SyntaxSQLNet trained to generate SemQ… | Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate RepresentationSource quoteSyntaxSQLNet(BERT) │ 25.0% │ 35.8%(+10.8) |
| 27 | SyntaxSQLNetAug + DAE (+1 variant) | 27.4% | 2019-01-01 | Spider dev set; overall across query hardness levels. | Data-Anonymous Encoding for Text-to-SQL GenerationSource quote27.4(+2.5) |
Showing 150 of 341 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | AutoThinkSQL SFT+DPO (Qwen3-Coder-30B-A3B) proposed | Execution Accuracy | 86.20 | split: val · params=30B · backbone=Qwen3-Coder-30B-A3B · decoding=greedy | Learning When to Reason for Text-to-SQL via SFT and DPOSource quoteL187: 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). |
| 2026 | AutoThinkSQL SFT+DPO (Qwen3-Coder-30B-A3B) proposed | Execution Accuracy | 86.78 | split: val · params=30B · backbone=Qwen3-Coder-30B-A3B · decoding=Maj@8 | Learning When to Reason for Text-to-SQL via SFT and DPOSource quoteL188: 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. |
| 2026 | DecoSearch (DeepSeek backbone) proposed | execution accuracy (EX) | 88.31% | split: val · backbone=DeepSeek · training=training-free | DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQLSource quoteL10: 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. |
| 2026 | Grok 4.7 FDE agent (autonomous; Ministral 3 8B) proposed | Execution accuracy (EX) | 75.82% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL643: 75.82 |
| 2026 | GPT-5.6 Sol FDE agent (decoupled; Ministral 3 8B) proposed | Execution accuracy (EX) | 76.11% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL606: 76.11 |
| 2026 | GPT-5.6 Sol FDE agent (autonomous; Llama 3.1 8B) proposed | Execution accuracy (EX) | 72.63% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL613: 72.63 |
| 2026 | GPT-6.1 Sol FDE agent (decoupled; Llama 3.1 8B) proposed | Execution accuracy (EX) | 55.90% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL621: 55.90 |
| 2026 | GPT-6.1 Sol FDE agent (autonomous; Llama 3.1 8B) proposed | Execution accuracy (EX) | 71.57% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL628: 71.57 |
| 2026 | Grok 4.7 FDE agent (decoupled; Ministral 3 8B) proposed | Execution accuracy (EX) | 63.64% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL636: 63.64 |
| 2026 | GLM-5.3-Flash FDE agent (decoupled; Ministral 3 8B) proposed | Execution accuracy (EX) | 56.77% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL651: 56.77 |
| 2026 | GLM-5.3-Flash FDE agent (autonomous; Llama 3.1 8B) proposed | Execution accuracy (EX) | 67.50% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL658: 67.50 |
| 2026 | Progress-SQL-7B proposed | Execution accuracy (EX) | 86.6% | split: val · params=7B · decoding=greedy · difficulty=all | Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive RewardsSource quoteL1028: 96.0 │ 90.4 │ 82.2 │ 66.9 │ 86.6 |
| 2026 | Progress-SQL-7B proposed | Test-suite accuracy (TS) | 80.0% | split: val · params=7B · decoding=greedy · difficulty=all | Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive RewardsSource quoteL1029: 95.2 │ 85.9 │ 71.8 │ 50.0 │ 80.0 |
| 2026 | FINER-SQL 3B proposed | Execution accuracy (EX%) | 85.0% | split: val · params=3B | FINER-SQL: Boosting Small Language Models for Text-to-SQLSource quoteL618: \texttt{FINER-SQL}\xspace 3B (Ours) │ 67.73 │ 85.0 |
| 2026 | SQLoom (Qwen3-1.7B) proposed | Execution accuracy (EX) | 88.7% | split: val · fine-tuned · params=1.7B | SQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQLSource quoteL45: Qwen3-1.7B from 62.9% zero-shot to 88.7% on Spider development, |
| 2026 | Gemini-2.5-Flash BIRD-derived module-best stack proposed | EX | 84.72% | split: val · in-context-learning · backbone=Gemini-2.5-Flash · examples=1034 · stack-selection=BIRD-derived | Are These Modules Worth Their Cost? A Paradigm-Level Accuracy-Cost Analysis of In-context Learning Text-to-SQLSource quoteL462: \modulepara{Spider generalization.} To test cross-benchmark transfer, we apply the BIRD-derived stacks unchanged to Spider. As shown in Figure~\ref{fig:pareto}, all four stacks improve EX over their respective lean baselines, with gains ranging from +3.68 to +6.77~pp. The backbone--pipeline tradeoff persists on Spider: the DeepSeek-V4-Flash and Gemini-2.5-Flash stacks both Pareto-dominate GPT-5.4's lean baseline. The GPT-4o-mini stack nearly matches that baseline (80.17% vs.\ 80.27%) at \0.315 rather than \1.879, while the DeepSeek-V4-Flash and Gemini-2.5-Flash stacks surpass it, reaching 82.01% and 84.72% at lower costs of \0.679 and \1.172, respectively. GPT-5.4's stack achieves the highest EX of 87.04%, but its 2.32~pp advantage over Gemini-2.5-Flash's stack requires 5.62× the total cost overall. |
| 2026 | ORM-based BoN proposed | Execution accuracy | 84.53% | split: val · candidates=32 | Test-Time Verification for Text-to-SQL via Outcome Reward ModelsSource quoteL359: 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 |
| 2026 | SQL component pre-generation + AST matching reward (GRPO; Qwen2.5-Coder-7B-Instruct) proposed | EX (execution accuracy) | 83% | split: val · params=7B | Addressing Semantic Blind Spots in Text-to-SQL via Component Pre-generation and AST Matching RewardsSource quoteL240: (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 |
| 2026 | ATR (w. Contriever) | F1 | 78.3 | split: val | Retrieve Only Relevant Tables Whether Few or Many: Adaptive Table Retrieval MethodSource quoteL518: ATR (w. Contriever) │ 69.6 │ 99.5 │ 99.2 │ 78.3 │ 54.0 │ 98.2 │ 96.0 │ 65.8 │ 21.9 │ 72.4 │ 64.4 │ 27.8 |
| 2026 | ATR (w. UAE) | Text-to-SQL execution accuracy | 69.8 | split: val · params=7B | Retrieve Only Relevant Tables Whether Few or Many: Adaptive Table Retrieval MethodSource quoteL255: ATR (w. UAE) │ 59.8 / 68.2 │ 69.8 / 71.4 │ 59.0 / 71.1 │ 29.0 / 48.7 │ 43.8 / 53.9 │ 25.6 / 49.7 │ 1.6 / 4.5 │ 2.1 / 4.9 │ 1.1 / 4.6 |
| 2026 | APMPO | Pass@1 | 75.4 | split: val · params=3B | Adapt to Thrive! Adaptive Power-Mean Policy Optimization for Improved LLM ReasoningSource quoteL200: As presented in Table \ref{tab:exp}, APMPO consistently outperforms all baselines across mathematical reasoning benchmarks. For instance, on Qwen2.5-Math-1.5B-Instruct, APMPO achieves an average score of 41.7, surpassing the strongest baseline (DAPO) by 2.1 points. This consistent superiority across diverse model sizes and architectures confirms the superiority of APMPO. Additionally, we evaluate APMPO on SQL generation and multi-modal reasoning to showcase its broad applicability. The results in Figure \ref{fig:geoSQL} show consistent improvements in SQL generation and multi-modal reasoning tasks. For instance, APMPO achieves the highest Pass@1 scores of 75.4 and 57.6 on Spider-Dev and BIRD-Dev, respectively. Further results are shown in Appendix \ref{appendix:geoSQL}. |
| 2026 | Human FDE shipped system (Ministral 3 8B) baseline | Execution accuracy (EX) | 79.90% | split: val · fine-tuned · params=8B | Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQLSource quoteL666: 79.90 |
| 2026 | GPT-OSS-20 baseline | Kendall’s τ (All ranks) | -0.91 | split: val · temperature=1 | SPENCE: A Syntactic Probe for Detecting Contamination in NL2SQL BenchmarksSource quoteL385: Spider │ GPT-OSS-20 │ -0.91 │ [-1.00,\,-0.76] │ -0.86 │ [-1.00,\,-0.34] |
| 2026 | GPT-4o-mini baseline | Kendall’s τ (All ranks) | -0.91 | split: val · temperature=1 | SPENCE: A Syntactic Probe for Detecting Contamination in NL2SQL BenchmarksSource quoteL386: Spider │ GPT-4o-mini │ -0.91 │ [-1.00,\,-0.35] │ -0.86 │ [-1.00,\,-0.36] |
| 2026 | LLaMA3.3-70B baseline | Kendall’s τ (All ranks) | -0.87 | split: val · params=70B · temperature=1 | SPENCE: A Syntactic Probe for Detecting Contamination in NL2SQL BenchmarksSource quoteL387: Spider │ LLaMA3.3-70B │ -0.87 │ [-1.00,\,-0.62] │ -0.86 │ [-1.00,\,-0.51] |
| 2026 | CodeS-15B baseline | Execution accuracy (EX%) | 84.9% | split: val · params=15B | FINER-SQL: Boosting Small Language Models for Text-to-SQLSource quoteL600: CodeS-15B │ 58.47 │ 84.9 |
| 2026 | Qwen3-1.7B (zero-shot) baseline | Execution accuracy (EX) | 62.9% | split: val · 0-shot · params=1.7B | SQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQLSource quoteL45: Qwen3-1.7B from 62.9% zero-shot to 88.7% on Spider development, |
| 2026 | GPT-5.4 lean baseline baseline | EX | 80.27% | split: val · in-context-learning · N=1 · backbone=GPT-5.4 · examples=1034 | Are These Modules Worth Their Cost? A Paradigm-Level Accuracy-Cost Analysis of In-context Learning Text-to-SQLSource quoteL462: \modulepara{Spider generalization.} To test cross-benchmark transfer, we apply the BIRD-derived stacks unchanged to Spider. As shown in Figure~\ref{fig:pareto}, all four stacks improve EX over their respective lean baselines, with gains ranging from +3.68 to +6.77~pp. The backbone--pipeline tradeoff persists on Spider: the DeepSeek-V4-Flash and Gemini-2.5-Flash stacks both Pareto-dominate GPT-5.4's lean baseline. The GPT-4o-mini stack nearly matches that baseline (80.17% vs.\ 80.27%) at \0.315 rather than \1.879, while the DeepSeek-V4-Flash and Gemini-2.5-Flash stacks surpass it, reaching 82.01% and 84.72% at lower costs of \0.679 and \1.172, respectively. GPT-5.4's stack achieves the highest EX of 87.04%, but its 2.32~pp advantage over Gemini-2.5-Flash's stack requires 5.62× the total cost overall. |
| 2026 | Majority Voting baseline | Execution accuracy | 83.75% | split: val · candidates=32 | Test-Time Verification for Text-to-SQL via Outcome Reward ModelsSource quoteL359: 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 |
| 2025 | MATS (9B) proposed | EX% (execution accuracy) | 87.1% | split: val · params=9B | A Multi-agent Text2SQL Framework using Small Language Models and Execution FeedbackSource quoteL1009: \texttt{MATS}\xspace │ 9B │ 87.1 │ 82.3 │ 13.9 |
| 2025 | ConstrainedSQL (Ours), Qwen2.5-Coder-7B proposed | Execution Accuracy | 85.2 | split: val · params=7B | ConstrainedSQL: Training LLMs for Text2SQL via Constrained Reinforcement LearningSource quoteL218: ConstrainedSQL (Ours) │ Qwen2.5-Coder-7B │ 85.2 │ 86.7 │ 61.9 |
| 2025 | SQL-of-Thought (with Claude Opus 3) proposed | Execution Accuracy | 91.59% | split: val · model=Claude Opus 3 | SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error CorrectionSource quoteL108: SQL-of-Thought (with Claude Opus 3) │ 91.59 │ 90.16 |
| 2025 | SQL-of-Thought (Claude 3 Opus) proposed | Execution Accuracy | 95% | split: val · model=Claude 3 Opus · subset=first 100 samples | SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error CorrectionSource quoteL124: Claude 3 Opus │ 95 │ 85 │ 90 |
| 2025 | LearNAT (Qwen2.5-Coder-7B) proposed | Execution Accuracy (EX), Total | 86.4 | split: val · params=7B · backbone=Qwen2.5-Coder-7B · interactions=one LLM interaction | LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language ModelsSource quoteL505: \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 |
| 2025 | HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposed | Maximum validation accuracy (Max Acc) | 97.66% | split: val · epochs=20 · classes=86 · batch-size=16 | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteL311: M4 │ 97.66 │ 87.33 │ 12 |
| 2025 | HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposed | Maximum validation accuracy (Max Acc) | 97.11% | split: val · epochs=20 · classes=86 · batch-size=16 | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteL315: M4 │ 97.11 │ 87.68 │ 8 |
| 2025 | HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposed | Maximum validation accuracy (Max Acc) | 97.78% | split: val · epochs=20 · classes=86 · batch-size=16 | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteL319: M4 │ 97.78 │ 91.38 │ 12 |
| 2025 | HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposed | Maximum validation accuracy (Max Acc) | 98.21% | split: val · epochs=20 · classes=86 · batch-size=16 | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteL323: M4 │ 98.21 │ 94.76 │ 10 |
| 2025 | HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features) proposed | Minimum validation accuracy (Min Acc) | 94.76% | split: val · epochs=20 · classes=86 · batch-size=16 | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteL323: M4 │ 98.21 │ 94.76 │ 10 |
| 2025 | SQL-o1 (Qwen2.5-14B) proposed | Execution accuracy (EX) | 88.4 | split: val · params=14B · backbone=Qwen2.5-14B | SQL-o1: A Self-Reward Heuristic Dynamic Search Method for Text-to-SQLSource quoteL863: Ours: SQL-o1 │ Qwen2.5-14B │ 88.4 │ 73.1 │ 75.8 |
| 2025 | Bidirectional schema linking (GPT-4o-mini, G) proposed | Table retrieval performance (recall) | 95.29 | split: val · model=GPT-4o-mini | Rethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQLSource quoteL603: \textbf{Bidirectional \texttt{(G)}} │ 97.56 │ 95.29 |
| 2025 | Retrieved Schema (GPT-4o-mini) proposed | SQL execution accuracy | 65.7 | split: val · 0-shot · model=GPT-4o-mini · schema-setting=retrieved-schema | Rethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQLSource quoteL526: Retrieved Schema │ {89.3} │ {71.1} │ {54.6} │ {33.7} │ 65.7 (\uparrow 1.2) |
| 2025 | Retrieved Schema (Gemini-2.0-flash) proposed | SQL execution accuracy | 70.6 | split: val · 0-shot · model=Gemini-2.0-flash · schema-setting=retrieved-schema | Rethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQLSource quoteL531: Retrieved Schema │ {88.8} │ {74.4} │ {64.4} │ {44.0} │ 70.6 (\uparrow 2.9) |
| 2025 | PARSQL-3Bllm proposed | Execution Accuracy (EX) | 83.8% | split: val · params=3B · backbone=CodeS-3B · inference=first-valid-execution | PARSQL: Enhancing Text-to-SQL through SQL Parsing and ReasoningSource quoteL347: 83.8 (+1.6) |
| 2025 | PARSQL-3Bllm proposed | Test-suite accuracy (TS) | 77.7% | split: val · params=3B · backbone=CodeS-3B · inference=first-valid-execution | PARSQL: Enhancing Text-to-SQL through SQL Parsing and ReasoningSource quoteL348: 77.7 (+1.4) |
| 2025 | DCG-SQL (GPT-3.5-Turbo) proposed | EX (Execution Accuracy) | 83.3 | split: val · 5-shot | DCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link GraphSource quoteL764: 83.3 |
| 2025 | DCG-SQL (Llama-3.1-8B-Instruct) proposed | EX (Execution Accuracy) | 82.1 | split: val · 5-shot · params=8B · backbone=Llama-3.1-8B-Instruct | DCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link GraphSource quoteL779: 82.1 |
| 2025 | JOLT-SQL + Qwen2.5-Coder-14B proposed | Execution accuracy (EX) | 88.4% | split: val · fine-tuned · params=14B · backbone=Qwen2.5-Coder-14B | JOLT-SQL: Joint Loss Tuning of Text-to-SQL with Confusion-aware Noisy Schema SamplingSource quoteL235: 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. |
| 2025 | State-offset Tuning (\bm{h}) proposed | Execution accuracy | 57.4 | split: val · fine-tuned · module=S6 · params=1.4B · backbone=Mamba 1.4B | State-offset Tuning: State-based Parameter-Efficient Fine-Tuning for State Space ModelsSource quoteL586: \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 |
| 2025 | SQLForge-LM proposed | EX accuracy (Execution Accuracy) | 85.7% | split: val | SQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMsSource quoteL12: 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. |
| 2025 | DB-Explore + Qwen2.5-Coder-7B proposed | Dev-EX (Execution Accuracy) | 84.0% | split: val · fine-tuned · params=7B | DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQLSource quoteL184: Ours: DB-Explore + Qwen2.5-Coder-7B │ 84.0 │ 79.3 │ 52.1 │ 55.8 |
| 2025 | 3B LLaMA fine-tuned on L3_4 train proposed | Test-suite accuracy (TS) | 0.684 | split: val · fine-tuned · params=3B · backbone=LLaMA-3B · training-subset=L3_4 train · evaluation-subset=L4 dev | Text2Sql: Pure Fine-Tuning and Pure Knowledge DistillationSource quoteL114: 0.684 |
| 2025 | 3B LLaMA fine-tuned on L3_4 train proposed | Exact-set-match accuracy (EM) | 0.698 | split: val · fine-tuned · params=3B · backbone=LLaMA-3B · training-subset=L3_4 train · evaluation-subset=L4 dev | Text2Sql: Pure Fine-Tuning and Pure Knowledge DistillationSource quoteL115: 0.698 |
| 2025 | Pure-KD (1B LLaMA student) proposed | Test-suite accuracy (TS) | 0.596 | split: val · fine-tuned · params=1B · backbone=LLaMA-1B · distillation=Pure-KD from LLaMA-3B · training-subset=L4_train · evaluation-subset=L4 dev | Text2Sql: Pure Fine-Tuning and Pure Knowledge DistillationSource quoteL231: 0.596 |
| 2025 | PSM-SQL+DeepSeek-7B proposed | EX | 86.9 | split: val · params=7B · backbone=DeepSeek-7B | PSM-SQL: Progressive Schema Learning with Multi-granularity Semantics for Text-to-SQLSource quoteL226: PSM-SQL+DeepSeek-7B (Ours) │ \multicolumn{1}{c|}{86.9} │ 79.5 │ \multicolumn{1}{c|}{-} |
| 2025 | PSM-SQL+Llama3-70B proposed | EM | 82.2 | split: val · params=70B · backbone=Llama3-70B | PSM-SQL: Progressive Schema Learning with Multi-granularity Semantics for Text-to-SQLSource quoteL228: PSM-SQL+Llama3-70B (Ours) │ \multicolumn{1}{c|}{88.6} │ 82.2 │ \multicolumn{1}{c|}{-} |
| 2025 | Black-box UQ, geom-agg (Jaccard similarity) proposed non-standard slice | AUROC | 0.76 | split: val · backbone=CodeLlama | The Consistency Hypothesis in Uncertainty Quantification for Large Language ModelsSource quoteL282: (Agg. sims) │ geom-agg │ 0.85 {\scriptstyle± 0.008} │ 0.83 {\scriptstyle± 0.007} │ 0.76 {\scriptstyle± 0.011} │ 0.35 {\scriptstyle± 0.017} │ 0.80 {\scriptstyle± 0.003} │ 0.57 {\scriptstyle± 0.004} |
| 2025 | QCMA-SQL proposed | Execution accuracy (EX) | 87.4% | split: val · 3-shot · agents=DeepSeek-V3 · schema-selector=DeBERTa-v3 · agent-temperature=0 | Enhancing Text-to-SQL with Question Classification and Multi-Agent CollaborationSource quoteL160: 87.4 |
| 2025 | SDE-SQL (SFT) proposed | dev(EX) | 87.5 | split: val · fine-tuned · training-data=BIRD train | SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL ProbesSource quoteL197: SDE-SQL (SFT) │ 87.5 │ 88.5 |
| 2025 | Gemma-SQL proposed | Test-Suite Accuracy (TS) | 64.5% | split: val · fine-tuned · params=2B · backbone=Gemma-2B | GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language ModelsSource quoteL748: 64.5 |
| 2025 | Gemma-SQL proposed | Exact Set Match (EM) | 60.7% | split: val · fine-tuned · params=2B · backbone=Gemma-2B | GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language ModelsSource quoteL749: 60.7 |
| 2025 | Gemma-SQL Instruct proposed | Test-Suite Accuracy (TS) | 66.8% | split: val · fine-tuned · params=2B · variant=instruction-tuned · backbone=Gemma-2B | GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language ModelsSource quoteL751: 66.8 |
| 2025 | Gemma-SQL Instruct proposed | Exact Set Match (EM) | 63.3% | split: val · fine-tuned · params=2B · variant=instruction-tuned · backbone=Gemma-2B | GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language ModelsSource quoteL752: 63.3 |
| 2025 | GBV-SQL + No Gold Errors proposed non-standard slice | execution accuracy (EX) | 96.5% | split: val · subset=No Gold Errors | GBV-SQL: Guided Generation and SQL2Text Back-Translation Validation for Multi-Agent Text2SQLSource quoteL167: GBV-SQL + No Gold Errors │ 96.5 │ 97.6 |
| 2025 | CHESS+ORANGE proposed | EX score | 81.8% | split: val · prior-sql-generator=CHESS | ORANGE: An Online Reflection ANd GEneration framework with Domain Knowledge for Text-to-SQLSource quoteL267: CHESS+ORANGE │ 65.12 │ 81.8 │ 54.52 |
| 2025 | Schema-linking F₆ score (β=6) proposed | Spearman rank correlation with SQL execution accuracy | 0.911 | split: val · aggregation=average across Spider variants | Extractive Schema Linking for Text-to-SQLSource quoteL320: 6 │ 0.991 │ 0.714 │ 0.937 │ 1.000 │ 0.911 |
| 2025 | Alpha-SQL (Qwen2.5-Coder-14B; SC Selection) proposed | Execution Accuracy; All difficulty levels | 87.0% | split: val · 0-shot · params=14B · backbone=Qwen2.5-Coder-14B · rollouts=24 · selection=SC | Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree SearchSource quoteL331: Alpha-SQL (Ours) │ Qwen2.5-Coder-14B │ SC Selection │ \textcolor{green}{\ding{51}} │ 94.0 │ 91.0 │ 79.9 │ 72.3 │ 87.0 |
| 2025 | LLaMA-3B, SQL-Exchange (1-shot) proposed | Execution accuracy (EX) | 57.64% | split: val · 1-shot · model=LLaMA-3B · params=3B · backbone=LLaMA-3B · example-source=SQL-Exchange mapped queries | SQL-Exchange: Transforming SQL Queries Across DomainsSource quoteL489: SQL-Exchange (1-shot) │ 35.33% │ 57.64% |
| 2025 | MageSQL proposed | EX (%) | 87.4% | split: val · few-shot · backbone=GPT-4 | MageSQL: Enhancing In-context Learning for Text-to-SQL Applications with Large Language ModelsSource quoteL429: \ensuremath{\mathsf{MageSQL}}\xspace │ 69.7 │ 87.4 │ 67.2 │ 86.8 |
| 2025 | GRAST-SQL 8B proposed | ROC AUC | 0.988 | split: val · params=8B | Scaling Text2SQL via LLM-efficient Schema Filtering with Functional Dependency Graph RerankersSource quoteL358: \texttt{GRAST-SQL}\xspace 8B │ 0.988 │ 0.928 │ 0.998 │ 0.454 │ 0.987 │ 0.850 │ 0.992 │ 0.360 │ 0.967 │ 0.343 │ 0.991 │ 0.113 |
| 2025 | StreamLink-SQL-Generator (SSQLG3.1-8B), fine-tuned on Llama-3.1-8B proposed | Exact Match (EM) | 86.9 | split: val · fine-tuned · params=8B · backbone=Llama-3.1-8B | StreamLink: Large-Language-Model Driven Distributed Data Engineering SystemSource quoteL120: SSQLG3.1-8B │ 86.9 │ 89.7 |
| 2025 | StreamLink-SQL-Generator (SSQLG3.1-8B), fine-tuned on Llama-3.1-8B proposed | Execution Accuracy (EA; table column “Accuracy”) | 89.7 | split: val · fine-tuned · params=8B · backbone=Llama-3.1-8B | StreamLink: Large-Language-Model Driven Distributed Data Engineering SystemSource quoteL120: SSQLG3.1-8B │ 86.9 │ 89.7 |
| 2025 | SQL-of-Thought, W/o Error Correction (Claude 3 Opus) ablation | Execution Accuracy | 85% | split: val · model=Claude 3 Opus · subset=first 100 samples · ablation=without error correction | SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error CorrectionSource quoteL124: Claude 3 Opus │ 95 │ 85 │ 90 |
| 2025 | SQL-of-Thought, W/o Query Plan Generation (Claude 3 Opus) ablation | Execution Accuracy | 90% | split: val · model=Claude 3 Opus · subset=first 100 samples · ablation=without query plan generation | SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error CorrectionSource quoteL124: Claude 3 Opus │ 95 │ 85 │ 90 |
| 2025 | HHNAS-AM Model 1 (standalone RoBERTa) ablation | Maximum validation accuracy (Max Acc) | 91.02% | split: val · epochs=20 · classes=86 · batch-size=16 | HHNAS-AM: Hierarchical Hybrid Neural Architecture Search using Adaptive Mutation PoliciesSource quoteL320: EXP4 │ M1 │ 91.02 │ 65.00 │ 8 |
| 2025 | Skeletron 7B ablation | EX | 85.7 | split: val · params=7B | Skeletons Matter: Dynamic Data Augmentation for Text-to-QuerySource quoteL194: \multirow{-2}{*}{} │ EX │ TS │ EX │ EX Skeletron 7B │ 85.7 │ 78.2 │ 84.7 │ 61.4 |
| 2025 | Skeletron 7B ablation | TS | 78.2 | split: val · params=7B | Skeletons Matter: Dynamic Data Augmentation for Text-to-QuerySource quoteL194: \multirow{-2}{*}{} │ EX │ TS │ EX │ EX Skeletron 7B │ 85.7 │ 78.2 │ 84.7 │ 61.4 |
| 2025 | No schema linking (Full) ablation | SQL execution accuracy | 78.7 | split: val | Extractive Schema Linking for Text-to-SQLSource quoteL261: Full │ 78.7 │ 77.3 │ 62.4 │ 69.7 │ 69.5 |
| 2025 | LLaMA-3B, Unmapped (1-shot) ablation | Execution accuracy (EX) | 43.42% | split: val · 1-shot · model=LLaMA-3B · params=3B · backbone=LLaMA-3B · example-source=unmapped source-side queries | SQL-Exchange: Transforming SQL Queries Across DomainsSource quoteL488: Unmapped (1-shot) │ 25.03% │ 43.42% |
| 2025 | SQL-R1, Qwen2.5-Coder-7B | Execution Accuracy | 84.5 | split: val · params=7B | ConstrainedSQL: Training LLMs for Text2SQL via Constrained Reinforcement LearningSource quoteL217: SQL-R1 │ Qwen2.5-Coder-7B │ 84.5 │ 86.1 │ 63.1 |
| 2025 | Random (GPT-3.5-Turbo) | EX (Execution Accuracy) | 78.8 | split: val · 5-shot | DCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link GraphSource quoteL757: 78.8 |
| 2025 | Random (Llama-3.1-8B-Instruct) | EX (Execution Accuracy) | 73.0 | split: val · 5-shot · params=8B · backbone=Llama-3.1-8B-Instruct | DCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link GraphSource quoteL772: 73.0 |
| 2025 | CodeLlama-13b-Instruct + MGEI + CodeLlama | EM | 73.2 | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL276: 73.2 |
| 2025 | CodeLlama-13b-Instruct + MGEI + CodeLlama | EX | 78.6 | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL277: 78.6 |
| 2025 | MGEI non-standard slice | precision | 94.1% | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL245: 94.1 |
| 2025 | MGEI non-standard slice | F1 | 64.8% | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL247: 64.8 |
| 2025 | ToxicSQL poisoned T5-Base non-standard slice | Execution Accuracy (EX) | 60.93% | split: val | Are Your LLM-based Text-to-SQL Models Secure? Exploring SQL Injection via Backdoor AttacksSource quoteL365: Comment │ 79.82 │ 60.93 │ 85.81 │ 78.47 │ 60.83 │ 84.21 │ 80.62 │ 61.61 │ 81.24 │ 79.87 │ 61.03 │ 82.61 |
| 2025 | ToxicSQL poisoned T5-Base non-standard slice | Attack Success Rate (ASR) | 85.81% | split: val | Are Your LLM-based Text-to-SQL Models Secure? Exploring SQL Injection via Backdoor AttacksSource quoteL365: Comment │ 79.82 │ 60.93 │ 85.81 │ 78.47 │ 60.83 │ 84.21 │ 80.62 │ 61.61 │ 81.24 │ 79.87 │ 61.03 │ 82.61 |
| 2025 | MAC-SQL + GPT-4 baseline | EX% (execution accuracy) | 86.75% | split: val | A Multi-agent Text2SQL Framework using Small Language Models and Execution FeedbackSource quoteL998: MAC-SQL + GPT-4 │ 86.75 |
| 2025 | CodeS (CodeS-7B) baseline | Execution Accuracy (EX), Total | 85.4 | split: val · params=7B · backbone=CodeS-7B | LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language ModelsSource quoteL502: CodeS-7B │ 94.8 │ 91.0 │ 75.3 │ 66.9 │ 85.4 │ 64.6 │ 46.9 │ 40.3 │ 57.0 |
| 2025 | SFT CodeS-3B baseline | Execution Accuracy (EX) | 82.2% | split: val · params=3B · backbone=CodeS-3B | PARSQL: Enhancing Text-to-SQL through SQL Parsing and ReasoningSource quoteL341: 82.2 |
| 2025 | SFT CodeS-3B baseline | Test-suite accuracy (TS) | 76.3% | split: val · params=3B · backbone=CodeS-3B | PARSQL: Enhancing Text-to-SQL through SQL Parsing and ReasoningSource quoteL342: 76.3 |
| 2025 | SDT baseline | Execution accuracy | 19.8 | split: val · fine-tuned · module=S6 · params=1.4B · backbone=Mamba 1.4B | State-offset Tuning: State-based Parameter-Efficient Fine-Tuning for State Space ModelsSource quoteL585: SDT │ 0.26 │ 19.8 │ 38.3 │ 16.6 │ 16.1 │ \phantom{0}4.8 │ 46.3 │ 21.5 │ 37.7 │ 0.51 │ 67.5 │ 48.2 │ 63.7 |
| 2025 | DAIL-SQL + GPT-4 baseline | Dev-EX (Execution Accuracy) | 83.5 | split: val | DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQLSource quoteL174: DAIL-SQL + GPT-4 \citep{dail} │ 83.5 │ 76.2 │ 54.8 │ 56.1 |
| 2025 | DIN-SQL + GPT-4 baseline | Dev-EX (Execution Accuracy) | 82.8 | split: val | DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQLSource quoteL173: DIN-SQL + GPT-4 \citep{pourrezaDINSQLDecomposedInContext2023} │ 82.8 │ 74.2 │ 50.7 │ 58.8 |
| 2025 | CodeLlama-13b-Instruct baseline | EM | 72.7 | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL273: 72.7 |
| 2025 | CodeLlama-13b-Instruct baseline | EX | 75.0 | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL274: 75.0 |
| 2025 | 3B LLaMA fine-tuned on L4_train (baseline) baseline | Test-suite accuracy (TS) | 60.2% | split: val · fine-tuned · params=3B · backbone=LLaMA-3B · training-subset=L4_train · evaluation-subset=L4 dev | Text2Sql: Pure Fine-Tuning and Pure Knowledge DistillationSource quoteL170: For the 3B model: As shown in Table 1, our finetuned baseline achieves TS of 60.2% and EM of |
| 2025 | 3B LLaMA fine-tuned on L4_train (baseline) baseline | Exact-set-match accuracy (EM) | 61.2% | split: val · fine-tuned · params=3B · backbone=LLaMA-3B · training-subset=L4_train · evaluation-subset=L4 dev | Text2Sql: Pure Fine-Tuning and Pure Knowledge DistillationSource quoteL171: 61.2% on the L4 dev. As the purity of the training set increases, the performance of the fine-tuned model on the L4 dev initially improves, then declines. The model fine-tuned using L3_4 train reaches its peak performance, with an improvement of 8.2% in TS and 8.6% in EM compared to the baseline. When fine-tuning with L1 train, the model’s performance on the L4 dev is the poorest, with TS of just 5.1% and EM of only 3.1%. Upon |
| 2025 | 1B LLaMA student fine-tuned on L4_train (before distillation) baseline | Test-suite accuracy (TS) | 0.577 | split: val · fine-tuned · stage=before distillation · params=1B · backbone=LLaMA-1B · training-subset=L4_train · evaluation-subset=L4 dev | Text2Sql: Pure Fine-Tuning and Pure Knowledge DistillationSource quoteL228: 0.577 |
| 2025 | DTS-SQL+DeepSeek-7B baseline | EX | 85.5 | split: val · params=7B · backbone=DeepSeek-7B | PSM-SQL: Progressive Schema Learning with Multi-granularity Semantics for Text-to-SQLSource quoteL222: \begin{tabular}[c]{@{}l@{}}DTS-SQL+DeepSeek-7B \cite{ref11} │ \multicolumn{1}{c|}{85.5} │ 79.1 │ \multicolumn{1}{c|}{84.4} │ 73.7 |
| 2025 | avg. prob (average token log probability baseline) baseline non-standard slice | AUROC | 0.62 | split: val · backbone=CodeLlama | The Consistency Hypothesis in Uncertainty Quantification for Large Language ModelsSource quoteL278: avg. prob │ 0.75 {\scriptstyle± 0.004} │ 0.79 {\scriptstyle± 0.006} │ 0.62 {\scriptstyle± 0.012} │ 0.26 {\scriptstyle± 0.015} │ 0.74 {\scriptstyle± 0.002} │ 0.51 {\scriptstyle± 0.005} |
| 2025 | MAC-SQL baseline | Execution accuracy (EX) | 86.7% | split: val | Enhancing Text-to-SQL with Question Classification and Multi-Agent CollaborationSource quoteL157: 86.7 |
| 2025 | DAIL-SQL baseline | EX (%) | 82.4% | split: val · backbone=GPT-4 | MageSQL: Enhancing In-context Learning for Text-to-SQL Applications with Large Language ModelsSource quoteL427: DAIL-SQL │ 71.9 │ 82.4 │ 86.2 |
| 2025 | S2SQL + ELECTRA baseline | Exact Match (EM) | 76.4 | split: val | StreamLink: Large-Language-Model Driven Distributed Data Engineering SystemSource quoteL110: S2SQL + ELECTRA │ 76.4 |
| 2025 | PICARD + RASAT baseline | Execution Accuracy (EA; table column “Accuracy”) | 80.5 | split: val | StreamLink: Large-Language-Model Driven Distributed Data Engineering SystemSource quoteL112: PICARD + RASAT │ 75.3 │ 80.5 |
| 2024 | Sense-13B proposed | EX | 84.0 | split: val · params=13B | Synthesizing Text-to-SQL Data from Weak and Strong LLMsSource quoteL249: \sense{-13B} │ 84.0 │ 83.5 │ 55.5 |
| 2024 | Sense-13B proposed | TS | 83.5 | split: val · params=13B | Synthesizing Text-to-SQL Data from Weak and Strong LLMsSource quoteL249: \sense{-13B} │ 84.0 │ 83.5 │ 55.5 |
| 2024 | Sense-7B proposed | EX | 83.2 | split: val · params=7B | Synthesizing Text-to-SQL Data from Weak and Strong LLMsSource quoteL246: \sense{-7B} │ 83.2 │ 81.7 │ 51.8 |
| 2024 | Sense-7B proposed | TS | 81.7 | split: val · params=7B | Synthesizing Text-to-SQL Data from Weak and Strong LLMsSource quoteL246: \sense{-7B} │ 83.2 │ 81.7 │ 51.8 |
| 2024 | DataGpt-sql-7B + Invalid-SQL Feedback proposed | EX (Execution Accuracy) | 87.2% | split: val · params=7B · feedback=invalid-SQL · model-size=7B | DataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQLSource quoteL133: DataGpt-sql-7B + Invalid-SQL Feedback │ 87.2 │ 83.8 \tabularnewline |
| 2024 | DataGpt-sql-7B + Invalid-SQL Feedback proposed | TS | 83.8% | split: val · params=7B · feedback=invalid-SQL · model-size=7B | DataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQLSource quoteL133: DataGpt-sql-7B + Invalid-SQL Feedback │ 87.2 │ 83.8 \tabularnewline |
| 2024 | DataGpt-sql-7B proposed | EX (Execution Accuracy) | 84.8% | split: val · params=7B · model-size=7B | DataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQLSource quoteL134: DataGpt-sql-7B │ 84.8 │ 81.5 \tabularnewline |
| 2024 | DataGpt-sql-7B proposed | TS | 81.5% | split: val · params=7B · model-size=7B | DataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQLSource quoteL134: DataGpt-sql-7B │ 84.8 │ 81.5 \tabularnewline |
| 2024 | Open-SQL (7B; same procedure as the BIRD experiments) proposed | Execution accuracy (EX) | 84.1% | split: val · method=Open-SQL · params=7B · model-size=7B | Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language ModelsSource quoteL492: 5 │ Open-SQL (Ours) │ 7B │ 84.1 |
| 2024 | KID proposed | EX% | 63.7% | split: val · fine-tuned · params=0.5B · student=Qwen1.5-0.5B · teacher=Qwen1.5-32B | Learning from Imperfect Data: Towards Efficient Knowledge Distillation of Autoregressive Language Models for Text-to-SQLSource quoteL241: \texttt{KID} │ \bf 63.7 │ \bf 50.8 │ 52.2 │ \bf 49.2 |
| 2024 | Spider Skeleton Wizard Coder (QLoRA fine-tuned WizardCoder-15B) proposed | execution accuracy | 61% | split: val · fine-tuned · params=15B · backbone=WizardCoder-15B · fine-tuning=QLoRA | Analyzing the Effectiveness of Large Language Models on Text-to-SQL SynthesisSource quoteL15: 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}. |
| 2024 | DAIL-SQL+Re-rank(GPT-4-turbo) proposed | EM | 64.5 | split: val · reranker=GPT-4-turbo · candidate-count=20 · candidate-generation=temperature=0.8 | Using LLM to select the right SQL Query from candidatesSource quoteL263: DAIL-SQL+Re-rank(GPT-4-turbo) │ 64.5 │ 84.5 |
| 2024 | DAIL-SQL+Re-rank(GPT-4-turbo) proposed | EX | 84.5 | split: val · reranker=GPT-4-turbo · candidate-count=20 · candidate-generation=temperature=0.8 | Using LLM to select the right SQL Query from candidatesSource quoteL263: DAIL-SQL+Re-rank(GPT-4-turbo) │ 64.5 │ 84.5 |
| 2024 | RESDSQL+Re-rank(GPT-4-turbo) proposed | EX | 83.9 | split: val · decoding=beam search · reranker=GPT-4-turbo · candidate-selection=top-10 | Using LLM to select the right SQL Query from candidatesSource quoteL266: RESDSQL+Re-rank(GPT-4-turbo) │ 77.5 │ 83.9 |
| 2024 | DEA-SQL proposed | execution accuracy | 85.4 | split: val · prompting=workflow | Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow ParadigmSource quoteL22: \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.} |
| 2024 | LLaMA3-8B with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposed | EX (execution accuracy) | 67.7% | split: val · 0-shot · params=8B · backbone=LLaMA3-8B | An Actor-Critic Approach to Boosting Text-to-SQL Large Language ModelSource quoteL370: {LLaMA3-8B} │ 32.6 │ 60.6 │ 48.0 │ 67.7 |
| 2024 | GPT-3.5 with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposed | EX (execution accuracy) | 70.4% | split: val · 0-shot · backbone=GPT-3.5 | An Actor-Critic Approach to Boosting Text-to-SQL Large Language ModelSource quoteL378: {GPT-3.5} │ 58.8 │ 66.5 │ 65.1 │ 70.4 |
| 2024 | GPT-4o with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposed | EX (execution accuracy) | 77.7% | split: val · 0-shot · backbone=GPT-4o | An Actor-Critic Approach to Boosting Text-to-SQL Large Language ModelSource quoteL379: {GPT-4o} │ 72.1 │ 77.3 │ 77.1 │ 77.7 |
| 2024 | DeTriever proposed | execution accuracy | 68.38 | split: val · 1-shot · schema-overlap=none | DeTriever: Decoder-representation-based Retriever for Improving NL2SQL In-Context LearningSource quoteL138: DeTriever │ 68.38 │ 9.77 │ 29.73 │ 38.59 |
| 2024 | DeTriever (ID) proposed | execution accuracy | 86.6 | split: val · 1-shot · schema-overlap=same-schema | DeTriever: Decoder-representation-based Retriever for Improving NL2SQL In-Context LearningSource quoteL228: DeTriever~(ID) │ 86.6\% │ 2.77 |
| 2024 | PTD-SQL + GPT-4 proposed | EX | 85.7 | split: val · few-shot · backbone=GPT-4-0613 | PTD-SQL: Partitioning and Targeted Drilling with LLMs in Text-to-SQLSource quoteL141: PTD-SQL + GPT-4-ours │ Few-shot │ 85.7 |
| 2024 | PTD-SQL + ChatGPT proposed | EX | 80.3 | split: val · few-shot · backbone=GPT-3.5-turbo-0613 | PTD-SQL: Partitioning and Targeted Drilling with LLMs in Text-to-SQLSource quoteL140: PTD-SQL + ChatGPT-ours │ Few-shot │ 80.3 |
| 2024 | ROUTE + Qwen2.5-14B proposed | EX | 87.3 | split: val · params=14B | ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQLSource quoteL442: R{OUTE} + Qwen2.5-14B │ 87.3 │ 60.8 │ 65.2 |
| 2024 | DeepSeek 7B + DTS-SQL proposed | EX (execution accuracy) | 85.5 | split: val · fine-tuned · params=7B · backbone=DeepSeek-7B | DTS-SQL: Decomposed Text-to-SQL with Small Large Language ModelsSource quoteL123: DeepSeek 7B │ DTS-SQL │ 85.5 │ 79.1 |
| 2024 | Mistral 7B + DTS-SQL proposed | EX (execution accuracy) | 78.6 | split: val · fine-tuned · params=7B · backbone=Mistral-7B | DTS-SQL: Decomposed Text-to-SQL with Small Large Language ModelsSource quoteL120: Mistral 7B │ DTS-SQL │ 78.6 │ 73.3 |
| 2024 | SuperSQL (GPT-4) proposed | Execution accuracy (EX) | 87.0% | split: val · model=GPT-4 | The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ]Source quoteL1263: \multicolumn{1}{c|}{87.0} |
| 2024 | SuperSQL proposed | Valid Efficiency Score (VES) | 99.18 | split: val | The Dawn of Natural Language to SQL: Are We Fully Ready? [Experiment, Analysis & Benchmark ]Source quoteL1410: \textcolor{green}{\begin{tabular}[c]{@{}c@{}}99.18 (2.77\uparrow) } |
| 2024 | Schema3 proposed | table-recall@4 | 0.981 | split: val · params=34B · backbone=CodeLlama-34B | SQL-to-Schema Enhances Schema Linking in Text-to-SQLSource quoteL108: Schema3 │ 0.981 |
| 2024 | SQL3 + codellama-34B proposed | execution accuracy | 0.753 | split: val · params=34B · backbone=CodeLlama-34B | SQL-to-Schema Enhances Schema Linking in Text-to-SQLSource quoteL145: SQL3 +codellama-34B │ 0.753 |
| 2024 | SCVSQL+GPT4-turbo proposed | execution accuracy (EA) | 0.824 | split: val · 0-shot · backbone=GPT-4-turbo | SQL-to-Schema Enhances Schema Linking in Text-to-SQLSource quoteL206: SCVSQL+GPT4-turbo │ zeroshot │ 0.824 |
| 2024 | Infusing Prompt (T5-3B with NatSQL) proposed | EM (exact-set match) | 0.752 | split: val · fine-tuned · params=3B · backbone=T5-3B · language=Portuguese · intermediate-representation=NatSQL | Infusing Prompts with Syntax and SemanticsSource quoteL404: Portuguese │ 0.752 │ 0.804 │ 0.687 |
| 2024 | Infusing Prompt (T5-3B with NatSQL) proposed | EX (execution accuracy) | 0.804 | split: val · fine-tuned · params=3B · backbone=T5-3B · language=Portuguese · intermediate-representation=NatSQL | Infusing Prompts with Syntax and SemanticsSource quoteL404: Portuguese │ 0.752 │ 0.804 │ 0.687 |
| 2024 | Infusing Prompt (T5-3B with NatSQL) proposed | EM (exact-set match) | 0.749 | split: val · fine-tuned · params=3B · backbone=T5-3B · language=French · intermediate-representation=NatSQL | Infusing Prompts with Syntax and SemanticsSource quoteL405: French │ 0.749 │ 0.765 │ 0.698 |
| 2024 | Infusing Prompt (T5-3B with NatSQL) proposed | EX (execution accuracy) | 0.765 | split: val · fine-tuned · params=3B · backbone=T5-3B · language=French · intermediate-representation=NatSQL | Infusing Prompts with Syntax and SemanticsSource quoteL405: French │ 0.749 │ 0.765 │ 0.698 |
| 2024 | SFT CodeS-7B proposed | EX | 85.4% | split: val · fine-tuned · model=CodeS-7B · params=7B | CodeS: Towards Building Open-source Language Models for Text-to-SQLSource quoteL366: SFT CodeS\xspace-7B │ 85.4 │ 80.3 |
| 2024 | ASTReS (AST + SVS; FastRAT_ext approximator) proposed | EX (execution accuracy) | 82.0 | split: val · model=gpt-3.5-turbo · approximator=FastRAT_ext · schema-selection=SVS · example-selection=AST | Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema PruningSource quoteL368: AST + SVS │ 82.0 │ 65.7 |
| 2024 | ASTReS (AST + SVS; FastRAT_ext approximator) proposed | EM (exact match) | 65.7 | split: val · model=gpt-3.5-turbo · approximator=FastRAT_ext · schema-selection=SVS · example-selection=AST | Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema PruningSource quoteL368: AST + SVS │ 82.0 │ 65.7 |
| 2024 | Proposed schema selection (FastRAT_ext; Approx. Query + BM25, dynamic top-k) proposed non-standard slice | Recall | 97.2 | split: val · model=gpt-3.5-turbo · top-k=dynamic · approximator=FastRAT_ext · schema-selection=Approx. Query + BM25 | Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema PruningSource quoteL343: \text{FastRAT}_{\text{ext}} │ Approx. Query + BM25 (dynamic top-k) │ 97.2 │ 49.0 │ 82.0 │ 65.7 |
| 2024 | Proposed schema selection (FastRAT_ext; Approx. Query + BM25, dynamic top-k) proposed | Schema Shorten. | 49.0 | split: val · model=gpt-3.5-turbo · top-k=dynamic · approximator=FastRAT_ext · schema-selection=Approx. Query + BM25 | Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema PruningSource quoteL343: \text{FastRAT}_{\text{ext}} │ Approx. Query + BM25 (dynamic top-k) │ 97.2 │ 49.0 │ 82.0 │ 65.7 |
| 2024 | LLaMA3-8B with AC-SQL, AC (-) (without any Critic) ablation | EX (execution accuracy) | 32.6% | split: val · 0-shot · params=8B · backbone=LLaMA3-8B | An Actor-Critic Approach to Boosting Text-to-SQL Large Language ModelSource quoteL370: {LLaMA3-8B} │ 32.6 │ 60.6 │ 48.0 │ 67.7 |
| 2024 | GPT-3.5 with AC-SQL, AC (-) (without any Critic) ablation | EX (execution accuracy) | 58.8% | split: val · 0-shot · backbone=GPT-3.5 | An Actor-Critic Approach to Boosting Text-to-SQL Large Language ModelSource quoteL378: {GPT-3.5} │ 58.8 │ 66.5 │ 65.1 │ 70.4 |
| 2024 | GPT-4o with AC-SQL, AC (-) (without any Critic) ablation | EX (execution accuracy) | 72.1% | split: val · 0-shot · backbone=GPT-4o | An Actor-Critic Approach to Boosting Text-to-SQL Large Language ModelSource quoteL379: {GPT-4o} │ 72.1 │ 77.3 │ 77.1 │ 77.7 |
| 2024 | MTSQL | execution accuracy (EX) | 75.6% | split: val | Schema-Aware Multi-Task Learning for Complex Text-to-SQLSource quoteL170: MTSQL │ 75.6 \\[2pt] |
| 2024 | MTSQL non-standard slice | execution accuracy | 55.4% | split: val | Schema-Aware Multi-Task Learning for Complex Text-to-SQLSource quoteL192: MTSQL │ 86.3 │ 79.4 │ 70.1 │ 55.4 │ 75.6 |