mlsanityData to 7 Oct 2026

CRUSH4SQL: Collective Retrieval Using Schema Hallucination For Text2SQL

arXiv 2311.01173 ↗First posted 2 Nov 2023cs.CLcited by 23

Not on the map. Why?

Abstract (arXiv)

Existing Text-to-SQL generators require the entire schema to be encoded with the user text. This is expensive or impractical for large databases with tens of thousands of columns. Standard dense retrieval techniques are inadequate for schema subsetting of a large structured database, where the correct semantics of retrieval demands that we rank sets of schema elements rather than individual elements. In response, we propose a two-stage process for effective coverage during retrieval. First, we instruct an LLM to hallucinate a minimal DB schema deemed adequate to answer the query. We use the hallucinated schema to retrieve a subset of the actual schema, by composing the results from multiple dense retrievals. Remarkably, hallucination unicodex2013 generally considered a nuisance unicodex2013 turns out to be actually useful as a bridging mechanism. Since no existing benchmarks exist for schema subsetting on large databases, we introduce three benchmarks. Two semi-synthetic datasets are derived from the union of schemas in two well-known datasets, SPIDER and BIRD, resulting in 4502 and 798 schema elements respectively. A real-life benchmark called SocialDB is sourced from an actual large data warehouse comprising 17844 schema elements. We show that our method1 leads to significantly higher recall than SOTA retrieval-based augmentation methods.

Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 18 of its 25 references that are in the map. First posted on arXiv 2 Nov 2023.

Builds on

18 of 25 references.

References · 18

  1. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
  2. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  3. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  4. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  5. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  6. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  7. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  8. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
  9. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
  10. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
  11. 2023Large Language Models are Zero-Shot Rankers for Recommender Systemscited by 307
  12. 2023Chat-REC: Towards Interactive and Explainable LLMs-Augmented Recommender Systemcited by 241
6 more
  1. 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
  2. 2020Break It Down: A Question Understanding Benchmarkcited by 131
  3. 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
  4. 2021Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Datacited by 43
  5. 2022From Easy to Hard: Two-stage Selector and Reader for Multi-hop Question Answeringcited by 12
  6. 2022Rethinking Label Smoothing on Multi-hop Question Answeringcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 11; 2026: 6.

23 papers.

Sort:

By area:

  1. 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
  2. 2025ReFoRCE: A Text-to-SQL Agent with Self-Refinement, Consensus Enforcement, and Column Explorationcited by 34
  3. 2024A Survey of Table Reasoning with Large Language Modelscited by 29
  4. 2024An Audit on the Perspectives and Challenges of Hallucinations in NLPcited by 17
  5. 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQLcited by 11
  6. 2024MURRE: Multi-Hop Table Retrieval with Removal for Open-Domain Text-to-SQLcited by 7
  7. 2024DAC: Decomposed Automation Correction for Text-to-SQLcited by 6
  8. 2025Evaluating and Improving Robustness in Large Language Models: A Survey and Future Directionscited by 5
  9. 2025Exploring the Landscape of Text-to-SQL with Large Language Models: Progresses, Challenges and Opportunitiescited by 4
  10. 2025RASL: Retrieval Augmented Schema Linking for Massive Database Text-to-SQLcited by 4
  11. 2025Rethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQLcited by 4
  12. 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligencecited by 2
11 more
  1. 2025PaVeRL-SQL: Text-to-SQL via Partial-Match Rewards and Verbal Reinforcement Learningcited by 2
  2. 2025Exploring Multi-Table Retrieval Through Iterative Searchcited by 2
  3. 2024Human Centered AI for Indian Legal Text Analyticscited by 1
  4. 2025CRED-SQL: Enhancing Real-world Large Scale Database Text-to-SQL Parsing through Cluster Retrieval and Execution Descriptioncited by 1
  5. 2025DynaQuery: A Self-Adapting Framework for Querying Structured and Multimodal Datacited by 0
  6. 2026Reliable Answers for Recurring Questions: Boosting Text-to-SQL Accuracy with Template Constrained Decodingcited by 0
  7. 2026Retrieve Only Relevant Tables Whether Few or Many: Adaptive Table Retrieval Methodcited by 0
  8. 2026CAPER: Clause-Aligned Process Supervision for Text-to-SQLcited by 0
  9. 2026Database Context Compression for Text-to-SQL on Real-World Large Databasescited by 0
  10. 2026REALMS: An AI-Assistant Conversational System for Real-Time Exact Audience Sizing over High-Dimensional Nested Profilescited by 0
  11. 2026BudgetSchemaBench: A Budget-Swept Diagnostic for Schema Context in Text-to-SQLcited by 0