Neural Databases
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 1; 2024: 1.
6 papers.
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2021Relational World Knowledge Representation in Contextual Language Models: A Reviewcited by 31
- 2022Conversational Question Answering on Heterogeneous Sourcescited by 26
- 2024UQE: A Query Engine for Unstructured Databasescited by 18
- 2021Ember: No-Code Context Enrichment via Similarity-Based Keyless Joinscited by 7
- 2023A Data Source for Reasoning Embodied Agentscited by 1
- 2024UQE: A Query Engine for Unstructured Databases23 Jun 2024
- 2023A Data Source for Reasoning Embodied Agents14 Sep 2023
- 2022Conversational Question Answering on Heterogeneous Sources25 Apr 2022
- 2021Ember: No-Code Context Enrichment via Similarity-Based Keyless Joins2 Jun 2021
- 2021Relational World Knowledge Representation in Contextual Language Models: A Review12 Apr 2021
- 2021Measuring and Improving Consistency in Pretrained Language Models1 Feb 2021