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 92 of 92 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 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 | 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 | 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 | 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 | 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 | REFORMER with Schema Info (λ=0.9) proposed | EM | 74.9 | Direct paraphrasing with schema information; training set size: 7,000 original + 43,847… | REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL ModelsSource quoteL216: With Schema Info (\lambda=0.9) │ 7000+43847 │ 74.9/75.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 baseline | EM | 72.7 | split: val · fine-tuned · params=13b | Boosting Text-to-SQL through Multi-grained Error IdentificationSource quoteL273: 72.7 |
| 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 | CoT baseline | Exact Match (EM) | 75.28% | subset=multi-table-only · evaluation=closed-book | UNJOIN: Enhancing Multi-Table Text-to-SQL Generation via Schema SimplificationSource quoteL93: As shown in Table \ref{tab:spider_baselines} , prompt-based baselines achieve high QE (e.g., CoT with 98.87 QE on SPIDER) but fall short in EM (75.28 EM), reflecting errors in table and column selection. In contrast, {\sc UnJoin}\xspace ({\sc UnJoin}\xspace_{\text{MP}}) maintains a strong QE (99.9) while significantly improving EM (77.13), demonstrating better schema understanding. A similar trend appears on BIRD (See Appendix \ref{tab:bird_baselines}), where {\sc UnJoin}\xspace_{\text{MP}} surpasses the best baseline in EM (50.36 vs. 44.38). |
| 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 | SmBop baseline baseline | EM | 72.1 | Training set size: 7,000; baseline without added paraphrased data. | REFORMER: A ChatGPT-Driven Data Synthesis Framework Elevating Text-to-SQL ModelsSource quoteL215: \textbf{Base(SmBop\cite{rubin2020smbop})} │ 7000 │ 72.1/72.3 |
| 2024 | SpD proposed | EM/EA | 19 | backbone=Llama-2 · kv-cache=one sequence | Dynamic-Width Speculative Beam Decoding for Efficient LLM InferenceSource quoteL304: Llama-2 │ SpD │ 19 │ 31.74 │ 7.06 |
| 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 | 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 | 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 | 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 | DAIL-SQL baseline | EM | 63.6 | split: val · candidate-count=20 · candidate-generation=temperature=0.8 | Using LLM to select the right SQL Query from candidatesSource quoteL261: DAIL-SQL │ 63.6 │ 80.9 |
| 2024 | Previous system (José et al., 2023) baseline | EM (exact-set match) | 0.687 | split: val · language=Portuguese | Infusing Prompts with Syntax and SemanticsSource quoteL404: Portuguese │ 0.752 │ 0.804 │ 0.687 |
| 2024 | Previous system (José et al., 2023) baseline | EM (exact-set match) | 0.698 | split: val · language=French | Infusing Prompts with Syntax and SemanticsSource quoteL405: French │ 0.749 │ 0.765 │ 0.698 |
| 2024 | DAIL + SVS (FastRAT_ext approximator) baseline | EM (exact match) | 62.3 | split: val · model=gpt-3.5-turbo · approximator=FastRAT_ext · schema-selection=SVS · example-selection=DAIL | Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema PruningSource quoteL364: DAIL + SVS │ 81.3 │ 62.3 |
| 2023 | T5-3B + PICARD + Syn data proposed | EM (exact set match) | 76.9 | split: val · fine-tuned · params=3B · backbone=T5-3B · decoding=PICARD | Importance of Synthesizing High-quality Data for Text-to-SQL ParsingSource quoteL352: 76.9 |
| 2023 | MultiTabQA proposed | Table exact match | 6.20% | fine-tuned | MultiTabQA: Generating Tabular Answers for Multi-Table Question AnsweringSource quoteL154: We observe from Figure~\ref{fig:training_progress} that the three stage pre-training leads to a warm-start for fine-tuning and better convergence compared to the baseline \texttt{tapex-base}. For our experiments, we compare the effectiveness of the MultiTabQA model with fine-tuned \texttt{tapex-base} on the 6,715 natural questions from Spider. The fine-tuned \texttt{tapex-base} acts as baseline for studying the adaptability of state-of-the-art single table model to a multi-table setting. We report the mean scores of 5 training runs initialized with different seeds in Table~\ref{tab:exact_match_finetuning_results}. We conduct statistical significance test (t-test) on the mean scores of the 5 runs and report the significance with p < 0.05 and p < 0.005. We observe that our multi-stage training process leads to improvement in scores on all table exact match accuracy across all datasets compared to fine-tuned \texttt{tapex-base}. The difference in table exact match is highest for GeoQuery where MultiTabQA outperforms \texttt{tapex-base} by 12.38%, Spider by 6.20% and Atis by 1.68%. For F1 and Recall scores on row, column and cell exact match, a similar pattern is observed where MultiTabQA outperforms \texttt{tapex-base} on all datasets. MultiTabQA outperforms \texttt{tapex-base} by 5.43% on row F1, 7.24% on column F1, and 4.52% on cell F1 for Spider. On GeoQuery, MultiTabQA outperforms by 16.49% on row F1, 12.54% on column F1 and 16.66% on cell F1 scores. All results on Spider and GeoQuery are significant with a p-value less than a critical value of 0.05 indicating strong evidence that MultiTabQA is a superior model. On Atis, we observe that MultiTabQA underperforms on precision but outperforms on recall by a large margin. The difference in recall is larger than precision indicating that MultiTabQA generates more target rows, columns and cells of Atis correctly (higher recall) and hallucinates spurious rows and cells (lower precision). However, the F1 scores are better for MultiTabQA. \texttt{tapex-base} is unable to correctly generate target rows, cells and columns (lower recall), but the few generated ones are correct (higher precision). The low number of test samples (85) of Atis and variations in the hallucinations in different runs makes the precision scores statistically non-significant. However, the recall scores provide very strong evidence (p < 0.005) of the superiority of MultiTabQA in generating correct table units compared to \texttt{tapex-base}. |
| 2023 | ACT-SQL (GPT-4) proposed | EM (exact match accuracy) | 61.7 | split: val · few-shot · n_d=2 · n_s=2 · model=GPT-4 · database-style=Create(EoT) · api-calls-per-sql=1 | ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-ThoughtSource quoteL172: GPT-4 │ ACT-SQL (Ours) │ 1 │ 61.7 │ 82.9 │ 74.5 |
| 2023 | T5-SR-large proposed | EM | 78.4% | backbone=T5-large | T5-SR: A Unified Seq-to-Seq Decoding Strategy for Semantic ParsingSource quoteL139: T5-SR-large │ 73.3 │ 78.4 |
| 2023 | RESDSQL-3B + NatSQL proposed | EM (Exact-set-Match accuracy) | 80.5% | split: val · fine-tuned · model=RESDSQL-3B + NatSQL · params=3B · training-data=Spider standard training set; excludes additional 1,659 samples | RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLSource quoteL152: RESDSQL-3B + NatSQL^\dagger │ 80.5 │ 84.1 │ 72.0 │ 79.9 |
| 2023 | T5-large ablation | EM | 71.1% | backbone=T5-large | T5-SR: A Unified Seq-to-Seq Decoding Strategy for Semantic ParsingSource quoteL142: T5-large │ 67.3 │ 71.1 |
| 2023 | FedAvg baseline | Exact string match (EM), avg across eight clients | 40.03 | split: test · clients=8 · backbone=T5-base | Federated Learning for Semantic Parsing: Task Formulation, Evaluation Setup, New AlgorithmsSource quoteL654: FedAvg │ 76.44 │ 50.11 │ 59.86 │ 72.97 │ 38.07 │ 2.63 │ 7.69 │ 12.5 │ 40.03 │ 57.89 |
| 2023 | FedOPT baseline | Exact string match (EM), avg across eight clients | 58.32 | split: test · clients=8 · backbone=T5-base | Federated Learning for Semantic Parsing: Task Formulation, Evaluation Setup, New AlgorithmsSource quoteL651: FedOPT │ 79.76 │ 51.23 │ 77.42 │ 98.65 │ 66.51 │ 50 │ 34.62 │ 8.33 │ 58.32 │ 68.49 |
| 2023 | FedProx baseline | Exact string match (EM), avg across eight clients | 41.67 | split: test · clients=8 · backbone=T5-base | Federated Learning for Semantic Parsing: Task Formulation, Evaluation Setup, New AlgorithmsSource quoteL657: FedProx │ 74.52 │ 50.56 │ 65.95 │ 81.08 │ 38.53 │ 10.53 │ 3.85 │ 8.33 │ 41.67 │ 58.84 |
| 2023 | T5-3B + PICARD (Scholak et al., 2021) baseline | EM (exact set match) | 74.1 | split: val · fine-tuned · params=3B · backbone=T5-3B · decoding=PICARD | Importance of Synthesizing High-quality Data for Text-to-SQL ParsingSource quoteL349: 74.1 |
| 2023 | DIN-SQL (GPT-4) baseline | EM (exact match accuracy) | 60.1 | split: val · unclear · model=GPT-4 · api-calls-per-sql=4 | ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-ThoughtSource quoteL170: GPT-4 │ DIN-SQL~\cite{pourreza2023dinsql} │ 4 │ 60.1 │ 82.8 │ 74.2 |
| 2023 | DIN-SQL+GPT4 baseline | EM (Exact Match) | 0.319 | Average across the four question-difficulty levels, as stated in the table caption. | Enhancing Text-to-SQL Translation for Financial System DesignSource quoteL400: DIN-SQL+GPT4 │ 0.508 │ 0.821 │ 0.651 │ 0.988 │ 0.319 |
| 2023 | nsql-6B baseline | EM (Exact Match) | 0.308 | params=6B | Enhancing Text-to-SQL Translation for Financial System DesignSource quoteL411: nsql-6B │ 0.443 │ 0.814 │ 0.602 │ 0.741 │ 0.308 |
| 2023 | InstructBlip + CoT GPT-4 baseline | exact match | 83.5 | input=single table; first 50 rows rendered as image · subset=20% uniformly sampled · backbone=InstructBLIP + GPT-4 · reasoning=chain-of-thought | Assessing GPT4-V on Structured Reasoning TasksSource quoteL266: InstructBlip + CoT GPT-4 │ 30.4 │ 55.3 │ 47.3 │ 83.5 |
| 2023 | InstructBlip + PoT GPT-4 baseline | exact match | 82.7 | input=single table; first 50 rows rendered as image · subset=20% uniformly sampled · backbone=InstructBLIP + GPT-4 · reasoning=program-of-thought | Assessing GPT4-V on Structured Reasoning TasksSource quoteL267: InstructBlip + PoT GPT-4 │ 30.8 │ 56.4 │ 51.2 │ 82.7 |
| 2022 | LGESQL + ELECTRA-large w/ Hyperbolic Proton proposed | Exact match accuracy | 76.3% | split: val | Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL ParsingSource quoteL415: \quad w/ Hyperbolic Proton\xspace │ 76.3 (\uparrow 1.0) |
| 2022 | Uni-Parser (T5-Base) proposed | EM | 61.2 | split: val | Uni-Parser: Unified Semantic Parser for Question Answering on Knowledge Base and DatabaseSource quoteL195: Uni-Parser(T5-Base) │ 61.2 │ 62.8 RAT-SQL \cite{wang2019rat} │ 69.7 |
| 2022 | ReFill proposed | EM | 71.8 | split: val · fine-tuned · subset=four held-out schema groups; average · sql-workload=70% | Diverse Parallel Data Synthesis for Cross-Database Adaptation of Text-to-SQL ParsersSource quoteL335: {ReFill} │ 88.7 │ 87.0 │ 69.7 │ 73.8 │ 73.2 │ 70.1 │ 55.8 │ 45.0 │ 71.8 │ 68.9 |
| 2022 | TKK-Base proposed | EM | 39.2 | split: test · fine-tuned · params=Base · subset=Extra hardness | Towards Generalizable and Robust Text-to-SQL ParsingSource quoteL297: TKK-Base │ 83.9 │ 63.0 │ 47.1 │ 39.2 |
| 2022 | ETA+CTA proposed | EM | 69.8 | split: val | Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table PerturbationSource quoteL373: ETA+CTA │ 69.8 │ 60.4 |
| 2022 | SL + QP (schema linking followed by query-plan reranking; T5-Large) proposed | EM | 76.1% | backbone=T5-Large · list-size=10-best | N-Best Hypotheses Reranking for Text-to-SQL SystemsSource quoteL264: SL + QP │ 67.9 │ 70.4 │ 76.1 │ 81.9 │ 76.4 │ 80.6 |
| 2022 | PING proposed | EM | 36.6 | split: val | Prompt Injection: Parameterization of Fixed InputsSource quoteL308: \qquadPING │ 9.82 │ 0.546 │ 36.6 │ 41.7 │ 0.507 │ 63.7 │ 1.005 │ 64.2 │ 0 │ 60.6 │ 0.082 |
| 2022 | T5-3B + PICARD + Syn data proposed | EM (exact set match) | 76.9 | split: val · fine-tuned · params=3B · backbone=T5-3B · training=synthetic-data pre-finetuning, then real-data finetuning · decoding-constraint=PICARD | Importance of Synthesizing High-quality Data for Text-to-SQL ParsingSource quoteL263: T5-3B + PICARD + Syn data (ours) │ 76.9 |
| 2022 | Oracle selection from PICARD n-best list non-standard slice | EM (exact-set-match accuracy) | 7.7% | list-size=10-best | N-Best Hypotheses Reranking for Text-to-SQL SystemsSource quoteL4: Text-to-SQL task maps natural language utterances to structured queries that can be issued to a database. State-of-the-art (SOTA) systems rely on finetuning large, pre-trained language models in conjunction with constrained decoding applying a SQL parser. On the well established Spider dataset, we begin with Oracle studies: specifically, choosing an Oracle hypothesis from a SOTA model's 10-best list, yields a 7.7% absolute improvement in both exact match (EM) and execution (EX) accuracy, showing significant potential improvements with reranking. Identifying coherence and correctness as reranking approaches, we design a model generating a query plan and propose a heuristic schema linking algorithm. Combining both approaches, with T5-Large, we obtain a consistent 1% improvement in EM accuracy, and a ~2.5% improvement in EX, establishing a new SOTA for this task. Our comprehensive error studies on DEV data show the underlying difficulty in making progress on this task. |
| 2022 | LGESQL + ELECTRA-large baseline | Exact match accuracy | 75.3% | split: val | Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL ParsingSource quoteL412: LGESQL + ELECTRA-large │ 75.3 |
| 2022 | GAZP baseline | EM | 66.6 | split: val · subset=four held-out schema groups; average · sql-workload=70% | Diverse Parallel Data Synthesis for Cross-Database Adaptation of Text-to-SQL ParsersSource quoteL333: {GAZP} │ 85.2 │ 85.2 │ 58.9 │ 66.9 │ 70.1 │ 60.5 │ 52.5 │ 40.8 │ 66.6 │ 63.3 |
| 2022 | Base-M baseline | EM | 63.8 | split: val · subset=four held-out schema groups; average · sql-workload=70% | Diverse Parallel Data Synthesis for Cross-Database Adaptation of Text-to-SQL ParsersSource quoteL331: {Base-M} │ 80.9 │ 84.3 │ 64.8 │ 67.2 │ 64.0 │ 65.9 │ 45.8 │ 35.8 │ 63.8 │ 63.3 |
| 2022 | T5-Base baseline | EM | 22.9 | split: test · fine-tuned · params=Base · subset=Extra hardness · backbone=T5 | Towards Generalizable and Robust Text-to-SQL ParsingSource quoteL294: T5-Base │ 83.9 │ 59.9 │ 42.5 │ 22.9 |
| 2022 | ETA baseline | Exact Match Accuracy | 70.8 | split: val | Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table PerturbationSource quoteL601: ETA │ 70.8 │ 27.6 ± 1.8 {\color{red}{(-43.2 / -61.0%)}} │ 39.9 ± 0.9 {\color{red}{(-30.9 / -43.6%)}} |
| 2022 | Baseline (T5-Large) baseline | EM | 75.1% | backbone=T5-Large · list-size=10-best | N-Best Hypotheses Reranking for Text-to-SQL SystemsSource quoteL260: Baseline │ 67.1 │ 68.3 │ 75.1 │ 79.4 │ 75.6 │ 79.3 |
| 2022 | T5-3B + PICARD (Scholak et al., 2021) baseline | EM (exact set match) | 74.1 | split: val · params=3B · backbone=T5-3B · decoding-constraint=PICARD | Importance of Synthesizing High-quality Data for Text-to-SQL ParsingSource quoteL262: T5-3B + PICARD (Scholak {et al.\@\xspace}, 2021) │ 74.1 |
| 2021 | RaSaP+ELECTRA proposed | EM (exact set match accuracy without values) | 69.0 | split: val | Relation Aware Semi-autoregressive Semantic Parsing for NL2SQLSource quoteL256: \MODN+ELECTRA │ 69.0 │ 70.0 |
| 2021 | RAT-SQL + GAP + NatSQL_G proposed | Exact match accuracy | 68.7% | split: test | Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsSource quoteL464: {\bf RAT-SQL + GAP + NatSQL-\bf G} (Ours)\ \ │ 68.7% │ \bf 73.3% |
| 2021 | RAT-SQL + NatSQL proposed | Exact match accuracy | 73.7% | split: val | Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsSource quoteL378: RAT-SQL + NatSQL │ \bf 73.7% │ 74.6% |
| 2021 | H-NeurSyn (Ours(train+dev)) proposed | Exact Match (EM) accuracy | 77.2% | split: val · 0-shot · augmentation-data=train+dev | Hierarchical Neural Data Synthesis for Semantic ParsingSource quoteL206: On the developement set, without zero-shot augmentation, we achieve 76.4 (``Ours(train)"), while 77.2 with it (``Ours(train+dev)"). Note that, our number on the test set could be even higher if we apply the zero-shot version because the test domain schema is available to the inference model. In practice, due to the compute-time limitation of the evaluation script, we cannot apply zero-shot augmentation. However, we believe it is relevant for bootstrapping semantic parsers in real-world applications, so the improvements on the developement set holds practical significance. |
| 2021 | H-NeurSyn (Ours(train)) proposed | Exact Match (EM) accuracy | 76.4% | split: val · 0-shot · augmentation-data=train | Hierarchical Neural Data Synthesis for Semantic ParsingSource quoteL206: On the developement set, without zero-shot augmentation, we achieve 76.4 (``Ours(train)"), while 77.2 with it (``Ours(train+dev)"). Note that, our number on the test set could be even higher if we apply the zero-shot version because the test domain schema is available to the inference model. In practice, due to the compute-time limitation of the evaluation script, we cannot apply zero-shot augmentation. However, we believe it is relevant for bootstrapping semantic parsers in real-world applications, so the improvements on the developement set holds practical significance. |
| 2021 | RAT-SQL_B + SPR proposed | Exact match accuracy | 69.7% | split: val · method=SPR · backbone=RAT-SQL_B | Towards Robustness of Text-to-SQL Models against Synonym SubstitutionSource quoteL281: SPR │ \bf 69.7% │ 48.2% |
| 2021 | SLSQL w/ SDCUP (MLM+SDP+SAC+EPR) proposed | Exact match accuracy | 70.70% | split: val | SDCUP: Schema Dependency-Enhanced Curriculum Pre-Training for Table Semantic ParsingSource quoteL238: \quad w/ SDCUP (MLM+SDP+SAC+EPR) │ 70.70 |
| 2021 | BERT-Large +Self with Train + Dev proposed | Exact-Set Match with Value (EM) | 58.43 | split: val · backbone=BERT-Large · self-supervised-training-data=Train + Dev tables | Self-supervised Text-to-SQL Learning with Header Alignment TrainingSource quoteL271: {+Self with Train + Dev} │ {45.25 / 58.43} |
| 2021 | ShadowGNN + RoBERTa-large proposed | exact match accuracy | 66.1% | split: test · backbone=RoBERTa-large · evaluation-setting=cross-domain | ShadowGNN: Graph Projection Neural Network for Text-to-SQL ParserSource quoteL219: ShadowGNN + RoBERTa-large │ 72.3% │ 66.1% |
| 2021 | ShadowGNN + RoBERTa-large proposed | exact match accuracy | 72.3% | split: val · backbone=RoBERTa-large · evaluation-setting=cross-domain | ShadowGNN: Graph Projection Neural Network for Text-to-SQL ParserSource quoteL219: ShadowGNN + RoBERTa-large │ 72.3% │ 66.1% |
| 2021 | T5-3B (database content) proposed | EM (exact-set-match accuracy) | 68.0% | split: test · 0-shot · params=3B · backbone=T5-3B · beam-size=4 · database-content=enabled | PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language ModelsSource quoteL310: T5-3B^\dagger │ 71.5 │ 74.4 │ 68.0 │ 70.1 |
| 2021 | IRNet anno proposed | exact match (EM) accuracy | 62.5 | schema-link-setting=anno | An Investigation Between Schema Linking and Text-to-SQL PerformanceSource quoteL193: IRNet anno │ 62.5 │ 100.0 │ 100.0 │ 100.0 │ 0 │ 0 │ 1,454 |
| 2021 | RAT-SQL anno proposed | exact match (EM) accuracy | 69.6 | schema-link-setting=anno | An Investigation Between Schema Linking and Text-to-SQL PerformanceSource quoteL196: RAT-SQL anno │ 69.6 │ 100.0 │ 100.0 │ 100.0 │ 0 │ 0 │ 1,454 |
| 2021 | RAT-SQL_B + SPR + ManualMAS ablation | Exact match accuracy | 67.4% | split: val · method=SPR + ManualMAS · backbone=RAT-SQL_B | Towards Robustness of Text-to-SQL Models against Synonym SubstitutionSource quoteL288: SPR + ManualMAS │ 67.4% │ \bf 62.6% |
| 2021 | RATSQL | EM accuracy | 52.3% | Evaluation on examples with SQL patterns unseen in training. | Data Augmentation with Hierarchical SQL-to-Question Generation for Cross-domain Text-to-SQL ParsingSource quoteL333: RATSQL │ 66.6 │ 52.3 |
| 2021 | RAT-SQL+GP+GRAPPA baseline | EM (exact set match accuracy without values) | 69.8 | split: val | Relation Aware Semi-autoregressive Semantic Parsing for NL2SQLSource quoteL254: RAT-SQL+GP+GRAPPA │ 69.8 │ n/a |
| 2021 | RATSQL + Aug baseline | EM accuracy | 55.4% | Evaluation on examples with SQL patterns unseen in training; augmented model as reporte… | Data Augmentation with Hierarchical SQL-to-Question Generation for Cross-domain Text-to-SQL ParsingSource quoteL334: RATSQL + Aug │ 73.0 (+6.4) │ 55.4 (+3.1) |
| 2021 | RAT-SQL + IR(RAT-SQL) baseline | Exact match accuracy | 71.8% | split: val | Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsSource quoteL377: RAT-SQL + IR(RAT-SQL) │ 71.8% |
| 2021 | RAT-SQL_B + ADV_BERT baseline non-standard slice | Exact match accuracy | 68.7% | split: val · method=ADV_BERT · backbone=RAT-SQL_B | Towards Robustness of Text-to-SQL Models against Synonym SubstitutionSource quoteL286: \textnormal{ADV}_{\textnormal{{BERT}}} │ 68.7% │ 58.5% |
| 2021 | SLSQL w/ BERT-large baseline | Exact match accuracy | 61.51% | split: val · backbone=BERT-large | SDCUP: Schema Dependency-Enhanced Curriculum Pre-Training for Table Semantic ParsingSource quoteL228: \quad w/ BERT-large │ 61.51 |
| 2021 | RATSQL v3 + BERT-large baseline | exact match accuracy | 65.6% | split: test · backbone=BERT-large | ShadowGNN: Graph Projection Neural Network for Text-to-SQL ParserSource quoteL213: RATSQL v3 + BERT-large~\cite{rat-sql} │ 69.7% │ 65.6% |
| 2021 | RATSQL v3 + BERT-large baseline | exact match accuracy | 69.7% | split: val · backbone=BERT-large | ShadowGNN: Graph Projection Neural Network for Text-to-SQL ParserSource quoteL213: RATSQL v3 + BERT-large~\cite{rat-sql} │ 69.7% │ 65.6% |
| 2021 | IRNet baseline | exact match (EM) accuracy | 58.8 | Original IRNet baseline; the paper reports its Spider EM alongside the anno result. | An Investigation Between Schema Linking and Text-to-SQL PerformanceSource quoteL243: Additionally, the Spider EM for \texttt{IRNet anno} is higher than the original \texttt{IRNet} (62.5 vs. 58.8). |
| 2021 | RAT-SQL baseline | exact match (EM) accuracy | 69.2 | Original RAT-SQL baseline; the paper reports its Spider EM alongside the anno result. | An Investigation Between Schema Linking and Text-to-SQL PerformanceSource quoteL244: Similarly, \texttt{RAT-SQL anno} is higher than for the original \texttt{RAT-SQL} (69.6 vs. 69.2). |
| 2020 | SQL-SP + RoBERTa + DT-Fixup proposed | exact match accuracy | 73.5 | split: val · epochs=60 · extra-layers=8 · optimization=DT-Fixup · task-specific-pretraining=none | Optimizing Deeper Transformers on Small DatasetsSource quoteL316: + DT-Fixup │ 8 │ \xmark │ 60 │ 73.5 |
| 2020 | SQL-SP + RoBERTa + DT-Fixup, with more layers proposed | exact match accuracy | 75.0 | split: val · epochs=60 · optimization=DT-Fixup · relation-aware-layers=24 · pretrained-RoBERTa-layers=24 · task-specific-pretraining=none | Optimizing Deeper Transformers on Small DatasetsSource quoteL317: + DT-Fixup \ │ More Layers │ 24 │ \xmark │ 60 │ 75.0 |
| 2020 | SQL-SP with DT-Fixup proposed | exact match accuracy | 70.9% | split: test · fine-tuned · total-layers=48 · relation-aware-layers=24 · pretrained-RoBERTa-layers=24 · task-specific-pretraining=none | Optimizing Deeper Transformers on Small DatasetsSource quoteL45: Our parser achieves 70.9% exact match accuracy on the Spider test set, which is the state of the art at the time of writing. |
| 2020 | Photon neural semantic parser proposed | EM Acc. (exact set match accuracy) | 63.2% | split: val · fine-tuned | Photon: A Robust Cross-Domain Text-to-SQL SystemSource quoteL299: RYANSQL + BERT ^\dagger ~\cite{DBLP:journals/corr/abs-2004-03125} │ 66.6 Photon\xspace │ 63.2 |
| 2020 | SQL-SP + RoBERTa (standard optimization) baseline | exact match accuracy | 66.9 | split: val · epochs=60 · extra-layers=8 · optimization=standard · task-specific-pretraining=none | Optimizing Deeper Transformers on Small DatasetsSource quoteL314: SQL-SP + RoBERTa │ 8 │ \xmark │ 60 │ 66.9 |
| 2020 | OurRATSQL-large baseline | EM (exact match) | 66.0% | split: val · backbone=BART-large · database-content=none | SmBoP: Semi-autoregressive Bottom-up Semantic ParsingSource quoteL366: OurRATSQL-large │ 66.0% │ n/a │ n/a |
| 2020 | OurRATSQL-base baseline | EM (exact match) | 65.3% | split: val · backbone=BART-base · database-content=none | SmBoP: Semi-autoregressive Bottom-up Semantic ParsingSource quoteL368: OurRATSQL-base │ 65.3% │ n/a │ n/a |
| 2020 | EditSQL baseline | Exact match (EM) accuracy | 36.4% | split: val | Neural Approaches for Natural Language Interfaces to Databases: A SurveySource quoteL260: Choosing the appropriate model for schema encoding is another important aspect, with more complex approaches, either based on Graph Neural Networks (GNNs) or Transformers, generally outperforming bidirectional LSTMs. EditSQL for instance has a higher EM accuracy than the simplest SyntaxSQLNet model (36.4% vs 18.9%), even without a grammar-based decoder. This difference mainly comes from the transformer-based schema encoding, which better captures the relationships between question tokens and schema elements. |
| 2020 | Simplest SyntaxSQLNet model baseline | Exact match (EM) accuracy | 18.9% | split: val · variant=simplest SyntaxSQLNet model | Neural Approaches for Natural Language Interfaces to Databases: A SurveySource quoteL260: Choosing the appropriate model for schema encoding is another important aspect, with more complex approaches, either based on Graph Neural Networks (GNNs) or Transformers, generally outperforming bidirectional LSTMs. EditSQL for instance has a higher EM accuracy than the simplest SyntaxSQLNet model (36.4% vs 18.9%), even without a grammar-based decoder. This difference mainly comes from the transformer-based schema encoding, which better captures the relationships between question tokens and schema elements. |
| 2019 | Relation-aware self-attention method (4 encoder layers) proposed | Exact match accuracy | 42.94% | split: val · encoder-layers=4 | Encoding Database Schemas with Relation-Aware Self-Attention for Text-to-SQL ParsersSource quoteL327: Our method │ 57.20% │ 44.55% │ 39.66% │ 21.18% │ 42.94% |
| 2019 | Patois (\system), Score_CXE, K=80 proposed | Exact match accuracy of program sketches | 0.416 | split: val · K=80 · score=Score_CXE | Program Synthesis and Semantic Parsing with Learned Code IdiomsSource quoteL544: 80 │ 0.416 |
| 2019 | Relation-aware self-attention method, ablation with no relation types ablation | Exact match accuracy | 30.37% | split: val · relation-types=none | Encoding Database Schemas with Relation-Aware Self-Attention for Text-to-SQL ParsersSource quoteL331: No relation types │ 46.80% │ 29.55% │ 29.89% │ 8.82% │ 30.37% |
| 2019 | Relation-aware self-attention method, ablation with no self-attention layers ablation | Exact match accuracy | 25.92% | split: val · self-attention-layers=none | Encoding Database Schemas with Relation-Aware Self-Attention for Text-to-SQL ParsersSource quoteL328: No self-attention layers │ 42.00% │ 25.68% │ 22.99% │ 5.88% │ 25.92% |
| 2019 | SyntaxSQLNet baseline | Exact match accuracy | 18.96% | split: val | Encoding Database Schemas with Relation-Aware Self-Attention for Text-to-SQL ParsersSource quoteL326: SyntaxSQLNet │ 38.40% │ 15.00% │ 16.09% │ 3.53% │ 18.96% |
| 2019 | IRNet V2 baseline | exact match accuracy | 48.5% | split: test | RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL ParsersSource quoteL461: IRNet V2 \cite{irnet} │ 55.4 │ 48.5 |
| 2019 | Baseline decoder baseline | Exact match accuracy of program sketches | 0.395 | split: val | Program Synthesis and Semantic Parsing with Learned Code IdiomsSource quoteL536: Baseline decoder │ --- │ 0.395 |