The Dawn of Natural Language to SQL: Are We Fully Ready?

Boyan Li, Yuyu Luo*, Chengliang Chai, Guoliang Li, Nan Tang

*此作品的通讯作者

科研成果: 期刊稿件会议文章同行评审

1 引用 (Scopus)

摘要

Translating users’ natural language questions into SQL queries (i.e., nl2sql) significantly lowers the barriers to accessing relational databases. The emergence of Large Language Models has introduced novel paradigm in NL2SQL tasks, enhancing capabilities dramatically. However, this raises a critical question: Are we fully prepared to deploy NL2SQL models in production? To address the posed questions, we present a multi-angle NL2SQL evaluation framework, NL2SQL360, to facilitate the design and test of new NL2SQL methods for researchers. Through NL2SQL360, we conduct a detailed comparison of leading NL2SQL methods across a range of applications cenarios, such as different data domains and SQL characteristics, offering valuable insights for selecting the most appropriate NL2SQL methods for specific needs. Moreover, we explore the NL2SQL design space, leveraging NL2SQL360 to automate the identification of an optimal NL2SQL solution tailored to user specific needs. Specifically, NL2SQL360 identifies an effective NL2SQL method, SuperSQL, distinguished under the Spider data set using the execution accuracy metric. Remarkably, Super SQL achieves competitive performance with execution accuracy of 87% and 62.66% on the Spider and BIRD test sets, respectively.

源语言英语
页(从-至)3318-3331
页数14
期刊Proceedings of the VLDB Endowment
17
11
DOI
出版状态已出版 - 2024
活动50th International Conference on Very Large Data Bases, VLDB 2024 - Guangzhou, 中国
期限: 24 8月 202429 8月 2024

指纹

探究 'The Dawn of Natural Language to SQL: Are We Fully Ready?' 的科研主题。它们共同构成独一无二的指纹。

引用此