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

S $^2$ SQL:文本到SQL解析器的XML到XML模式交互图编码器

S$^2$SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parsers

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

Binyuan Hui, Ruiying Geng, Lihan Wang, Bowen Qin, Bowen Li, Jian Sun, Yongbin Li

摘要:

将自然语言问题转换为可执行的SQL查询的任务,称为文本到SQL,是语义解析的一个重要分支。国家的最先进的基于图形的编码器已成功地用于这项任务,但没有建模的问题语法很好。本文提出了S $^2$ SQL,在文本到SQL解析器的问题模式图编码器中注入了XML,有效地利用了文本到SQL中问题的语法依赖信息,提高了性能。我们还采用解耦约束诱导不同的关系边嵌入,这进一步提高了网络的性能。在Spider和鲁棒性设置Spider-Syn上的实验表明,当使用预训练模型时,所提出的方法优于所有现有方法,从而在Spider排行榜上排名第一。

英文摘要:

The task of converting a natural language question into an executable SQL query, known as text-to-SQL, is an important branch of semantic parsing. The state-of-the-art graph-based encoder has been successfully used in this task but does not model the question syntax well. In this paper, we propose S$^2$SQL, injecting Syntax to question-Schema graph encoder for Text-to-SQL parsers, which effectively leverages the syntactic dependency information of questions in text-to-SQL to improve the performance. We also employ the decoupling constraint to induce diverse relational edge embedding, which further improves the network's performance. Experiments on the Spider and robustness setting Spider-Syn demonstrate that the proposed approach outperforms all existing methods when pre-training models are used, resulting in a performance ranks first on the Spider leaderboard.

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

↑