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

知识图谱中的归纳逻辑查询

Inductive Logical Query Answering in Knowledge Graphs

Mila(米拉研究所);McGill University(麦吉尔大学);Université de Montréal(蒙特利尔大学);Stanford University(斯坦福大学);HEC Montréal(蒙特利尔高等商学院)

Mikhail Galkin, Zhaocheng Zhu, Hongyu Ren, Jian Tang

摘要:

制定和回答逻辑查询是知识图谱(KG)的标准通信接口。神经方法通过学习实体、关系和查询的表示,减轻了现实世界KG的不完整性,在链接预测和复杂查询回答任务中取得了令人印象深刻的结果。尽管如此,大多数现有的查询应答方法依赖于转换实体嵌入,并且在不重新训练实体嵌入的情况下不能推广到包含新实体的KG。在这项工作中,我们研究了归纳查询应答任务,其中推理是在一个包含新实体的图上进行的,查询既可以看到,也可以看到实体。为此,我们设计了两种机制,利用由图神经网络(GNNs)驱动的归纳节点和关系结构表示。实验表明,归纳模型能够在推理时对看不见的节点进行逻辑推理,并将其推广到比训练图大500%的图。探索效率-有效性权衡,我们发现归纳关系结构表示方法通常具有更高的性能,而归纳节点表示方法能够在仅推理的情况下回答复杂的查询,而无需对查询进行任何训练,并且可以扩展到数百万节点的图形。代码可在https://github.com/DeepGraphLearning/InductiveQE上获得。

英文摘要:

Formulating and answering logical queries is a standard communication interface for knowledge graphs (KGs). Alleviating the notorious incompleteness of real-world KGs, neural methods achieved impressive results in link prediction and complex query answering tasks by learning representations of entities, relations, and queries. Still, most existing query answering methods rely on transductive entity embeddings and cannot generalize to KGs containing new entities without retraining the entity embeddings. In this work, we study the inductive query answering task where inference is performed on a graph containing new entities with queries over both seen and unseen entities. To this end, we devise two mechanisms leveraging inductive node and relational structure representations powered by graph neural networks (GNNs). Experimentally, we show that inductive models are able to perform logical reasoning at inference time over unseen nodes generalizing to graphs up to 500% larger than training ones. Exploring the efficiency--effectiveness trade-off, we find the inductive relational structure representation method generally achieves higher performance, while the inductive node representation method is able to answer complex queries in the inference-only regime without any training on queries and scales to graphs of millions of nodes. Code is available at https://github.com/DeepGraphLearning/InductiveQE.

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

↑