A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphs
About
Graph neural networks are prominent models for representation learning over graph-structured data. While the capabilities and limitations of these models are well-understood for simple graphs, our understanding remains incomplete in the context of knowledge graphs. Our goal is to provide a systematic understanding of the landscape of graph neural networks for knowledge graphs pertaining to the prominent task of link prediction. Our analysis entails a unifying perspective on seemingly unrelated models and unlocks a series of other models. The expressive power of various models is characterized via a corresponding relational Weisfeiler-Leman algorithm. This analysis is extended to provide a precise logical characterization of the class of functions captured by a class of graph neural networks. The theoretical findings presented in this paper explain the benefits of some widely employed practical design choices, which are validated empirically.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Knowledge Graph Completion | FB15k-237 (test) | MRR0.4 | 179 | |
| Knowledge Graph Completion | WN18RR (test) | MRR0.534 | 177 | |
| Link Prediction | ogbl-biokg (test) | MRR0.79 | 36 | |
| Inductive relation prediction | WN18RR V1 | AUC-PR0.932 | 5 | |
| Inductive relation prediction | WN18RR V2 | AUC-PR89.6 | 5 | |
| Inductive relation prediction | WN18RR V3 | AUC-PR0.9 | 5 | |
| Inductive relation prediction | WN18RR V4 | AUC-PR88.1 | 5 | |
| Inductive relation prediction | FB15k-237 V1 | AUC-PR79.4 | 5 | |
| Inductive relation prediction | FB15k-237 v2 | AUC-PR90.6 | 5 | |
| Inductive relation prediction | FB15k-237 v3 | AUC-PR94.7 | 5 |