TY - JOUR
T1 - The Dawn of Natural Language to SQL
T2 - 50th International Conference on Very Large Data Bases, VLDB 2024
AU - Li, Boyan
AU - Luo, Yuyu
AU - Chai, Chengliang
AU - Li, Guoliang
AU - Tang, Nan
N1 - Publisher Copyright:
© 2024, VLDB Endowment. All rights reserved.
PY - 2024
Y1 - 2024
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85202279369&partnerID=8YFLogxK
U2 - 10.14778/3681954.3682003
DO - 10.14778/3681954.3682003
M3 - Conference article
AN - SCOPUS:85202279369
SN - 2150-8097
VL - 17
SP - 3318
EP - 3331
JO - Proceedings of the VLDB Endowment
JF - Proceedings of the VLDB Endowment
IS - 11
Y2 - 24 August 2024 through 29 August 2024
ER -