arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1809.02649cs.AIcs.CL
收藏

一种可迁移学习的数据库自然语言接口

A Transfer-Learnable Natural Language Interface for Databases

Auburn University(奥本大学);Stony Brook University(石溪大学);Stanford University(斯坦福大学);WeWork Research(WeWork研究院)

Wenlu Wang, Yingtao Tian, Hongyu Xiong, Haixun Wang, Wei-Shinn Ku

摘要:

关系数据库管理系统(RDBMS)是强大的,因为它们能够优化和回答针对任何关系数据库的查询。另一方面,数据库的自然语言接口(NLI)是为支持该特定数据库而定制的。在这项工作中,我们介绍了一个通用的可转移学习的NLI学习的一个模型,可以用作任何关系数据库的NLI的目标。我们采用了分离数据及其模式的数据管理原则,但对自然语言的特性和复杂性提供了额外的支持。具体来说,我们引入了一个自动注释机制,分离的模式和数据,其中的模式也涵盖了自然语言的知识。此外,我们提出了一个定制的序列模型,翻译带注释的自然语言查询SQL语句。我们在实验中表明,我们的方法在WikiSQL数据集上的性能优于以前的NLI方法,并且我们学习的模型可以在没有重新训练的情况下应用于另一个基准数据集。

英文摘要:

Relational database management systems (RDBMSs) are powerful because they are able to optimize and answer queries against any relational database. A natural language interface (NLI) for a database, on the other hand, is tailored to support that specific database. In this work, we introduce a general purpose transfer-learnable NLI with the goal of learning one model that can be used as NLI for any relational database. We adopt the data management principle of separating data and its schema, but with the additional support for the idiosyncrasy and complexity of natural languages. Specifically, we introduce an automatic annotation mechanism that separates the schema and the data, where the schema also covers knowledge about natural language. Furthermore, we propose a customized sequence model that translates annotated natural language queries to SQL statements. We show in experiments that our approach outperforms previous NLI methods on the WikiSQL dataset and the model we learned can be applied to another benchmark dataset OVERNIGHT without retraining.

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

↑