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

Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction

About

Link prediction is a very fundamental task on graphs. Inspired by traditional path-based methods, in this paper we propose a general and flexible representation learning framework based on paths for link prediction. Specifically, we define the representation of a pair of nodes as the generalized sum of all path representations, with each path representation as the generalized product of the edge representations in the path. Motivated by the Bellman-Ford algorithm for solving the shortest path problem, we show that the proposed path formulation can be efficiently solved by the generalized Bellman-Ford algorithm. To further improve the capacity of the path formulation, we propose the Neural Bellman-Ford Network (NBFNet), a general graph neural network framework that solves the path formulation with learned operators in the generalized Bellman-Ford algorithm. The NBFNet parameterizes the generalized Bellman-Ford algorithm with 3 neural components, namely INDICATOR, MESSAGE and AGGREGATE functions, which corresponds to the boundary condition, multiplication operator, and summation operator respectively. The NBFNet is very general, covers many traditional path-based methods, and can be applied to both homogeneous graphs and multi-relational graphs (e.g., knowledge graphs) in both transductive and inductive settings. Experiments on both homogeneous graphs and knowledge graphs show that the proposed NBFNet outperforms existing methods by a large margin in both transductive and inductive settings, achieving new state-of-the-art results.

Zhaocheng Zhu, Zuobai Zhang, Louis-Pascal Xhonneux, Jian Tang• 2021

Related benchmarks

TaskDatasetResultRank
Link PredictionFB15k-237 (test)
Hits@1059.9
419
Link PredictionWN18RR (test)
Hits@1066.6
380
Knowledge Graph CompletionWN18RR
Hits@149.7
165
Link PredictionCiteseer
AUC92.3
146
Link PredictionPubmed
AUC98.3
123
Link PredictionCora
AUC0.956
116
Knowledge Graph CompletionFB15k-237
Hits@100.599
108
Link Predictionogbl-wikikg2 (test)
MRR0.6767
95
Link PredictionPubMed (test)
AUC98.3
65
Inductive Link PredictionFB15k-237 inductive (test)
Hits@100.834
37
Showing 10 of 78 rows
...

Other info

Code

Follow for update