arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15186cs.CL
收藏

关于在大语言模型用于文本到SQL任务中的研究综述

A Survey on Employing Large Language Models for Text-to-SQL Tasks

School of Computer Science, Peking University(北京大学计算机科学系);SINGDATA CLOUD PTE. LTD(SINGDATA CLOUD 股份有限公司)

Liang Shi, Zhengju Tang, Nan Zhang, Xiaotong Zhang, Zhi Yang

AI总结:

本文综述了基于大语言模型的文本到SQL方法,系统梳理了提示工程与微调两大主流技术路线、基准与评估指标,并分析了现有模型表现、挑战及未来方向。

摘要:

随着大语言模型(LLMs)的发展,涌现了大量基于LLM的文本到SQL(Text2SQL)方法。本综述对基于LLM的Text2SQL研究进行了全面回顾。我们首先列举了经典基准和评估指标。针对提示工程和微调这两种主流方法,我们介绍了一个全面的分类体系,并对每个子类提供了实用见解。我们对上述方法以及在知名数据集上评估的各种模型进行了整体分析,并提取出一些特征。最后,我们讨论了该领域面临的挑战和未来方向。

英文摘要:

With the development of the Large Language Models (LLMs), a large range of LLM-based Text-to-SQL(Text2SQL) methods have emerged. This survey provides a comprehensive review of LLM-based Text2SQL studies. We first enumerate classic benchmarks and evaluation metrics. For the two mainstream methods, prompt engineering and finetuning, we introduce a comprehensive taxonomy and offer practical insights into each subcategory. We present an overall analysis of the above methods and various models evaluated on well-known datasets and extract some characteristics. Finally, we discuss the challenges and future directions in this field.

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

↑