arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2102.10588cs.DB
收藏

LMKG:知识图谱中基数估计的学习模型

LMKG: Learned Models for Cardinality Estimation in Knowledge Graphs

Angjela Davitkova, Damjan Gjurovski, Sebastian Michel

摘要:

准确的基数估计是实现最佳查询计划的关键因素。对于RDF引擎,特别是在常见的知识图谱处理工作负载下,缺乏模式、相关谓词以及涉及多个连接的各种类型的查询,使得基数估计成为一项特别具有挑战性的任务。在本文中,我们开发了一个框架,称为LMKG,采用深度学习方法,有效地估计RDF图查询的基数。我们采用两种监督(即,深度神经网络)和无监督(即,自回归模型)方法,其适应于子图模式并产生更准确的基数估计。为了将底层数据提供给模型,我们提出了一种新的编码,将查询表示为子图模式。通过对真实世界和合成数据集的广泛实验,我们评估了我们的模型,并表明它们在准确性和执行时间方面总体上优于最先进的方法。

英文摘要:

Accurate cardinality estimates are a key ingredient to achieve optimal query plans. For RDF engines, specifically under common knowledge graph processing workloads, the lack of schema, correlated predicates, and various types of queries involving multiple joins, render cardinality estimation a particularly challenging task. In this paper, we develop a framework, termed LMKG, that adopts deep learning approaches for effectively estimating the cardinality of queries over RDF graphs. We employ both supervised (i.e., deep neural networks) and unsupervised (i.e., autoregressive models) approaches that adapt to the subgraph patterns and produce more accurate cardinality estimates. To feed the underlying data to the models, we put forward a novel encoding that represents the queries as subgraph patterns. Through extensive experiments on both real-world and synthetic datasets, we evaluate our models and show that they overall outperform the state-of-the-art approaches in terms of accuracy and execution time.

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

↑