[Paper Review] Learning from Counterfactual Links for Link Prediction
This paper proposes Counterfactual Link Prediction (CFLP), a novel graph learning method that improves link prediction by generating counterfactual links through causal inference. By treating global graph structure (e.g., community membership) as a treatment and link existence as an outcome, CFLP identifies similar node pairs under different structural conditions and uses them as augmented training data, achieving state-of-the-art performance on benchmark datasets.
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.
Motivation & Objective
- To address the limitation of existing link prediction methods that rely solely on associative patterns and ignore causal relationships between graph structure and link existence.
- To improve link prediction generalization by incorporating counterfactual reasoning into graph representation learning.
- To develop a data augmentation strategy based on causal inference that enriches training data with unobserved but plausible link scenarios.
- To investigate whether learning individual treatment effects (ITE) from counterfactual links improves link prediction performance over standard GNN-based methods.
Proposed method
- Define a counterfactual question: 'Would the link still exist if the graph structure were different?' to identify causal factors beyond observed associations.
- Use node pair representations as context, global structural properties (e.g., community assignment via spectral clustering) as treatment, and link existence as outcome.
- For each observed node pair, find the most similar node pair with a different treatment (e.g., different community) to form a counterfactual link.
- Treat the outcome of the counterfactual link (edge present or absent) as an unobserved but informative signal for training.
- Train a GNN-based link predictor to jointly predict both factual and counterfactual links, learning representations that capture individual treatment effects.
- Use the estimated individual treatment effect (ITE) as a signal to guide representation learning, focusing on factors beyond structural similarity.
Experimental results
Research questions
- RQ1Can counterfactual reasoning improve link prediction beyond learning from observed associations?
- RQ2How can counterfactual links be systematically generated using causal modeling in graph-structured data?
- RQ3Does incorporating counterfactual links as augmented training data lead to better generalization in link prediction tasks?
- RQ4To what extent does learning individual treatment effects (ITE) from counterfactuals improve model performance compared to standard GNNs?
- RQ5Can a simple causal model, such as one based on community structure, significantly enhance link prediction accuracy?
Key findings
- CFLP achieves state-of-the-art performance on multiple benchmark link prediction datasets by leveraging counterfactual links as augmented training data.
- The method improves generalization by learning representations that are robust to structural confounding, focusing on causal factors beyond neighborhood similarity.
- Counterfactual links provide meaningful supervision signals that help the model disentangle true causal drivers of link formation from spurious correlations.
- The joint training on factual and counterfactual links enables the model to estimate individual treatment effects (ITE), which enhances predictive accuracy.
- Experiments show that CFLP outperforms standard GNN-based link prediction methods, especially in scenarios where structural similarity is misleading due to confounding factors.
- The use of community-based treatments enables effective and scalable generation of counterfactual links without requiring complex causal modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.