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

神经数据库

Neural Databases

University of Cambridge(剑桥大学);Facebook AI(脸书人工智能研究院)

James Thorne, Majid Yazdani, Marzieh Saeidi, Fabrizio Silvestri, Sebastian Riedel, Alon Halevy

摘要:

近年来,神经网络在解决长期存在的人工智能问题方面表现出了令人印象深刻的性能提升,特别是在回答来自自然语言文本的查询方面。这些进步提出了一个问题,即它们是否可以扩展到我们可以放松数据库管理的基本假设的程度,即我们的数据表示为预定义模式的字段。本文提出了回答这个问题的第一步。我们描述了NeuralDB,一个数据库系统,没有预定义的模式,在其中的更新和查询是在自然语言。我们开发的查询处理技术,建立在最先进的自然语言处理方法提供的原语。首先,我们展示了在核心,最近的NLP Transformers,由预先训练的语言模型驱动,可以回答选择项目连接查询,如果他们被赋予确切的相关事实集。但是,它们不能扩展到重要的数据库,也不能执行聚合查询。基于这些发现,我们描述了一个并行运行多个Neural SPJ操作符的NeuralDB架构,每个操作符都有一组数据库语句,可以生成查询的一个答案。如果需要,这些运算符的结果被馈送到聚合运算符。我们描述了一种算法,该算法学习如何创建要馈送到每个神经SPJ运算符中的适当事实集。重要的是,该算法可以通过Neural SPJ算子本身进行训练。我们通过实验验证了NeuralDB及其组件的准确性,表明我们可以以非常高的准确性回答数千个句子的查询。

英文摘要:

In recent years, neural networks have shown impressive performance gains on long-standing AI problems, and in particular, answering queries from natural language text. These advances raise the question of whether they can be extended to a point where we can relax the fundamental assumption of database management, namely, that our data is represented as fields of a pre-defined schema. This paper presents a first step in answering that question. We describe NeuralDB, a database system with no pre-defined schema, in which updates and queries are given in natural language. We develop query processing techniques that build on the primitives offered by the state of the art Natural Language Processing methods. We begin by demonstrating that at the core, recent NLP transformers, powered by pre-trained language models, can answer select-project-join queries if they are given the exact set of relevant facts. However, they cannot scale to non-trivial databases and cannot perform aggregation queries. Based on these findings, we describe a NeuralDB architecture that runs multiple Neural SPJ operators in parallel, each with a set of database sentences that can produce one of the answers to the query. The result of these operators is fed to an aggregation operator if needed. We describe an algorithm that learns how to create the appropriate sets of facts to be fed into each of the Neural SPJ operators. Importantly, this algorithm can be trained by the Neural SPJ operator itself. We experimentally validate the accuracy of NeuralDB and its components, showing that we can answer queries over thousands of sentences with very high accuracy.

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

↑