arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2208.13629cs.CL
收藏

文本到SQL解析综述:概念、方法和未来方向

A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directions

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团);The University of Hong Kong(香港大学)

Bowen Qin, Binyuan Hui, Lihan Wang, Min Yang, Jinyang Li, Binhua Li, Ruiying Geng, Rongyu Cao, Jian Sun, Luo Si, Fei Huang, Yongbin Li

摘要:

文本到SQL解析是一项重要且具有挑战性的任务。文本到SQL解析的目标是基于关系数据库提供的证据将自然语言(NL)问题转换为相应的结构化查询语言(SQL)。数据库社区早期的文本到SQL解析系统取得了显著的进步,但付出了大量的人力工程和用户与系统交互的代价。近年来,深度神经网络通过神经生成模型显着推进了这一任务,该模型自动学习从输入NL问题到输出SQL查询的映射函数。随后,大型预训练的语言模型将文本到SQL解析任务的最新水平提升到了一个新的水平。在本调查中,我们对文本到SQL解析的深度学习方法进行了全面的回顾。首先,我们介绍了文本到SQL的分析语料库,可以分为单轮和多轮。其次,我们提供了一个系统的概述预训练的语言模型和现有的方法,文本到SQL解析。第三,我们向读者介绍了文本到SQL解析所面临的挑战,并探讨了该领域未来的一些潜在方向。

英文摘要:

Text-to-SQL parsing is an essential and challenging task. The goal of text-to-SQL parsing is to convert a natural language (NL) question to its corresponding structured query language (SQL) based on the evidences provided by relational databases. Early text-to-SQL parsing systems from the database community achieved a noticeable progress with the cost of heavy human engineering and user interactions with the systems. In recent years, deep neural networks have significantly advanced this task by neural generation models, which automatically learn a mapping function from an input NL question to an output SQL query. Subsequently, the large pre-trained language models have taken the state-of-the-art of the text-to-SQL parsing task to a new level. In this survey, we present a comprehensive review on deep learning approaches for text-to-SQL parsing. First, we introduce the text-to-SQL parsing corpora which can be categorized as single-turn and multi-turn. Second, we provide a systematical overview of pre-trained language models and existing methods for text-to-SQL parsing. Third, we present readers with the challenges faced by text-to-SQL parsing and explore some potential future directions in this field.

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

↑