Reimagining Text-to-SQL: A Survey of Large Language Model Architectures and Strategies
Not on the map. Why?
Abstract (arXiv)
Text-to-SQL systems translate natural language questions into executable SQL queries, democratizing access to relational data. Early approaches relied on handcrafted rules and template matching, while subsequent neural methods introduced encoder-decoder architectures, schema linking, and constrained decoding to handle increasingly complex queries. The emergence of large language models (LLMs), exemplified by systems such as ReFoRCE, Agentar-Scale-SQL, Snowflake's Arctic-Text2SQL-R1, and the modular XiYan-SQL framework, has dramatically advanced the field, pushing execution accuracy to new state-of-the-art levels on challenging benchmarks such as Spider, Spider 2.0, and BIRD. In parallel, modular frameworks decompose the task into sub-problems (schema retrieval, sketch-based generation, repair, and ranking), while agentic systems coordinate multiple specialized agents that communicate and dynamically allocate sub-tasks. This survey systematically reviews these LLM-driven approaches within a unified taxonomy of five paradigms (in-context learning, supervised and parameter-efficient fine-tuning, agentic and tool-augmented orchestration, retrieval-augmented generation, and reinforcement learning) and characterizes them by model granularity (monolithic vs. modular), level of supervision (zero-shot, fine-tuned, or reinforcement-based), and reasoning style (direct decoding vs. decomposed multi-step reasoning). We further analyze evaluation metrics, datasets, and open challenges, including domain generalization, efficiency, and real-world deployment, and we examine the role of the semantic layer in production systems. As LLMs increasingly access sensitive databases, we also discuss responsible AI practices. We survey over 100 papers and technical resources, focusing on work published between 2022 and 2026.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 72 of its 108 references that are in the map. Submitted 30 Oct 2026.
Builds on
72 of 108 references.
References · 72
- 2023GPT-4 Technical Reportcited by 19,416
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,866
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,802
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,549
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,433
- 2023Code Llama: Open Foundation Models for Codecited by 2,242
38 more
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2015Pointer Networkscited by 923
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 714
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 532
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 503
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 446
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 407
- 2022Conformal prediction beyond exchangeabilitycited by 394
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 267
- 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 191
- 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 184
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 151
- 2017SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learningcited by 139
- 2018Improving Text-to-SQL Evaluation Methodologycited by 137
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 132
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 117
- 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 97
- 2025SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learningcited by 78
- 2024CLLMs: Consistency Large Language Modelscited by 76
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 72
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 70
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 67
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 60
- 2024BEAVER: An Enterprise Benchmark for Text-to-SQLcited by 51
- 2024A Preview of XiYan-SQL: A Multi-Generator Ensemble Framework for Text-to-SQLcited by 47
- 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQLcited by 47
- 2024FinSQL: Model-Agnostic LLMs-based Text-to-SQL Framework for Financial Analysiscited by 41
- 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 40
- 2024Knowledge-to-SQL: Enhancing SQL Generation with Data Expert LLMcited by 39
- 2019A Pilot Study for Chinese SQL Semantic Parsingcited by 35
- 2024StructLM: Towards Building Generalist Models for Structured Knowledge Groundingcited by 30
- 2025ExCoT: Optimizing Reasoning for Text-to-SQL with Execution Feedbackcited by 29
- 2024Large Language Model Enhanced Text-to-SQL Generation: A Surveycited by 27
- 2025Agentar-Scale-SQL: Advancing Text-to-SQL through Orchestrated Test-Time Scalingcited by 25
- 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 24
- 2025Reliable Text-to-SQL with Adaptive Abstentioncited by 22
- 2026Pervasive Annotation Errors Break Text-to-SQL Benchmarks and Leaderboardscited by 20
50 most cited of 72 All 72 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQL
- 2024Lucy: Think and Reason to Solve Text-to-SQL
- 2026AV-SQL: Decomposing Complex Text-to-SQL Queries with Agentic Views
- 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
- 2025BAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation
- 2025RAISE: Reasoning Agent for Interactive SQL Exploration
- 2025Multilingual Text-to-SQL: Benchmarking the Limits of Language Models with Collaborative Language Agents
- 2025SQL-o1: A Self-Reward Heuristic Dynamic Search Method for Text-to-SQL