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

解耦SQL查询难度解析用于Text-to-SQL

Decoupling SQL Query Hardness Parsing for Text-to-SQL

Central South University(中南大学)

Jiawen Yi, Guo Chen

AI总结:

本文提出一种基于解耦SQL查询难度解析的Text-to-SQL框架,通过分析问题和模式将多难度任务简化为单一难度,降低语言模型解析压力,并在Spider开发集上取得微调方法的新最先进性能。

摘要:

Text-to-SQL任务的基本目标是将自然语言问题转换为SQL查询。当前研究主要强调自然语言问题与数据库模式之间的信息耦合,并在此领域取得了显著进展。自然语言问题作为主要任务需求的来源,决定了相应SQL查询的难度,但两者之间的关联性往往被忽视。然而,当问题与查询之间的关联被解耦时,任务可能会被简化。在本文中,我们提出了一种基于解耦SQL查询难度解析的Text-to-SQL创新框架。该框架通过分析问题和模式,根据查询难度对Text-to-SQL任务进行解耦,将多难度任务简化为单一难度挑战。这大大降低了语言模型的解析压力。我们评估了所提出的框架,并在Spider开发集上取得了微调方法的新最先进性能。

英文摘要:

The fundamental goal of the Text-to-SQL task is to translate natural language question into SQL query. Current research primarily emphasizes the information coupling between natural language questions and schemas, and significant progress has been made in this area. The natural language questions as the primary task requirements source determines the hardness of correspond SQL queries, the correlation between the two always be ignored. However, when the correlation between questions and queries was decoupled, it may simplify the task. In this paper, we introduce an innovative framework for Text-to-SQL based on decoupling SQL query hardness parsing. This framework decouples the Text-to-SQL task based on query hardness by analyzing questions and schemas, simplifying the multi-hardness task into a single-hardness challenge. This greatly reduces the parsing pressure on the language model. We evaluate our proposed framework and achieve a new state-of-the-art performance of fine-turning methods on Spider dev.

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

↑