arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.05208cs.AIcs.DB
收藏

基于大语言模型的生成式人工智能在文本到SQL中的应用综述:基准、应用、用例与挑战

A Survey of Large Language Model-Based Generative AI for Text-to-SQL: Benchmarks, Applications, Use Cases, and Challenges

Cleveland State University(克利夫兰州立大学);The Davey Tree Expert Company(戴维树专家公司);The MathWorks(MathWorks公司);Khoury College of Computer Science, Roux Institute at Northeastern University(东北大学鲁克斯研究所科里计算机科学学院)

Aditi Singh, Akash Shetty, Abul Ehtesham, Saket Kumar, Tala Talaei Khoei

AI总结:

本文综述了基于大语言模型的文本到SQL系统,涵盖基准、应用与挑战,并提出支持NoSQL和动态交互的未来研究方向。

摘要:

文本到SQL系统通过将自然语言查询转换为结构化查询语言(SQL),促进了与数据库的平滑交互,弥合了非技术用户与复杂数据库管理系统之间的鸿沟。本综述全面概述了人工智能驱动的文本到SQL系统的演变,重点介绍了其基础组件、大语言模型(LLM)架构的进展,以及Spider、WikiSQL和CoSQL等数据集在推动进步中的关键作用。我们考察了文本到SQL在医疗、教育和金融等领域的应用,强调了其在改善数据可访问性方面的变革潜力。此外,我们分析了持续存在的挑战,包括领域泛化、查询优化、对多轮对话交互的支持,以及针对NoSQL数据库和动态现实场景的数据集可用性有限的问题。为应对这些挑战,我们概述了未来的研究方向,例如扩展文本到SQL能力以支持NoSQL数据库、设计用于动态多轮交互的数据集,以及优化系统以实现现实世界的可扩展性和鲁棒性。通过综述当前进展并识别关键差距,本文旨在指导基于LLM的文本到SQL系统的下一代研究与应用。

英文摘要:

Text-to-SQL systems facilitate smooth interaction with databases by translating natural language queries into Structured Query Language (SQL), bridging the gap between non-technical users and complex database management systems. This survey provides a comprehensive overview of the evolution of AI-driven text-to-SQL systems, highlighting their foundational components, advancements in large language model (LLM) architectures, and the critical role of datasets such as Spider, WikiSQL, and CoSQL in driving progress. We examine the applications of text-to-SQL in domains like healthcare, education, and finance, emphasizing their transformative potential for improving data accessibility. Additionally, we analyze persistent challenges, including domain generalization, query optimization, support for multi-turn conversational interactions, and the limited availability of datasets tailored for NoSQL databases and dynamic real-world scenarios. To address these challenges, we outline future research directions, such as extending text-to-SQL capabilities to support NoSQL databases, designing datasets for dynamic multi-turn interactions, and optimizing systems for real-world scalability and robustness. By surveying current advancements and identifying key gaps, this paper aims to guide the next generation of research and applications in LLM-based text-to-SQL systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑