NeurIPS 2023

A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphs

Xingyue Huang, Miguel Romero, I. Ceylan, P. Barceló

Main figure for A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphs

Abstract

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.

Benchmark Results

Tested on 3 datasets 2 baseline values reported too low

Tables show presented results in global context (best 3 papers + GCN + MLP).

OGB

#ModelMRR ↑Paper
1
PairRE+LRE
0.8360
2
NBFnet
0.8317
3
AutoSF
0.8309 ±0.0008
10
C-MPNN
0.7900
This paper
12
RGCN
0.6360
This paper

Knowledge Graphs

WN18RR

Global leaderboard →

Default metric is MRR. The paper reports 5 values on MRR and 15 values on Hits@10 .

#ModelMRR ↑ defaultHits@10 ↑Paper
1
C-MPNN (PNA, Msg_r^2, f(t)=t, Init^2, no readout)
—
0.9470
Hits@10 0.9470
This paper
1
C-MPNN (PNA, Msg_r^3, f(t)=0, Init^2, no readout)
—
0.9470
Hits@10 0.9470
This paper
1
C-MPNN (PNA, Msg_r^2, f(t)=0, Init^2, no readout)
—
0.9460
Hits@10 0.9460
This paper
1
C-MPNN (PNA, Msg_r^1, f(t)=t, Init^2, global readout)
—
0.9460
Hits@10 0.9460
This paper
1
C-MPNN (PNA, Msg_r^3, f(t)=t, Init^2, no readout)
—
0.9440
Hits@10 0.9440
This paper
1
C-MPNN (sum, Msg_r^3, f(t)=0, Init^2, no readout)
—
0.9430
Hits@10 0.9430
This paper
1
C-MPNN (PNA, Msg_r^1, f(t)=0, Init^2, no readout)
—
0.9430
Hits@10 0.9430
This paper
1
C-MPNN (PNA, Msg_r^1, f(t)=t, Init^2, no readout)
—
0.9410
Hits@10 0.9410
This paper
1
C-MPNN (sum, Msg_r^2, f(t)=0, Init^2, no readout)
—
0.9390
Hits@10 0.9390
This paper
1
C-MPNN (sum, Msg_r^2, f(t)=t, Init^2, no readout)
—
0.9370
Hits@10 0.9370
This paper
1
C-MPNN (sum, Msg_r^1, f(t)=0, Init^2, no readout)
—
0.9340
Hits@10 0.9340
This paper
1
C-MPNN (sum, Msg_r^3, f(t)=t, Init^2, no readout)
—
0.9340
Hits@10 0.9340
This paper
1
C-MPNN
—
0.9320
Hits@10 0.9320
This paper
1
C-MPNN (sum, Msg_r^1, f(t)=t, Init^2, no readout)
—
0.9320
Hits@10 0.9320
This paper
1
C-MPNN (PNA, Msg_r^1, f(t)=t, Init^2, relation-specific readout)
—
0.9320
Hits@10 0.9320
This paper
1
FedSage
0.8426 ± 0.0026
—
2
FED-PUB
0.8348 ± 0.0025
—
3
FedAvg
0.8252 ± 0.0023
—
7
GCN
0.8171 ± 0.0030
—
11
NeuralLP
0.7440
—
Hits@10 —
paper 0.7440
12
DRUM
0.7440
—
Hits@10 —
paper 0.7440
paper 0.7440 Δ at pub 0.0780
35
C-MPNN-basic
0.5340
—
Hits@10 —
This paper
60
CompGCN
0.4790
best reported
—
Hits@10 —
paper 0.4330
paper 0.4330 Δ at pub 0.0460 Δ today 0.0460
92
RGCN
0.4270
best reported
—

FB15k-237

Global leaderboard →

Default metric is MRR. The paper reports 7 values on MRR and 9 values on Hits@10 .

#ModelMRR ↑ defaultHits@10 ↑Paper
1
sum, Msg_r^3, f(t)=0
0.8500
—
Hits@10 —
This paper
2
sum, Msg_r^3, f(t)=t
0.8440
—
Hits@10 —
This paper
3
C-MPNN relation-specific readout (PNA, Msg_r^1, f(t)=t, Init^2)
—
0.8350
Hits@10 0.8350
This paper
3
C-MPNN (PNA, Msg_r^1, f(t)=t)
—
0.8040
Hits@10 0.8040
This paper
3
C-MPNN no readout (PNA, Msg_r^1, f(t)=t, Init^2)
—
0.8040
Hits@10 0.8040
This paper
3
PNA, Msg_r^1, f(t)=0
0.8010
—
Hits@10 —
This paper
4
C-MPNN global readout (PNA, Msg_r^1, f(t)=t, Init^2)
—
0.7990
Hits@10 0.7990
This paper
4
C-MPNN (PNA, Msg_r^3, f(t)=t)
—
0.7950
Hits@10 0.7950
This paper
5
C-MPNN (basic, sum, Msg_r^1, f(t)=t, Init^2, no readout)
—
0.7940
Hits@10 0.7940
This paper
4
sum, Msg_r^1, f(t)=t
0.7940
—
Hits@10 —
This paper
5
C-MPNN (PNA, Msg_r^3, f(t)=0)
—
0.7880
Hits@10 0.7880
This paper
5
sum, Msg_r^1, f(t)=0
0.7840
—
Hits@10 —
This paper
6
sum, Msg_r^2, f(t)=0
0.7340
—
Hits@10 —
This paper
7
sum, Msg_r^2, f(t)=t
0.7280
—
Hits@10 —
This paper
8
C-MPNN (PNA, Msg_r^2, f(t)=0)
—
0.7150
Hits@10 0.7150
This paper
8
C-MPNN (PNA, Msg_r^2, f(t)=t)
—
0.7090
Hits@10 0.7090
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green) Best at pub — reported value improved over the best known when published