Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLs

AI-generated keywords: Text-to-SQL parsing

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Growing interest in text-to-SQL parsing
  • Advancements made by models like Codex and ChatGPT
  • Existing benchmarks like Spider and WikiSQL focus on database schema with limited contents
  • Introduction of the Bird benchmark catering to large-scale databases and text-to-SQL tasks
  • Key features of Bird emphasizing database values, dealing with dirty contents, incorporating external knowledge, and optimizing SQL efficiency
  • Importance of considering database values in generating accurate text-to-SQL queries for large databases
  • Execution accuracy gap between state-of-the-art models and human performance
  • Efficiency analysis provided by Bird for generating efficient text-to-SQL queries
  • Belief that Bird benchmark will advance practical applications of text-to-SQL research
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Jinyang Li, Binyuan Hui, Ge Qu, Binhua Li, Jiaxi Yang, Bowen Li, Bailin Wang, Bowen Qin, Rongyu Cao, Ruiying Geng, Nan Huo, Chenhao Ma, Kevin C. C. Chang, Fei Huang, Reynold Cheng, Yongbin Li

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 problems, text-to-SQL models must feature database value comprehension in addition to semantic parsing. The experimental results demonstrate the significance of database values in generating accurate text-to-SQLs for big databases. Furthermore, even the most effective text-to-SQL models, i.e. ChatGPT, only achieves 40.08% in execution accuracy, which is still far from the human result of 92.96%, proving that challenges still stand. Besides, we also provide an efficiency analysis to offer insights into generating text-to-efficient-SQLs that are beneficial to industries. We believe that BIRD will contribute to advancing real-world applications of text-to-SQL research. The leaderboard and source code are available: https://bird-bench.github.io/.

Submitted to arXiv on 04 May. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2305.03111v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

, , , , In recent years, there has been a growing interest in text-to-SQL parsing, which involves converting natural language instructions into executable SQL queries. Notably, advancements in this field have been made by models such as Codex and ChatGPT, showcasing impressive results. However, existing benchmarks like Spider and WikiSQL primarily focus on database schema with limited database contents, creating a gap between academic research and real-world applications. To address this disparity, a new benchmark called Bird has been introduced. The Bird benchmark is designed to cater to large-scale databases and text-to-SQL tasks, comprising 12,751 pairs of data and 95 databases totaling 33.4 GB across 37 professional domains. One of the key features of Bird is its emphasis on database values, presenting unique challenges such as dealing with dirty database contents, incorporating external knowledge from NL questions into SQL queries, and optimizing SQL efficiency for massive databases. In order to effectively tackle these challenges, text-to-SQL models need to excel not only at semantic parsing but also demonstrate proficiency in understanding database values. Experimental results from Bird underscore the importance of considering database values in generating accurate text-to-SQL queries for large databases. Despite the progress made by state-of-the-art models like ChatGPT, which achieves an execution accuracy of 40.08%, there is still a significant gap compared to human performance at 92.96%. Additionally, Bird offers an efficiency analysis that provides valuable insights for generating efficient text-to-SQL queries beneficial for industries. The creators of Bird believe that this benchmark will play a crucial role in advancing the practical applications of text-to-SQL research. For those interested in exploring further details or accessing the leaderboard and source code for Bird, visit https://bird-bench.github.io/.
Created on 16 Jul. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.