Learning from Counterfactual Links for Link Prediction
Abstract
Learning to predict missing links is important for many graph-based applications. Existing methods were designed to learn the association between observed graph structure and existence of link between a pair of nodes. However, the causal relationship between the two variables was largely ignored for learning to predict links on a graph. In this work, we visit this factor by asking a counterfactual question:"would the link still exist if the graph structure became different from observation?"Its answer, counterfactual links, will be able to augment the graph data for representation learning. To create these links, we employ causal models that consider the information (i.e., learned representations) of node pairs as context, global graph structural properties as treatment, and link existence as outcome. We propose a novel data augmentation-based link prediction method that creates counterfactual links and learns representations from both the observed and counterfactual links. Experiments on benchmark data show that our graph learning method achieves state-of-the-art performance on the task of link prediction.
Benchmark Results
Tested on 1 dataset
Tables show presented results in global context (best 3 papers + GCN + MLP).
OGB
| # | Model | Hits@20 ↑ | Paper |
|---|---|---|---|
| 1 | ELGNN | 0.9777
±0.0037 | |
| 2 | GIDN | 0.9542 | |
| 3 | AGDN | 0.9538
±0.0094 | |
| 11 | CFLP w/ JKNet | 0.8608
±0.0198 | This paper |
| 18 | CFLP w/ GSAGE | 0.7549
±0.0433 | This paper |
| 20 | SAGE | 0.6719
±0.0118 | |
| 24 | GCN | 0.6476
±0.0145 best reported | best at pub: OGB (NeurIPS 2020) best today: Link Prediction with Untrained Message Passing Layers (2024) |
| 25 | Node2Vec | 0.6363
±0.0205 best reported | best at pub: Formatting Instructions for ICLR 2021 Conference Submissions (2020) best today: Link Prediction with Untrained Message Passing Layers (2024) |
| 30 | JKNet | 0.6056
±0.0869 | This paper |
| 39 | GSAGE | 0.5390
±0.0474 | This paper |
| 40 | CFLP w/ GCN | 0.5251
±0.0109 | This paper |
| 43 | SEAL | 0.4974
±0.0239 best reported | best at pub: Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learning (NeurIPS 2020) best today: Link Prediction with Untrained Message Passing Layers (2024) |
| 83 | VGAE | 0.1171
±0.0196 | This paper |
| 87 | MVGRL | 0.1002
±0.0101 | This paper |
