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

产生SQL的双向注意

Bidirectional Attention for SQL Generation

Lenovo AI Lab(联想人工智能实验室);China Electronic Technology Group Corporation Information Science Academy(中国电子科技集团公司信息科学研究院)

Tong Guo, Huilin Gao

摘要:

从自然语言生成结构化查询语言(SQL)查询是一个长期存在的问题。对关于数据库表的自然语言问题进行建模需要对表的列与问题之间的复杂交互进行建模。在本文中,我们采用综合的方法来解决这个问题。基于SQL查询的结构,我们将模型分解为三个子模块,并为每个子模块设计了特定的深度神经网络。从类似的机器阅读任务中得到启发,我们采用双向注意力机制和卷积神经网络(CNN)的字符级嵌入来改善结果。实验结果表明,该模型在WikiSQL数据集上取得了较好的效果。

英文摘要:

Generating structural query language (SQL) queries from natural language is a long-standing open problem. Answering a natural language question about a database table requires modeling complex interactions between the columns of the table and the question. In this paper, we apply the synthesizing approach to solve this problem. Based on the structure of SQL queries, we break down the model to three sub-modules and design specific deep neural networks for each of them. Taking inspiration from the similar machine reading task, we employ the bidirectional attention mechanisms and character-level embedding with convolutional neural networks (CNNs) to improve the result. Experimental evaluations show that our model achieves the state-of-the-art results in WikiSQL dataset.

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

↑