mlsanityData to 14 Oct 2026

Automatic Metadata Extraction for Text-to-SQL

arXiv 2505.19988 ↗First posted 26 May 2025cs.DBcited by 27

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have recently become sophisticated enough to automate many tasks ranging from pattern finding to writing assistance to code generation. In this paper, we examine text-to-SQL generation. We have observed from decades of experience that the most difficult part of query development lies in understanding the database contents. These experiences inform the direction of our research. Text-to-SQL benchmarks such as SPIDER and Bird contain extensive metadata that is generally not available in practice. Human-generated metadata requires the use of expensive Subject Matter Experts (SMEs), who are often not fully aware of many aspects of their databases. In this paper, we explore techniques for automatic metadata extraction to enable text-to-SQL generation. We explore the use of two standard and one newer metadata extraction techniques: profiling, query log analysis, and SQL-to text generation using an LLM. We use BIRD benchmark [JHQY+23] to evaluate the effectiveness of these techniques. BIRD does not provide query logs on their test database, so we prepared a submission that uses profiling alone, and does not use any specially tuned model (we used GPT-4o). From Sept 1 to Sept 23, 2024, and Nov 11 through Nov 23, 2024 we achieved the highest score both with and without using the "oracle" information provided with the question set. We regained the number 1 spot on Mar 11, 2025, and are still at #1 at the time of the writing (May, 2025).

Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 May 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 13; 2026: 14.

27 papers.

Sort:

By area:

  1. 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?cited by 30
  2. 2025Agentar-Scale-SQL: Advancing Text-to-SQL through Orchestrated Test-Time Scalingcited by 24
  3. 2025SLM-SQL: An Exploration of Small Language Models for Text-to-SQLcited by 10
  4. 2025Text-to-SQL as Dual-State Reasoning: Integrating Adaptive Context and Progressive Generationcited by 10
  5. 2026APEX-SQL: Talking to the data via Agentic Exploration for Text-to-SQLcited by 8
  6. 2025SING-SQL: A Synthetic Data Generation Framework for In-Domain Text-to-SQL Translationcited by 5
  7. 2025RubikSQL: Lifelong Learning Agentic Knowledge Base as an Industrial NL2SQL Systemcited by 4
  8. 2025SpotIt: Evaluating Text-to-SQL Evaluation with Formal Verificationcited by 4
  9. 2025BenchPress: A Human-in-the-Loop Annotation System for Rapid Text-to-SQL Benchmark Curationcited by 3
  10. 2026RoboPhD: Self-Improving Text-to-SQL Through Autonomous Agent Evolutioncited by 3
  11. 2026TRUST-SQL: Tool-Integrated Multi-Turn Reinforcement Learning for Text-to-SQL over Unknown Schemascited by 3
  12. 2026ELT-Bench-Verified: Benchmark Quality Issues Underestimate AI Agent Capabilitiescited by 3
15 more
  1. 2026Semantic Layers for Reliable LLM-Powered Data Analytics: A Paired Benchmark of Accuracy and Hallucination Across Three Frontier Modelscited by 3
  2. 2025Node-Level Uncertainty Estimation in LLM-Generated SQLcited by 2
  3. 2025AGRO-SQL: Agentic Group-Relative Optimization with High-Fidelity Data Synthesiscited by 2
  4. 2025SteinerSQL: Graph-Guided Mathematical Reasoning for Text-to-SQL Generationcited by 1
  5. 2025HES-SQL: Hybrid Reasoning for Efficient Text-to-SQL with Structural Skeleton Guidancecited by 1
  6. 2025Continual Learning of Domain Knowledge from Human Feedback in Text-to-SQLcited by 1
  7. 2026Human-Level Text-to-SQL via Reinforcement Learning on Verified Data, Without Pipeline Engineeringcited by 1
  8. 2026FGTR: Fine-Grained Multi-Table Retrieval via Hierarchical LLM Reasoningcited by 0
  9. 2026SODIUM: From Open Web Data to Queryable Databasescited by 0
  10. 2026Sophrosyne: Agentic Exploration of Relational Data Systems Needs Moderationcited by 0
  11. 2026Bootstrapping Semantic Layer from Execution for Text-to-SQLcited by 0
  12. 2026DexterSQL: Deep Schema Exploration and Rule-based Correction for Text-to-SQL Generationcited by 0
  13. 2026DualSQL: Text-to-SQL with Multi-Agent Reinforcement Learningcited by 0
  14. 2026AptMQL-Bench: From Text-to-SQL to Text-to-MQL via Access-Pattern Schema Design and Data-Preserving Migrationcited by 0
  15. 2026ARCS: Towards Precise Text-to-SQL via Structured Disambiguationcited by 0