# Reimagining Text-to-SQL: A Survey of Large Language Model Architectures and Strategies

DevFeed: [Reimagining Text-to-SQL: A Survey of Large Language Model Architectures and Strategies](<https://devfeed.tech/articles/reimagining-text-to-sql-a-survey-of-large-language-model-architectures-and-strategies-114992.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00171>)

Author: Shikhar Dave, Bhaskarjit Sarmah, Stefano Pasquali

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI for SQL query generation](<https://devfeed.tech/topics/ai-for-sql-query-generation.md>), [text2sql](<https://devfeed.tech/topics/text2sql.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Architecture](<https://devfeed.tech/topics/ai-architecture.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [semantic-layer](<https://devfeed.tech/topics/semantic-layer.md>)

Tags: [agentic-systems](<https://devfeed.tech/tags/agentic-systems.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [databases](<https://devfeed.tech/tags/databases.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [sql](<https://devfeed.tech/tags/sql.md>), [strategies](<https://devfeed.tech/tags/strategies.md>), [survey](<https://devfeed.tech/tags/survey.md>)

## AI overview

The survey reviews more than 100 Text-to-SQL papers and technical resources published from 2022 to 2026, organizing LLM approaches into in-context learning, supervised and parameter-efficient fine-tuning, agentic and tool-augmented orchestration, retrieval-augmented generation, and reinforcement learning. It compares approaches by model granularity, supervision, and reasoning style. The abstract describes modular systems that split work into schema retrieval, query generation, repair, and ranking, alongside agentic systems that coordinate specialized agents. It reports advances on Spider, Spider 2.0, and BIRD, and highlights unresolved challenges in domain generalization, efficiency, deployment, semantic layers, and responsible use with sensitive databases.

## Source excerpt

arXiv:2611.00171v1 Announce Type: new Abstract: 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.