mlsanityData to 14 Oct 2026

Knowledge Base Construction for Knowledge-Augmented Text-to-SQL

arXiv 2505.22096 ↗First posted 28 May 2025cs.CL cs.AI cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Text-to-SQL aims to translate natural language queries into SQL statements, which is practical as it enables anyone to easily retrieve the desired information from databases. Recently, many existing approaches tackle this problem with Large Language Models (LLMs), leveraging their strong capability in understanding user queries and generating corresponding SQL code. Yet, the parametric knowledge in LLMs might be limited to covering all the diverse and domain-specific queries that require grounding in various database schemas, which makes generated SQLs less accurate oftentimes. To tackle this, we propose constructing the knowledge base for text-to-SQL, a foundational source of knowledge, from which we retrieve and generate the necessary knowledge for given queries. In particular, unlike existing approaches that either manually annotate knowledge or generate only a few pieces of knowledge for each query, our knowledge base is comprehensive, which is constructed based on a combination of all the available questions and their associated database schemas along with their relevant knowledge, and can be reused for unseen databases from different datasets and domains. We validate our approach on multiple text-to-SQL datasets, considering both the overlapping and non-overlapping database scenarios, where it outperforms relevant baselines substantially.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 24 of its 35 references that are in the map. First posted on arXiv 28 May 2025.

Builds on

24 of 35 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  4. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  5. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  6. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  7. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  8. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
  9. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
  10. 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 238
  11. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 164
  12. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 164
12 more
  1. 2017SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learningcited by 135
  2. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
  3. 2024MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generationcited by 105
  4. 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
  5. 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 58
  6. 2024LAB: Large-Scale Alignment for ChatBotscited by 39
  7. 2024Knowledge-to-SQL: Enhancing SQL Generation with Data Expert LLMcited by 35
  8. 2022Prompting as Probing: Using Language Models for Knowledge Base Constructioncited by 32
  9. 2017An Encoder-Decoder Framework Translating Natural Language to Database Queriescited by 23
  10. 2023Divide and Prompt: Chain of Thought Prompting for Text-to-SQLcited by 20
  11. 2023Towards Knowledge-Intensive Text-to-SQL Semantic Parsing with Formulaic Knowledgecited by 18
  12. 2023Evaluating the Knowledge Base Completion Potential of GPTcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 7.

9 papers.