arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.01140cs.DBcs.AIcs.LG
收藏

基于嵌入和图神经网络的知识图谱基数估计

Cardinality Estimation over Knowledge Graphs with Embeddings and Graph Neural Networks

Technical University of Munich(慕尼黑工业大学)

Tim Schwabe, Maribel Acosta

AI总结:

本文提出GNCE方法,结合知识图谱嵌入和图神经网络准确预测合取查询基数,在估计精度、执行时间和参数量上优于现有方法,并能归纳泛化至未见实体,适用于动态查询场景。

摘要:

知识图谱上的基数估计对于查询优化至关重要,但由于典型知识图谱的半结构化特性和复杂相关性,这仍然是一项具有挑战性的任务。在这项工作中,我们提出了GNCE,一种利用知识图谱嵌入和图神经网络来准确预测合取查询基数的新方法。GNCE首先为KG中的所有实体创建语义上有意义的嵌入,然后将这些嵌入整合到给定查询中,该查询由GNN处理以估计查询的基数。我们在几个KG上以q-Error为指标评估了GNCE,并证明它在估计准确性方面优于基于采样、摘要和(机器)学习的最先进方法,同时具有更低的执行时间和更少的参数。此外,我们表明GNCE可以归纳性地泛化到未见实体,使其适用于动态查询处理场景。我们提出的方法有潜力显著改善查询优化及依赖合取查询准确基数估计的相关应用。

英文摘要:

Cardinality Estimation over Knowledge Graphs (KG) is crucial for query optimization, yet remains a challenging task due to the semi-structured nature and complex correlations of typical Knowledge Graphs. In this work, we propose GNCE, a novel approach that leverages knowledge graph embeddings and Graph Neural Networks (GNN) to accurately predict the cardinality of conjunctive queries. GNCE first creates semantically meaningful embeddings for all entities in the KG, which are then integrated into the given query, which is processed by a GNN to estimate the cardinality of the query. We evaluate GNCE on several KGs in terms of q-Error and demonstrate that it outperforms state-of-the-art approaches based on sampling, summaries, and (machine) learning in terms of estimation accuracy while also having lower execution time and less parameters. Additionally, we show that GNCE can inductively generalise to unseen entities, making it suitable for use in dynamic query processing scenarios. Our proposed approach has the potential to significantly improve query optimization and related applications that rely on accurate cardinality estimates of conjunctive queries.

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

↑