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

基于关系有向图的知识图谱推理

Knowledge Graph Reasoning with Relational Digraph

Paradigm Inc.(第四范式公司);Tsinghua University(清华大学)

Yongqi Zhang, Quanming Yao

摘要:

知识图谱(KG)上的推理旨在从现有事实推断新事实。基于关系路径的方法已经显示出强大的、可解释的和可转移的推理能力。然而,路径在捕获图中的局部证据方面自然受到限制。在本文中,我们介绍了一种新的关系结构,即,关系有向图(r-degraph),它是由重叠的关系路径,捕捉KG的本地证据。由于r-有向图比路径更复杂,如何有效地构造和有效地从中学习是一个挑战。直接编码的r-有向图不能很好地扩展和捕获查询相关的信息是困难的r-有向图。我们提出了一种图神经网络的变体,即,RED-GNN,以应对上述挑战。具体地说,RED-GNN利用动态规划递归地编码多个具有共享边的r-有向图,并利用查询相关的注意力机制来选择强相关的边。我们证明了RED-GNN不仅是有效的,而且可以在归纳和转换推理任务中实现显着的性能增益。此外,RED-GNN中学习的注意力权重可以为KG推理提供可解释的证据。

英文摘要:

Reasoning on the knowledge graph (KG) aims to infer new facts from existing ones. Methods based on the relational path have shown strong, interpretable, and transferable reasoning ability. However, paths are naturally limited in capturing local evidence in graphs. In this paper, we introduce a novel relational structure, i.e., relational directed graph (r-digraph), which is composed of overlapped relational paths, to capture the KG's local evidence. Since the r- digraphs are more complex than paths, how to efficiently construct and effectively learn from them are challenging. Directly encoding the r-digraphs cannot scale well and capturing query-dependent information is hard in r-digraphs. We propose a variant of graph neural network, i.e., RED-GNN, to address the above challenges. Specifically, RED-GNN makes use of dynamic programming to recursively encodes multiple r-digraphs with shared edges, and utilizes a query-dependent attention mechanism to select the strongly correlated edges. We demonstrate that RED-GNN is not only efficient but also can achieve significant performance gains in both inductive and transductive reasoning tasks over existing methods. Besides, the learned attention weights in RED-GNN can exhibit interpretable evidence for KG reasoning.

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

↑