认知数据库:向赋予关系数据库人工智能能力迈出的一步
Cognitive Database: A Step towards Endowing Relational Databases with Artificial Intelligence Capabilities
摘要:
我们提出了认知数据库,一种透明地使关系数据库中的人工智能(AI)功能的方法。我们设计的一个新颖方面是首先将结构化数据源视为有意义的非结构化文本,然后使用该文本使用称为词嵌入的自然语言处理(NLP)技术构建无监督神经网络模型。该模型捕获不同类型的数据库标记之间隐藏的列间/列内关系。对于每个数据库令牌,模型包括编码上下文语义关系的向量。我们将词嵌入模型无缝集成到现有的SQL查询基础设施中,并使用它来实现一类新的基于SQL的分析查询,称为认知智能(CI)查询。CI查询使用模型向量来实现复杂查询,例如语义匹配、归纳推理查询(例如类比)、使用数据库中不存在的实体的预测查询,以及更一般地,使用来自外部源的知识。我们展示了认知数据库的独特功能,使用基于Apache Spark的原型在包含文本和图像的多模态数据库上执行归纳推理CI查询。我们相信我们的第一个同类系统证明了使用AI功能赋予关系数据库以前在实践中很难实现的功能。
英文摘要:
We propose Cognitive Databases, an approach for transparently enabling Artificial Intelligence (AI) capabilities in relational databases. A novel aspect of our design is to first view the structured data source as meaningful unstructured text, and then use the text to build an unsupervised neural network model using a Natural Language Processing (NLP) technique called word embedding. This model captures the hidden inter-/intra-column relationships between database tokens of different types. For each database token, the model includes a vector that encodes contextual semantic relationships. We seamlessly integrate the word embedding model into existing SQL query infrastructure and use it to enable a new class of SQL-based analytics queries called cognitive intelligence (CI) queries. CI queries use the model vectors to enable complex queries such as semantic matching, inductive reasoning queries such as analogies, predictive queries using entities not present in a database, and, more generally, using knowledge from external sources. We demonstrate unique capabilities of Cognitive Databases using an Apache Spark based prototype to execute inductive reasoning CI queries over a multi-modal database containing text and images. We believe our first-of-a-kind system exemplifies using AI functionality to endow relational databases with capabilities that were previously very hard to realize in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。