计算机科学 > 数据库
[提交于 2021年2月21日]
标题:LMKG: Learned Models for Cardinality Estimation in Knowledge Graphs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Damjan Gjurovski[v1] 2021年2月21日 星期日 11:45:22 UTC