arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.05255cs.CLcs.LG
收藏

基于图-序列模型的SQL转文本生成

SQL-to-Text Generation with Graph-to-Sequence Model

Tencent AI Lab(腾讯人工智能实验室);IBM Research(IBM研究院);Peking University(北京大学)

Kun Xu, Lingfei Wu, Zhiguo Wang, Yansong Feng, Vadim Sheinin

摘要:

以前的工作接近SQL到文本生成任务使用香草Seq 2Seq模型,这可能无法完全捕获SQL查询中固有的图结构信息。在本文中,我们首先介绍了一种策略来表示SQL查询作为一个有向图,然后采用图序列模型编码的全局结构信息到节点嵌入。该模型可以有效地学习SQL查询模式及其解释之间的相关性。在WikiSQL数据集和Stackoverflow数据集上的实验结果表明,我们的模型显著优于Seq 2Seq和Tree 2Seq基线,达到了最先进的性能。

英文摘要:

Previous work approaches the SQL-to-text generation task using vanilla Seq2Seq models, which may not fully capture the inherent graph-structured information in SQL query. In this paper, we first introduce a strategy to represent the SQL query as a directed graph and then employ a graph-to-sequence model to encode the global structure information into node embeddings. This model can effectively learn the correlation between the SQL query pattern and its interpretation. Experimental results on the WikiSQL dataset and Stackoverflow dataset show that our model significantly outperforms the Seq2Seq and Tree2Seq baselines, achieving the state-of-the-art performance.

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

↑