Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning Rule-Induced Subgraph Representations for Inductive Relation Prediction

About

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.

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

Related benchmarks

TaskDatasetResultRank
Link PredictionWN18RR v1 (test)--
24
Link PredictionFB15k-237 v1 (test)--
23
Inductive relation predictionFB15k-237 inductive v4
Hits@1096.06
20
Inductive relation predictionFB15k-237 inductive v2
Hits@100.9121
20
Inductive relation predictionFB15k-237 inductive v3
Hits@1093.06
20
Link PredictionNELL995--
18
Inductive relation predictionWN18RR inductive v1
Hits@1096.28
14
Inductive relation predictionWN18RR inductive v2
Hits@1094.56
14
Inductive relation predictionWN18RR inductive v4
Hits@1094.19
14
Inductive relation predictionWN18RR inductive v3
Hits@1079.5
14
Showing 10 of 68 rows

Other info

Code

Follow for update