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

TypeSQL:基于知识的类型感知神经文本到SQL生成

TypeSQL: Knowledge-based Type-Aware Neural Text-to-SQL Generation

Yale University(耶鲁大学)

Tao Yu, Zifan Li, Zilin Zhang, Rui Zhang, Dragomir Radev

摘要:

通过自然语言与关系数据库进行交互,可以帮助任何背景的用户轻松查询和分析海量数据。这就需要一个系统能够理解用户的问题,并自动将其转换为SQL查询。在本文中,我们提出了一种新的方法,TypeSQL,它认为这个问题作为一个插槽填充任务。此外,TypeSQL利用类型信息来更好地理解自然语言问题中的稀有实体和数字。我们在WikiSQL数据集上测试了这个想法,并在更短的时间内将现有技术的性能提高了5.5%。我们还表明,访问数据库的内容可以显着提高性能时,用户的查询是不规范的。TypeSQL获得了82.6%的准确率,与之前的内容敏感模型相比,绝对提高了17.5%。

英文摘要:

Interacting with relational databases through natural language helps users of any background easily query and analyze a vast amount of data. This requires a system that understands users' questions and converts them to SQL queries automatically. In this paper we present a novel approach, TypeSQL, which views this problem as a slot filling task. Additionally, TypeSQL utilizes type information to better understand rare entities and numbers in natural language questions. We test this idea on the WikiSQL dataset and outperform the prior state-of-the-art by 5.5% in much less time. We also show that accessing the content of databases can significantly improve the performance when users' queries are not well-formed. TypeSQL gets 82.6% accuracy, a 17.5% absolute improvement compared to the previous content-sensitive model.

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

↑