mlsanityData to 14 Oct 2026

X-SQL: Expert Schema Linking and Understanding of Text-to-SQL with Multi-LLMs

arXiv 2509.05899 ↗First posted 7 Sep 2025cs.LG cs.DBcited by 0

Not on the map. Why?

Abstract (arXiv)

With Large Language Models' (LLMs) emergent abilities on code generation tasks, Text-to-SQL has become one of the most popular downstream applications. Despite the strong results of multiple recent LLM-based Text-to-SQL frameworks, the research community often overlooks the importance of database schema information for generating high-quality SQL queries. We find that such schema information plays a significant or even dominant role in the Text-to-SQL task. To tackle this challenge, we propose a novel database schema expert with two components. We first introduce X-Linking, an LLM Supervised Finetuning (SFT)-based method that achieves superior Schema Linking results compared to existing open-source Text-to-SQL methods. In addition, we innovatively propose an X-Admin component that focuses on Schema Understanding by bridging the gap between abstract schema information and the user's natural language question. Aside from better learning with schema information, we experiment with Multi-LLMs for different components within the system to further boost its performance. By incorporating these techniques into our end-to-end framework, X-SQL, we have achieved Execution Accuracies of 84.9% on the Spider-Dev dataset and 82.5% on the Spider-Test dataset. This outstanding performance establishes X-SQL as the leading Text-to-SQL framework based on open-source models.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 30 references that are in the map. First posted on arXiv 7 Sep 2025.

Builds on

21 of 30 references.

References · 21

  1. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  3. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  5. 2024Qwen2 Technical Reportcited by 2,120
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  7. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  8. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  9. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  10. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
  11. 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 686
  12. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
9 more
  1. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
  2. 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 195
  3. 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaborationcited by 180
  4. 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 169
  5. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 164
  6. 2024MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generationcited by 105
  7. 2024Small LLMs Are Weak Tool Learners: A Multi-LLM Agentcited by 93
  8. 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 68
  9. 2024Before Generation, Align it! A Novel and Effective Strategy for Mitigating Hallucinations in Text-to-SQL Generationcited by 50

Built on by

Not cited yet.