Data databases are essential components of nearly every computer program and online service. However, they can be rigid structures that constrain how the data could actually be used. The schemas need to preset for each database system; this means queries must have well-defined semantics written in SQL (structured query language). It’s hard to take advantage of unstructured data with a pre-set schema because everything needs to fit into its specific requirements.
Facebook’s new approach, called neural databases, will allow machines to search unstructured data – such as vast collections of text or recordings of songs. This could one day enable users to run complex queries like “what is the third-longest entry about a Russian novelist?” directly on Wikipedia.
A neural database bridges an important gap between the fields of databases and NLP, allowing people to pose ad hoc queries like “how many teams won away games by more than three points?” This is possible because, unlike standard structured data that only contains information in a strict format, these new systems have access to unstructured sources such as text. However, there are limitations since existing neural networks can’t query on collections without any structure at all. Machine learning models are powerful for tasks where data semantics are unclear, but they don’t have the benefits composition has. This makes it difficult or impossible to extend them to closely related predictions like “What percentage of reviews are positive?” Or even more specific questions like “How many directors under 30 released positively reviewed horror movies in the 1970s?”.
The proposed neural database architecture operates over textual facts with parallelizable nonblocking operators before aggregating the results. The three core components of this architecture are a support set generator (SSG), which retrieves small sets of relevant facts; a parallel, non-blocking operator that generates intermediate answers and can be unioned to produce the final answer; and an optional aggregation stage. The new architecture for neural networks has been successful because it takes advantage of what they do best: reasoning over a small set of facts.
This research by Facebook AI indicates that this method can scale; it can reason over many sets of facts as the number increases.
Neural databases, which combine machine learning and traditional database technologies, could one day enable people to access the entire world’s information. They would be able to search through any data that is available online but not stored in a standard database format like text or images. This includes newspapers articles from 80 years ago or genetic sequence records – anything! Since so much of the world’s knowledge exists outside of normal databases already today, neural applications will likely play an important role for research as well as everyday tasks soon enough.
Paper (Neural Databases): https://arxiv.org/pdf/2010.06973.pdf
Paper (Database reasoning over text): https://aclanthology.org/2021.acl-long.241.pdf
Asif Razzaq is an AI Journalist and Cofounder of Marktechpost, LLC. He is a visionary, entrepreneur and engineer who aspires to use the power of Artificial Intelligence for good.
Asif's latest venture is the development of an Artificial Intelligence Media Platform (Marktechpost) that will revolutionize how people can find relevant news related to Artificial Intelligence, Data Science and Machine Learning.
Asif was featured by Onalytica in it’s ‘Who’s Who in AI? (Influential Voices & Brands)’ as one of the 'Influential Journalists in AI' (https://onalytica.com/wp-content/uploads/2021/09/Whos-Who-In-AI.pdf). His interview was also featured by Onalytica (https://onalytica.com/blog/posts/interview-with-asif-razzaq/).