Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLs
Jinyang Li, Binyuan Hui, Ge Qu, Jiaxi Yang, Binhua Li, Bowen Li,, Bailin Wang, Bowen Qin, Rongyu Cao, Ruiying Geng, Nan Huo, Xuanhe Zhou,, Chenhao Ma, Guoliang Li, Kevin C.C. Chang, Fei Huang, Reynold Cheng, Yongbin, Li

TL;DR
This paper introduces Bird, a large-scale benchmark for text-to-SQL tasks on extensive databases, highlighting challenges like database value comprehension and demonstrating that current models like ChatGPT still have significant room for improvement in real-world scenarios.
Contribution
The paper presents Bird, a comprehensive benchmark with large-scale databases, emphasizing database value understanding and providing insights into model performance and efficiency in real-world applications.
Findings
ChatGPT achieves only 40.08% execution accuracy on Bird.
Database values significantly impact text-to-SQL accuracy.
Challenges remain in scaling text-to-SQL models for large databases.
Abstract
Text-to-SQL parsing, which aims at converting natural language instructions into executable SQLs, has gained increasing attention in recent years. In particular, Codex and ChatGPT have shown impressive results in this task. However, most of the prevalent benchmarks, i.e., Spider, and WikiSQL, focus on database schema with few rows of database contents leaving the gap between academic study and real-world applications. To mitigate this gap, we present Bird, a big benchmark for large-scale database grounded in text-to-SQL tasks, containing 12,751 pairs of text-to-SQL data and 95 databases with a total size of 33.4 GB, spanning 37 professional domains. Our emphasis on database values highlights the new challenges of dirty database contents, external knowledge between NL questions and database contents, and SQL efficiency, particularly in the context of massive databases. To solve these…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗google/gemma-3-270mmodel· 83k dl· ♡ 100383k dl♡ 1003
- 🤗google/gemma-3-270m-itmodel· 111k dl· ♡ 569111k dl♡ 569
- 🤗unsloth/gemma-3-270m-itmodel· 24k dl· ♡ 2324k dl♡ 23
- 🤗unsloth/gemma-3-270m-it-GGUFmodel· 69k dl· ♡ 15869k dl♡ 158
- 🤗litert-community/gemma-3-270m-itmodel· 2.1k dl· ♡ 432.1k dl♡ 43
- 🤗p-e-w/gemma-3-270m-it-hereticmodel· 327 dl· ♡ 13327 dl♡ 13
- 🤗patrickNLP/Graphix-3Bmodel· 8 dl· ♡ 188 dl♡ 18
- 🤗google/gemma-3-270m-qat-q4_0-unquantizedmodel· 42 dl· ♡ 842 dl♡ 8
- 🤗onnx-community/gemma-3-270m-it-ONNXmodel· 1.6k dl· ♡ 261.6k dl♡ 26
- 🤗google/gemma-3-270m-it-qat-q4_0-unquantizedmodel· 211 dl· ♡ 12211 dl♡ 12
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Software Engineering Research
