SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL (extended)
Not on the map. Why?
Abstract (arXiv)
Text-to-SQL, the process of translating natural language into Structured Query Language (SQL), represents a transformative application of large language models (LLMs), potentially revolutionizing how humans interact with data. This paper introduces the SQL-PaLM framework, a comprehensive solution for understanding and enhancing Text-to-SQL using LLMs, using in the learning regimes of few-shot prompting and instruction fine-tuning. With few-shot prompting, we explore the effectiveness of consistency decoding with execution-based error filtering. With instruction fine-tuning, we delve deep in understanding the critical paradigms that influence the performance of tuned LLMs. In particular, we investigate how performance can be improved through expanded training data coverage and diversity, synthetic data augmentation, and integrating query-specific database content. We propose a test-time selection method to further refine accuracy by integrating SQL outputs from multiple paradigms with execution feedback as guidance. Additionally, we tackle the practical challenge of navigating intricate databases with a significant number of tables and columns, proposing efficient techniques for accurately selecting relevant database elements to enhance Text-to-SQL performance. Our holistic approach yields substantial advancements in Text-to-SQL, as demonstrated on two key public benchmarks, Spider and BIRD. Through comprehensive ablations and error analyses, we shed light on the strengths and weaknesses of our framework, offering valuable insights into Text-to-SQL's future work.
Key facts. Cited by 42 papers in the map (data through 7 Oct 2026). Builds on 46 of its 66 references that are in the map. First posted on arXiv 26 May 2023.
Builds on
46 of 66 references.
References · 46
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2022Emergent Abilities of Large Language Modelscited by 2,483
34 more
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2023PaLM 2 Technical Reportcited by 1,154
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023StarCoder: may the source be with you!cited by 790
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
- 2022PAL: Program-aided Language Modelscited by 635
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
- 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
- 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 191
- 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 180
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
- 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
- 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 123
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
- 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
- 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
- 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
- 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
- 2019Global Reasoning over Database Structures for Text-to-SQL Parsingcited by 43
- 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLcited by 43
- 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
- 2023Prompting with Pseudo-Code Instructionscited by 13
Built on by
Citing papers per year: 2023: 1; 2024: 13; 2025: 23; 2026: 5.
42 papers.
Sort:
By area:
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 132
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 78
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
- 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 51
- 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmarkcited by 33
- 2025LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQLcited by 26
- 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 22
- 2024Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruningcited by 16
- 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Mergingcited by 16
- 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
30 more
- 2025Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQLcited by 14
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2025An LLM-Based Approach for Insight Generation in Data Analysiscited by 12
- 2024SQLFixAgent: Towards Semantic-Accurate Text-to-SQL Parsing via Consistency-Enhanced Multi-Agent Collaborationcited by 10
- 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learningcited by 9
- 2025Mixture-of-Minds: Multi-Agent Reinforcement Learning for Table Understandingcited by 6
- 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQLcited by 5
- 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQLcited by 5
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLcited by 4
- 2024KBAlign: Efficient Self Adaptation on Specific Knowledge Basescited by 3
- 2025Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languagescited by 3
- 2024Multi-Turn Interactions for Text-to-SQL with Large Language Modelscited by 2
- 2025SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL Probescited by 2
- 2025RetrySQL: text-to-SQL training with retry data for self-correcting query generationcited by 2
- 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generationcited by 2
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2024Talking with Tables for Better LLM Factual Data Interactionscited by 1
- 2025SteinerSQL: Graph-Guided Mathematical Reasoning for Text-to-SQL Generationcited by 1
- 2025Scaling Text2SQL via LLM-efficient Schema Filtering with Functional Dependency Graph Rerankerscited by 1
- 2025SQLCritic: Correcting Text-to-SQL Generation via Clause-wise Criticcited by 0
- 2025Meta-aware Learning in text-to-SQL Large Language Modelcited by 0
- 2025VeriMinder: Mitigating Analytical Vulnerabilities in NL2SQLcited by 0
- 2025Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignmentcited by 0
- 2025GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Modelscited by 0
- 2025A Multi-agent Text2SQL Framework using Small Language Models and Execution Feedbackcited by 0
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directionscited by 0
- 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Testcited by 0
- 2026Language-Augmented Semantic Priors for B-Spline Surface Fittingcited by 0
- 2026The Stochastic Shift: A New Evaluation Paradigm for Text-to-SQL with AI Operatorscited by 0
- 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQLcited by 0
- 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQL21 Sep 2026
- 2026The Stochastic Shift: A New Evaluation Paradigm for Text-to-SQL with AI Operators17 Sep 2026
- 2026Language-Augmented Semantic Priors for B-Spline Surface Fitting10 Sep 2026
- 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Test10 Jun 2026
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directions24 Mar 2026
- 2025A Multi-agent Text2SQL Framework using Small Language Models and Execution Feedback21 Dec 2025
- 2025Scaling Text2SQL via LLM-efficient Schema Filtering with Functional Dependency Graph Rerankers18 Dec 2025
- 2025GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Models5 Nov 2025
- 2025Mixture-of-Minds: Multi-Agent Reinforcement Learning for Table Understanding23 Oct 2025
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation12 Oct 2025
- 2025Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignment6 Oct 2025
30 more
- 2025SteinerSQL: Graph-Guided Mathematical Reasoning for Text-to-SQL Generation23 Sep 2025
- 2025VeriMinder: Mitigating Analytical Vulnerabilities in NL2SQL23 Jul 2025
- 2025RetrySQL: text-to-SQL training with retry data for self-correcting query generation3 Jul 2025
- 2025SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL Probes8 Jun 2025
- 2025Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languages1 Jun 2025
- 2025Meta-aware Learning in text-to-SQL Large Language Model25 May 2025
- 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learning23 Apr 2025
- 2025Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQL21 Apr 2025
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL29 Mar 2025
- 2025LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQL24 Mar 2025
- 2025SQLCritic: Correcting Text-to-SQL Generation via Clause-wise Critic11 Mar 2025
- 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL6 Mar 2025
- 2025An LLM-Based Approach for Insight Generation in Data Analysis20 Feb 2025
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQL17 Feb 2025
- 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors16 Jan 2025
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmap13 Jan 2025
- 2024Talking with Tables for Better LLM Factual Data Interactions22 Dec 2024
- 2024KBAlign: Efficient Self Adaptation on Specific Knowledge Bases22 Nov 2024
- 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generation31 Oct 2024
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL2 Oct 2024
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Merging22 Aug 2024
- 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL15 Aug 2024
- 2024Multi-Turn Interactions for Text-to-SQL with Large Language Models9 Aug 2024
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future5 Aug 2024
- 2024Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning3 Jul 2024
- 2024SQLFixAgent: Towards Semantic-Accurate Text-to-SQL Parsing via Consistency-Enhanced Multi-Agent Collaboration19 Jun 2024
- 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQL15 Jun 2024
- 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmark19 Feb 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 78
- 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 22
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2024SQLFixAgent: Towards Semantic-Accurate Text-to-SQL Parsing via Consistency-Enhanced Multi-Agent Collaborationcited by 10
- 2025Mixture-of-Minds: Multi-Agent Reinforcement Learning for Table Understandingcited by 6
- 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generationcited by 2
- 2025A Multi-agent Text2SQL Framework using Small Language Models and Execution Feedbackcited by 0
- 2025A Multi-agent Text2SQL Framework using Small Language Models and Execution Feedback21 Dec 2025
- 2025Mixture-of-Minds: Multi-Agent Reinforcement Learning for Table Understanding23 Oct 2025
- 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation12 Oct 2025
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmap13 Jan 2025
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL15 Aug 2024
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future5 Aug 2024
- 2024SQLFixAgent: Towards Semantic-Accurate Text-to-SQL Parsing via Consistency-Enhanced Multi-Agent Collaboration19 Jun 2024
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 132
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
- 2025Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQLcited by 14
- 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learningcited by 9
- 2024Multi-Turn Interactions for Text-to-SQL with Large Language Modelscited by 2
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2025SteinerSQL: Graph-Guided Mathematical Reasoning for Text-to-SQL Generationcited by 1
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025SteinerSQL: Graph-Guided Mathematical Reasoning for Text-to-SQL Generation23 Sep 2025
- 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learning23 Apr 2025
- 2025Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQL21 Apr 2025
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL29 Mar 2025
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL2 Oct 2024
- 2024Multi-Turn Interactions for Text-to-SQL with Large Language Models9 Aug 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 51
- 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmarkcited by 33
- 2025LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQLcited by 26
- 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
- 2025An LLM-Based Approach for Insight Generation in Data Analysiscited by 12
- 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQLcited by 5
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLcited by 4
- 2025Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languagescited by 3
- 2025SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL Probescited by 2
- 2025RetrySQL: text-to-SQL training with retry data for self-correcting query generationcited by 2
- 2024Talking with Tables for Better LLM Factual Data Interactionscited by 1
12 most cited of 23 All 23 (JSON)
- 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQL21 Sep 2026
- 2026The Stochastic Shift: A New Evaluation Paradigm for Text-to-SQL with AI Operators17 Sep 2026
- 2026Language-Augmented Semantic Priors for B-Spline Surface Fitting10 Sep 2026
- 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Test10 Jun 2026
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directions24 Mar 2026
- 2025Scaling Text2SQL via LLM-efficient Schema Filtering with Functional Dependency Graph Rerankers18 Dec 2025
- 2025GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Models5 Nov 2025
- 2025Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignment6 Oct 2025
- 2025VeriMinder: Mitigating Analytical Vulnerabilities in NL2SQL23 Jul 2025
- 2025RetrySQL: text-to-SQL training with retry data for self-correcting query generation3 Jul 2025
- 2025SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL Probes8 Jun 2025
- 2025Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languages1 Jun 2025
12 newest of 23 All 23 (JSON)