mlsanityData to 14 Oct 2026

Synthetic SQL Column Descriptions and Their Impact on Text-to-SQL Performance

arXiv 2408.04691 ↗First posted 8 Aug 2024cs.CL cs.AI cs.DBcited by 6

Not on the map. Why?

Abstract (arXiv)

Relational databases often suffer from uninformative descriptors of table contents, such as ambiguous columns and hard-to-interpret values, impacting both human users and text-to-SQL models. In this paper, we explore the use of large language models (LLMs) to automatically generate detailed natural language descriptions for SQL database columns, aiming to improve text-to-SQL performance and automate metadata creation. We create a dataset of gold column descriptions based on the BIRD-Bench benchmark, manually refining its column descriptions and creating a taxonomy for categorizing column difficulty. We then evaluate several different LLMs in generating column descriptions across the columns and different difficulties in the dataset, finding that models unsurprisingly struggle with columns that exhibit inherent ambiguity, highlighting the need for manual expert input. We also find that incorporating such generated column descriptions consistently enhances text-to-SQL model performance, particularly for larger models like GPT-4o, Qwen2 72B and Mixtral 22Bx8. Notably, Qwen2-generated descriptions, containing by annotators deemed superfluous information, outperform manually curated gold descriptions, suggesting that models benefit from more detailed metadata than humans expect. Future work will investigate the specific features of these high-performing descriptions and explore other types of metadata, such as numerical reasoning and synonyms, to further improve text-to-SQL systems. The dataset, annotations and code will all be made available.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 18 of its 24 references that are in the map. First posted on arXiv 8 Aug 2024.

Builds on

18 of 24 references.

References · 18

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  3. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  4. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  5. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
  6. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 434
  7. 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
  8. 2022TableFormer: Robust Transformer Modeling for Table-Text Encodingcited by 91
  9. 2024Before Generation, Align it! A Novel and Effective Strategy for Mitigating Hallucinations in Text-to-SQL Generationcited by 50
  10. 2024Knowledge-to-SQL: Enhancing SQL Generation with Data Expert LLMcited by 35
  11. 2023MultiTabQA: Generating Tabular Answers for Multi-Table Question Answeringcited by 32
  12. 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Surveycited by 27
6 more
  1. 2021TCN: Table Convolutional Network for Web Table Interpretationcited by 24
  2. 2019Table-to-Text Generation with Effective Hierarchical Encoder on Three Dimensions (Row, Column and Time)cited by 18
  3. 2023Towards Knowledge-Intensive Text-to-SQL Semantic Parsing with Formulaic Knowledgecited by 18
  4. 2023NameGuess: Column Name Expansion for Tabular Datacited by 13
  5. 2023TabGenie: A Toolkit for Table-to-Text Generationcited by 7
  6. 2018Embedding Individual Table Columns for Resilient SQL Chatbotscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.