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 109 of 109 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 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 | DataEvolver-SFT proposed | Exec-Acc | 60.43 | fine-tuned · params=8B · backbone=Qwen3-8B-Base · seed_examples=20 · training_samples=5k | DataEvolver: Automatic Data Preparation for Large Language Models through Multi-Level Self-EvolvingSource quoteL141: DataEvolver-SFT │ 5k │ 56.3 │ 73.37 │ 66.09 │ 87.83 │ 68.42 │ 60.43 │ 50.34 |
| 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 | SQLoom (Qwen3-1.7B) proposed | Execution accuracy (EX) | 89.2% | split: test · fine-tuned · params=1.7B | SQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQLSource quoteL46: reaching 89.2% on Spider test and 73.4% on BIRD development. It |
| 2026 | DyJR proposed | Pass@1 accuracy | 77.5 | fine-tuned · params=8B · backbone=Llama-3-8B | DyJR: Preserving Diversity in Reinforcement Learning with Verifiable Rewards via Dynamic Jensen-Shannon ReplaySource quoteL257: DyJR │ 62.7 │ 72.9 │ 77.5 │ 87.3 |
| 2026 | DyJR proposed | Pass@16 | 87.3 | fine-tuned · params=8B · backbone=Llama-3-8B | DyJR: Preserving Diversity in Reinforcement Learning with Verifiable Rewards via Dynamic Jensen-Shannon ReplaySource quoteL257: DyJR │ 62.7 │ 72.9 │ 77.5 │ 87.3 |
| 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 | DataFlow-SFT baseline | Exec-Acc | 55.26 | fine-tuned · params=8B · backbone=Qwen3-8B-Base · training_samples=5k | DataEvolver: Automatic Data Preparation for Large Language Models through Multi-Level Self-EvolvingSource quoteL139: DataFlow-SFT │ 5k │ 51.9 │ 68.83 │ 64.93 │ 87.16 │ 69.28 │ 55.26 │ 46.33 |
| 2026 | GRPO baseline | Pass@1 accuracy | 72.5 | fine-tuned · params=8B · backbone=Llama-3-8B | DyJR: Preserving Diversity in Reinforcement Learning with Verifiable Rewards via Dynamic Jensen-Shannon ReplaySource quoteL254: GRPO │ 59.4 │ 68.4 │ 72.5 │ 80.3 |
| 2025 | Qwen-1.5B +SQL-Factory proposed | Accuracy | 76.5% | fine-tuned · params=1.5B · backbone=Qwen-1.5B · training-data=SQL-Factory-generated | SQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL GenerationSource quoteL465: \ \ \ \ +SQL-Factory │ 97.2 (\uparrow11.5) │ 76.5 (\uparrow7.3) │ 82.1 (\uparrow24.5) │ 40.9 (\uparrow12.3) |
| 2025 | LLaMA-3.1 70B ExCoT proposed | execution accuracy | 86.59% | split: test · fine-tuned · params=70B · backbone=LLaMA-3.1 70B · reasoning=Complex CoT | Optimizing Reasoning for Text-to-SQL with Execution FeedbackSource quoteL169: Table~\ref{tab:main} summarizes our main results on the BIRD and Spider benchmarks. Notably, for LLaMA-3.1 70B model~\citep{dubey2024llama}, our ExCoT\xspace approach improves BIRD performance from 58.14% to 68.51% with both off-policy and on-policy DPO, representing a significant 10.37% gain. Similarly, on Spider, our ExCoT\xspace approach improves the SFT model's performance of 82.49% to 86.59%. On both datasets, our approach achieves state-of-the-art performance in the single-model setting. With Qwen-2.5-Coder 32B~\citep{hui2024qwen2} model as the base model, our ExCoT\xspace approach outperforms recent work XiyanSQL~\citep{gao2024xiyan} which uses the same base model, demonstrating the effectiveness of our approach. Our best model even outperforms state-of-the-art proprietary models, including OpenAI o1-mini~\citep{jaech2024openai} and o3-mini, which are built with chain-of-thought ability and optimized for reasoning. Notably, ExCoT achieves 68.53% on BIRD test set, the highest performance among single models, as shown in Table~\ref{tab:test}. |
| 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 | JOLT-SQL + Qwen2.5-Coder-14B proposed | Execution accuracy (EX) | 88.9% | split: test · 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 | 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 | DB-Explore + Qwen2.5-Coder-7B proposed | Dev-TS (Test-Suite Accuracy) | 79.3 | split: test · 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 | OmniSQL-7B proposed | Execution accuracy (EX) | 87.9% | split: test · fine-tuned · params=7B · decoding=greedy | OmniSQL: Synthesizing High-quality Text-to-SQL Data at ScaleSource quoteL294: OmniSQL\xspace-7B │ 81.2 │ 81.6 │ 87.9 │ 88.9 │ 63.9 │ 66.1 │ 10.4 │ 10.4 │ 50.2 │ 55.9 │ 34.9 │ 40.0 │ 76.1 │ 77.8 │ 69.7 │ 69.6 │ 76.2 │ 78.0 │ 61.2 │ 63.1 |
| 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 | SDE-SQL (SFT) proposed | test(EX) | 88.5 | split: test · 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 | 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 | SynSQL(50K) proposed non-standard slice | Execution accuracy (Gre) | 81.8 | split: test · fine-tuned · params=7B · backbone=Qwen2.5-Coder-7B-Instruct · decoding=greedy · training-data=SynSQL · training-examples=50K | DataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AISource quoteL739: SynSQL(50K) │ 77.1 │ 82.1 │ 81.8 │ 84.8 │ 54.0 │ 59.3 │ 33.1 │ 44.1 │ 67.1 │ 69.5 │ 68.0 │ 70.6 │ 77.2 │ 80.3 │ 65.5 │ 70.1 |
| 2025 | Qwen2.5-Coder-7B-Instruct fine-tuned on SQLFlow(50k) | Execution accuracy (Gre) | 84.6% | split: test · fine-tuned · params=7B | Text2sql-Flow: a Robust Sql-Aware Data Augmentation Framework for Text-To-SqlSource quoteL324: SQLFlow(50k) │ 80.9 │ 84.9 │ 84.6 │ 85.8 │ 57.9 │ 62.5 │ 27.8 │ 39.4 │ 69.7 │ 71.2 │ 70.0 │ 74.0 │ 77.8 │ 82.1 │ 67.0 │ 71.4 |
| 2025 | Qwen2.5-Coder-7B-Instruct fine-tuned on SynSQL(50k) | Execution accuracy (Gre) | 81.8% | split: test · fine-tuned · params=7B | Text2sql-Flow: a Robust Sql-Aware Data Augmentation Framework for Text-To-SqlSource quoteL320: SynSQL(50k) │ 77.1 │ 82.1 │ 81.8 │ 84.8 │ 54.0 │ 59.3 │ 33.1 │ 44.1 │ 67.1 │ 69.5 │ 68.0 │ 70.6 │ 77.2 │ 80.3 │ 65.5 │ 70.1 |
| 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 | Qwen-1.5B +Official-Data baseline | Accuracy | 73.2% | fine-tuned · params=1.5B · backbone=Qwen-1.5B · training-data=official Spider training data | SQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL GenerationSource quoteL464: \ \ \ \ +Official-Data │ 91.9 (\uparrow6.2) │ 73.2 (\uparrow4.0) │ 79.1 (\uparrow21.5) │ 39.2 (\uparrow10.6) |
| 2025 | LLaMA-3.1 70B SFT model baseline | execution accuracy | 82.49% | split: test · fine-tuned · params=70B · backbone=LLaMA-3.1 70B · training=SFT | Optimizing Reasoning for Text-to-SQL with Execution FeedbackSource quoteL169: Table~\ref{tab:main} summarizes our main results on the BIRD and Spider benchmarks. Notably, for LLaMA-3.1 70B model~\citep{dubey2024llama}, our ExCoT\xspace approach improves BIRD performance from 58.14% to 68.51% with both off-policy and on-policy DPO, representing a significant 10.37% gain. Similarly, on Spider, our ExCoT\xspace approach improves the SFT model's performance of 82.49% to 86.59%. On both datasets, our approach achieves state-of-the-art performance in the single-model setting. With Qwen-2.5-Coder 32B~\citep{hui2024qwen2} model as the base model, our ExCoT\xspace approach outperforms recent work XiyanSQL~\citep{gao2024xiyan} which uses the same base model, demonstrating the effectiveness of our approach. Our best model even outperforms state-of-the-art proprietary models, including OpenAI o1-mini~\citep{jaech2024openai} and o3-mini, which are built with chain-of-thought ability and optimized for reasoning. Notably, ExCoT achieves 68.53% on BIRD test set, the highest performance among single models, as shown in Table~\ref{tab:test}. |
| 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 | 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 |
| 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 | Fine-tuned gpt-3.5-turbo-16k proposed | execution accuracy | 73.4% | fine-tuned · model=gpt-3.5-turbo-16k · evaluation=zero-shot environment | Analyzing the Effectiveness of Large Language Models on Text-to-SQL SynthesisSource quoteL38: The subsequent phase involved fine-tuning OpenAI's gpt-3.5-turbo-16k on the spider dataset, incorporating database context. The fine-tuning process was facilitated using OpenAI's API. Even in a zero-shot environment, the fine-tuned model demonstrated a substantial improvement, achieving a 73.4% execution accuracy in generating SQL queries, highlighting the effectiveness of fine-tuning models. |
| 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 | SQLfuse proposed | TEST Acc (execution accuracy) | 85.6% | split: test · fine-tuned · queries=with-values · evaluation=execution-accuracy | SQLfuse: Enhancing Text-to-SQL Performance through Comprehensive LLM SynergySource quoteL237: 4. │ SQLfuse │ 85.6 │ Fine-tuning │ Open source |
| 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 | TiSQL + GPT-4 proposed | Test EX | 86.3% | split: test · fine-tuned · model=GPT-4 | Towards Automated Cross-Domain Exploratory Data Analysis through Large Language ModelsSource quoteL625: TiSQL + GPT-4 (ours) │ 86.3 |
| 2024 | RKD baseline | EX% | 60.3% | 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 quoteL240: RKD │ 60.3 │ 50.5 │ 51.2 │ 44.6 \hdashline |
| 2024 | DeepSeek 7B, FT Tuning baseline | EX (execution accuracy) | 82.1 | split: val · fine-tuned · params=7B · backbone=DeepSeek-7B | DTS-SQL: Decomposed Text-to-SQL with Small Large Language ModelsSource quoteL122: DeepSeek 7B │ FT Tuning │ 82.1 │ 69.0 |
| 2024 | Mistral 7B, FT Tuning baseline | EX (execution accuracy) | 71.9 | split: val · fine-tuned · params=7B · backbone=Mistral-7B | DTS-SQL: Decomposed Text-to-SQL with Small Large Language ModelsSource quoteL119: Mistral 7B │ FT Tuning │ 71.9 │ 70.9 |
| 2024 | RESDSQL baseline | execution accuracy (EA) | 0.841 | split: val · fine-tuned | SQL-to-Schema Enhances Schema Linking in Text-to-SQLSource quoteL176: RESDSQL │ fine-tuning │ 0.841 |
| 2023 | Teacher sampling (TF; forward KL) proposed | Token acceptance rate (\alpha) | 0.76 | split: test · fine-tuned · loss=forward KL · epochs=2 · backbone=Vicuna-7B · sampling=teacher sampling | Online Speculative DecodingSource quoteL293: \multirow{4}{*}{Vicuna-7B} │ Spider │ 0.28 │ 0.74 │ {\bf 0.76} │ 0.62 │ 0.70 |
| 2023 | Teacher sampling (TF; forward KL) proposed | Token acceptance rate (\alpha) | 0.78 | split: test · fine-tuned · loss=forward KL · epochs=2 · backbone=FLAN T5-XL · sampling=teacher sampling | Online Speculative DecodingSource quoteL298: \multirow{4}{*}{FLAN T5-XL} │ Spider │ 0.13 │ 0.33 │ 0.78 │ 0.67 │ 0.70 |
| 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 | mT5-large (FIT quad) proposed | Exact set match without values | 0.736 | split: val · fine-tuned · backbone=mT5-large · max-tokens=512 · training-data=FIT quad · schema-pruning=enabled · evaluation-language=English | A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-AttentionSource quoteL218: mT5-large │ 512 │ FIT-en-pt-es-fr │ en │ 0.895 │ 0.776 │ 0.603 │ 0.530 │ 0.736 |
| 2023 | mT5-large (standard quad) proposed | Exact set match without values | 0.718 | split: val · fine-tuned · backbone=mT5-large · max-tokens=512 · training-data=standard quad · schema-pruning=disabled · evaluation-language=English | A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-AttentionSource quoteL217: mT5-large │ 512 │ en-pt-es-fr │ en │ 0.879 │ 0.756 │ 0.580 │ 0.518 │ 0.718 |
| 2023 | mT5-large (standard quad, 2048-token limit) proposed | Exact set match without values | 0.697 | split: val · fine-tuned · backbone=mT5-large · max-tokens=2048 · training-data=standard quad · evaluation-language=English | A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-AttentionSource quoteL216: mT5-large │ 2048 │ en-pt-es-fr │ en │ 0.855 │ 0.753 │ 0.540 │ 0.476 │ 0.697 |
| 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 | Q →QPL (Flan-T5-XL; Rich Schema Encoding) proposed | Execution accuracy | 74.7% | split: val · fine-tuned · backbone=Flan-T5-XL · difficulty=hard · schema-encoding=rich | Semantic Decomposition of Question and SQL for Text-to-SQL ParsingSource quoteL309: 74.7% |
| 2023 | Q →QPL (Flan-T5-XL; Rich Schema Encoding) proposed | Execution accuracy | 65.1% | split: val · fine-tuned · backbone=Flan-T5-XL · difficulty=extra-hard · schema-encoding=rich | Semantic Decomposition of Question and SQL for Text-to-SQL ParsingSource quoteL313: 65.1% |
| 2023 | Original baseline | Token acceptance rate (\alpha) | 0.28 | split: test · fine-tuned · epochs=2 · backbone=Vicuna-7B | Online Speculative DecodingSource quoteL293: \multirow{4}{*}{Vicuna-7B} │ Spider │ 0.28 │ 0.74 │ {\bf 0.76} │ 0.62 │ 0.70 |
| 2023 | Original baseline | Token acceptance rate (\alpha) | 0.13 | split: test · fine-tuned · epochs=2 · backbone=FLAN T5-XL | Online Speculative DecodingSource quoteL298: \multirow{4}{*}{FLAN T5-XL} │ Spider │ 0.13 │ 0.33 │ 0.78 │ 0.67 │ 0.70 |
| 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 | RESDSQL-3B + NatSQL baseline | EX (execution accuracy) | 84.1 | split: test · fine-tuned · params=3B · model-size=3B | A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitySource quoteL43: RESDSQL-3B + NatSQL │ 99.1 │ 84.1 │ 73.5 │ 98.8 │ 76.9 │ 66.8 │ 98.4 │ 81.9 │ 70.1 |
| 2023 | BART-large (RAT-SQL+GAP baseline) baseline | Exact set match without values | 0.718 | split: val · fine-tuned · method=RAT-SQL+GAP · backbone=BART-large · max-tokens=512 · evaluation-language=English | A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-AttentionSource quoteL215: Bart-large │ 512 │ en │ en │ 0.899 │ 0.744 │ 0.667 │ 0.428 │ 0.718 |
| 2023 | RESDSQL-3B + NatSQL (DB content used) baseline | execution accuracy (EX) | 79.9% | split: test · fine-tuned · model=RESDSQL-3B · params=3B · db-content=used · representation=NatSQL | DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionSource quoteL57: 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. |
| 2023 | Q →SQL (Flan-T5-XL; Rich Schema Encoding) baseline | Execution accuracy | 69.5% | split: val · fine-tuned · backbone=Flan-T5-XL · difficulty=hard · schema-encoding=rich | Semantic Decomposition of Question and SQL for Text-to-SQL ParsingSource quoteL310: 69.5% |
| 2023 | Q →SQL (Flan-T5-XL; Rich Schema Encoding) baseline | Execution accuracy | 63.9% | split: val · fine-tuned · backbone=Flan-T5-XL · difficulty=extra-hard · schema-encoding=rich | Semantic Decomposition of Question and SQL for Text-to-SQL ParsingSource quoteL314: 63.9% |
| 2023 | RESDSQL+NatSQL (T5-3B) baseline | Execution accuracy (EX) | 84.1 | split: val · fine-tuned · params=3B · backbone=T5-3B · evaluation=official-test-suite | Selective Demonstrations for Cross-domain Text-to-SQLSource quoteL285: RESDSQL+NatSQL \cite{li2023resdsql} │ T5-3B │ 84.1 |
| 2023 | RESDSQL-3B baseline | Execution accuracy (EX) | 84.1 | fine-tuned · params=3B · backbone=RESDSQL-3B | Prompting GPT-3.5 for Text-to-SQL with De-semanticization and Skeleton RetrievalSource quoteL244: \multicolumn{1}{c|}{} │ RESDSQL-3B │ 99.1 │ 84.1 │ 73.5 │ 98.8 │ 76.9 │ 66.8 │ 98.8 │ 66.0 |
| 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 | T5-3B, finetune proposed | Match | 71.76 | split: val · fine-tuned · params=3B · backbone=T5-3B | UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language ModelsSource quoteL695: 71.76 |
| 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 | T5-3B† + PICARD + Syn data proposed | EX (execution accuracy) | 81.4 | split: val · fine-tuned · params=3B · backbone=T5-3B · training=synthetic-data pre-finetuning, then real-data finetuning · database-content=included · decoding-constraint=PICARD | Importance of Synthesizing High-quality Data for Text-to-SQL ParsingSource quoteL270: T5-3B^\dagger + PICARD + Syn data (ours) │ 76.1 │ 81.4 |
| 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 | Codex davinci (davinci-codex) baseline | execution accuracy (EX) | 67.0% | split: val · fine-tuned · prompt=Create Table + Select 3 · database-content=included | Evaluating the Text-to-SQL Capabilities of Large Language ModelsSource quoteL126: There is a progressive improvement to 56.8% as schema information is introduced in API Docs, to 59.9% when valid SQL and foreign key information is used in Create Table, and to 67.0% when database content is introduced with Create Table + Select 3. |
| 2022 | Codex cushman (cushman-codex) baseline | execution accuracy (EX) | 63.7% | split: val · fine-tuned · prompt=+1 Row · database-content=included | Evaluating the Text-to-SQL Capabilities of Large Language ModelsSource quoteL331: cushman │ + 1 Row │ 86.3 (85.0) │ 63.7 (54.9) │ 53.0 (39.6) |
| 2022 | Codex davinci (davinci-codex) baseline | execution accuracy (EX) | 8.3% | split: val · fine-tuned · prompt=question-only | Evaluating the Text-to-SQL Capabilities of Large Language ModelsSource quoteL125: As seen in \Cref{tab:prompts}, providing the question alone results in a low 8.3% execution accuracy. |
| 2022 | Codex davinci (davinci-codex) baseline | execution accuracy (EX) | 56.8% | split: val · fine-tuned · prompt=API Docs | Evaluating the Text-to-SQL Capabilities of Large Language ModelsSource quoteL126: There is a progressive improvement to 56.8% as schema information is introduced in API Docs, to 59.9% when valid SQL and foreign key information is used in Create Table, and to 67.0% when database content is introduced with Create Table + Select 3. |
| 2022 | Codex davinci (davinci-codex) baseline | execution accuracy (EX) | 59.9% | split: val · fine-tuned · prompt=Create Table | Evaluating the Text-to-SQL Capabilities of Large Language ModelsSource quoteL126: There is a progressive improvement to 56.8% as schema information is introduced in API Docs, to 59.9% when valid SQL and foreign key information is used in Create Table, and to 67.0% when database content is introduced with Create Table + Select 3. |
| 2021 | mRAT-SQL+GAP (mBART-50; train En/Pt, infer Pt) proposed | Exact Set Match without Values (All) | 0.595 | split: val · fine-tuned · backbone=mBART-50 · train-language=English and Portuguese · inference-language=Portuguese | mRAT-SQL+GAP: A Portuguese Text-to-SQL TransformerSource quoteL279: 6 │ mBART-50 │ En/Pt │ Pt │ 0.827 │ 0.596 │ 0.511 │ 0.331 │ \bfseries 0.595 |
| 2021 | mRAT-SQL+GAP (mBART-50; train Pt, infer Pt) proposed | Exact Set Match without Values (All) | 0.588 | split: val · fine-tuned · backbone=mBART-50 · train-language=Portuguese · inference-language=Portuguese | mRAT-SQL+GAP: A Portuguese Text-to-SQL TransformerSource quoteL277: 4 │ mBART-50 │ Pt │ Pt │ 0.762 │ 0.599 │ 0.529 │ 0.361 │ \bfseries 0.588 |
| 2021 | mRAT-SQL+GAP (mBART-50; train En/Pt, infer En) proposed | Exact Set Match without Values (All) | 0.664 | split: val · fine-tuned · backbone=mBART-50 · train-language=English and Portuguese · inference-language=English | mRAT-SQL+GAP: A Portuguese Text-to-SQL TransformerSource quoteL278: 5 │ mBART-50 │ En/Pt │ En │ 0.863 │ 0.682 │ 0.569 │ 0.422 │ \bfseries 0.664 |
| 2021 | mRAT-SQL+GAP (mBART-50; train En, infer En) proposed | Exact Set Match without Values (All) | 0.651 | split: val · fine-tuned · backbone=mBART-50 · train-language=English · inference-language=English | mRAT-SQL+GAP: A Portuguese Text-to-SQL TransformerSource quoteL276: 3 │ mBART-50 │ En │ En │ 0.851 │ 0.679 │ 0.546 │ 0.386 │ \bfseries 0.651 |
| 2021 | RAT-SQL+GAP (BART; train En, infer En) baseline | Exact Set Match without Values (All) | 0.718 | split: val · fine-tuned · backbone=BART · train-language=English · inference-language=English | mRAT-SQL+GAP: A Portuguese Text-to-SQL TransformerSource quoteL274: 1 │ BART │ En │ En │ 0.899 │ 0.744 │ 0.667 │ 0.428 │ \bfseries 0.718 |
| 2021 | RAT-SQL+GAP (BERTimbau; train Pt, infer Pt) baseline | Exact Set Match without Values (All) | 0.417 | split: val · fine-tuned · backbone=BERTimbau · train-language=Portuguese · inference-language=Portuguese | mRAT-SQL+GAP: A Portuguese Text-to-SQL TransformerSource quoteL275: 2 │ BERTimbau │ Pt │ Pt │ 0.560 │ 0.422 │ 0.333 │ 0.277 │ \bfseries 0.417 |
| 2020 | BRIDGE_L (ours, ensemble) proposed | Exact set match | 71.1% | split: val · fine-tuned · backbone=BERT-large · ensemble=3 models | Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic ParsingSource quoteL359: BRIDGE\xspace_{\text{L}} (ours, ensemble) \spadesuit \heartsuit │ 71.1 │ 67.5 |
| 2020 | BRIDGE_L (ours, ensemble) proposed | Exact set match | 67.5% | split: test · fine-tuned · backbone=BERT-large · ensemble=3 models | Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic ParsingSource quoteL359: BRIDGE\xspace_{\text{L}} (ours, ensemble) \spadesuit \heartsuit │ 71.1 │ 67.5 |
| 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 | IRNet+AS (Adaptive Sampling) proposed | exact set matching rate (All) | 52.5 | split: val · fine-tuned · epochs=50 · augmentation=adaptive sampling | MT-Teql: Evaluating and Augmenting Consistency of Text-to-SQL Models with Metamorphic TestingSource quoteL805: IRNet+AS │ 70.3 │ 54.3 │ 44.8 │ 29.3 │ 52.5 │ 37.3 |
| 2020 | IRNet baseline | exact set matching rate (All) | 52.8 | split: val · fine-tuned · epochs=50 | MT-Teql: Evaluating and Augmenting Consistency of Text-to-SQL Models with Metamorphic TestingSource quoteL802: IRNet │ 72.3 │ 53.6 │ 42.0 │ 32.9 │ 52.8 │ 37.6 |