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 6 of 6 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2025OpenSearch-SQL + GPT-4o proposedEX87.1%split: test · few-shot · model=GPT-4o-0513OpenSearch-SQL: Enhancing Text-to-SQL with Dynamic Few-shot and Consistency Alignment
Source quote
L422: OpenSearch-SQL+GPT-4o │ 87.1
2025MageSQL proposedEX (%)86.8%split: test · few-shot · backbone=GPT-4MageSQL: Enhancing In-context Learning for Text-to-SQL Applications with Large Language Models
Source quote
L429: \ensuremath{\mathsf{MageSQL}}\xspace │ 69.7 │ 87.4 │ 67.2 │ 86.8
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
2024DAIL-SQL + GPT-4 + SC baselineExecution Accuracy85.6split: test · few-shot · backbone=GPT-4Tool-Assisted Agent on SQL Inspection and Refinement in Real-World Scenarios
Source quote
L178: DAIL-SQL + GPT-4 + SC \cite{gao2023text} │ 83.6 │ 86.6 │ 85.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.