arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.07088cs.LGcs.AI
收藏

学习规则诱导的子图表示用于归纳关系预测

Learning Rule-Induced Subgraph Representations for Inductive Relation Prediction

University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)

Tianyu Liu, Qitan Lv, Jie Wang, Shuling Yang, Hanzhu Chen

AI总结:

针对归纳关系预测中现有GNN方法无法区分目标链接导致子图表示含无关规则的问题,提出单源边级GNN模型REST,通过单源初始化与RNN边级消息传递编码相关规则,无需节点标记,预处理加速11.66倍。

摘要:

归纳关系预测(IRP)——其中实体在训练和推理阶段可以不同——在完善不断演化的知识图谱方面展现出了强大的能力。现有工作主要集中于使用图神经网络(GNNs)来学习由目标链接诱导的子图的表示,这可以被视为一种隐式的规则挖掘过程,用于衡量目标链接的合理性。然而,这些方法在消息传递过程中无法区分目标链接和其他链接,因此最终的子图表示将包含与目标链接无关的规则信息,这降低了推理性能,并严重阻碍了在现实场景中的应用。为了解决这一问题,我们提出了一种新颖的\textit{单源边级}GNN模型,用于学习\textbf{R}ule-induc\textbf{E}d \textbf{S}ubgraph represen\textbf{T}ations(\textbf{REST}),该模型在子图内编码相关规则并消除无关规则。具体来说,我们提出了一种\textit{单源}初始化方法,仅为目标链接初始化边特征,这保证了挖掘规则与目标链接的相关性。然后,我们提出了几种基于RNN的函数用于\textit{边级}消息传递,以建模挖掘规则的顺序属性。REST是一种简单有效且具有理论支持的方法,用于学习\textit{规则诱导的子图表示}。此外,REST不需要节点标记,这显著加速了子图预处理时间,最高可达\textbf{11.66$\times$}。在归纳关系预测基准上的实验证明了我们REST的有效性。我们的代码可在https://github.com/smart-lty/REST获取。

英文摘要:

Inductive relation prediction (IRP) -- where entities can be different during training and inference -- has shown great power for completing evolving knowledge graphs. Existing works mainly focus on using graph neural networks (GNNs) to learn the representation of the subgraph induced from the target link, which can be seen as an implicit rule-mining process to measure the plausibility of the target link. However, these methods cannot differentiate the target link and other links during message passing, hence the final subgraph representation will contain irrelevant rule information to the target link, which reduces the reasoning performance and severely hinders the applications for real-world scenarios. To tackle this problem, we propose a novel \textit{single-source edge-wise} GNN model to learn the \textbf{R}ule-induc\textbf{E}d \textbf{S}ubgraph represen\textbf{T}ations (\textbf{REST}), which encodes relevant rules and eliminates irrelevant rules within the subgraph. Specifically, we propose a \textit{single-source} initialization approach to initialize edge features only for the target link, which guarantees the relevance of mined rules and target link. Then we propose several RNN-based functions for \textit{edge-wise} message passing to model the sequential property of mined rules. REST is a simple and effective approach with theoretical support to learn the \textit{rule-induced subgraph representation}. Moreover, REST does not need node labeling, which significantly accelerates the subgraph preprocessing time by up to \textbf{11.66$\times$}. Experiments on inductive relation prediction benchmarks demonstrate the effectiveness of our REST. Our code is available at https://github.com/smart-lty/REST.

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

↑