mlsanityData to 7 Oct 2026

SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL (extended)

arXiv 2306.00739 ↗First posted 26 May 2023cs.CL cs.AI cs.DBcited by 42

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

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  9. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  11. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  12. 2022Emergent Abilities of Large Language Modelscited by 2,483
34 more
  1. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  2. 2023PaLM 2 Technical Reportcited by 1,154
  3. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  4. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  5. 2023Teaching Large Language Models to Self-Debugcited by 963
  6. 2023StarCoder: may the source be with you!cited by 790
  7. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  8. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  9. 2022PAL: Program-aided Language Modelscited by 635
  10. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  11. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  12. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  13. 2022UL2: Unifying Language Learning Paradigmscited by 292
  14. 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
  15. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
  16. 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
  17. 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 191
  18. 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 180
  19. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  20. 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
  21. 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
  22. 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 123
  23. 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
  24. 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
  25. 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
  26. 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
  27. 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
  28. 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
  29. 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
  30. 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
  31. 2019Global Reasoning over Database Structures for Text-to-SQL Parsingcited by 43
  32. 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLcited by 43
  33. 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
  34. 2023Prompting with Pseudo-Code Instructionscited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 13; 2025: 23; 2026: 5.

42 papers.

Sort:

By area:

  1. 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 132
  2. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
  3. 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 78
  4. 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
  5. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
  6. 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 51
  7. 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmarkcited by 33
  8. 2025LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQLcited by 26
  9. 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 22
  10. 2024Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruningcited by 16
  11. 2024SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Mergingcited by 16
  12. 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
30 more
  1. 2025Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQLcited by 14
  2. 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
  3. 2025An LLM-Based Approach for Insight Generation in Data Analysiscited by 12
  4. 2024SQLFixAgent: Towards Semantic-Accurate Text-to-SQL Parsing via Consistency-Enhanced Multi-Agent Collaborationcited by 10
  5. 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learningcited by 9
  6. 2025Mixture-of-Minds: Multi-Agent Reinforcement Learning for Table Understandingcited by 6
  7. 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQLcited by 5
  8. 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQLcited by 5
  9. 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLcited by 4
  10. 2024KBAlign: Efficient Self Adaptation on Specific Knowledge Basescited by 3
  11. 2025Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languagescited by 3
  12. 2024Multi-Turn Interactions for Text-to-SQL with Large Language Modelscited by 2
  13. 2025SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL Probescited by 2
  14. 2025RetrySQL: text-to-SQL training with retry data for self-correcting query generationcited by 2
  15. 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generationcited by 2
  16. 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
  17. 2024Talking with Tables for Better LLM Factual Data Interactionscited by 1
  18. 2025SteinerSQL: Graph-Guided Mathematical Reasoning for Text-to-SQL Generationcited by 1
  19. 2025Scaling Text2SQL via LLM-efficient Schema Filtering with Functional Dependency Graph Rerankerscited by 1
  20. 2025SQLCritic: Correcting Text-to-SQL Generation via Clause-wise Criticcited by 0
  21. 2025Meta-aware Learning in text-to-SQL Large Language Modelcited by 0
  22. 2025VeriMinder: Mitigating Analytical Vulnerabilities in NL2SQLcited by 0
  23. 2025Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignmentcited by 0
  24. 2025GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Modelscited by 0
  25. 2025A Multi-agent Text2SQL Framework using Small Language Models and Execution Feedbackcited by 0
  26. 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directionscited by 0
  27. 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Testcited by 0
  28. 2026Language-Augmented Semantic Priors for B-Spline Surface Fittingcited by 0
  29. 2026The Stochastic Shift: A New Evaluation Paradigm for Text-to-SQL with AI Operatorscited by 0
  30. 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQLcited by 0