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

Graph Out-of-Distribution Generalization via Causal Intervention

About

Out-of-distribution (OOD) generalization has gained increasing attentions for learning on graphs, as graph neural networks (GNNs) often exhibit performance degradation with distribution shifts. The challenge is that distribution shifts on graphs involve intricate interconnections between nodes, and the environment labels are often absent in data. In this paper, we adopt a bottom-up data-generative perspective and reveal a key observation through causal analysis: the crux of GNNs' failure in OOD generalization lies in the latent confounding bias from the environment. The latter misguides the model to leverage environment-sensitive correlations between ego-graph features and target nodes' labels, resulting in undesirable generalization on new unseen nodes. Built upon this analysis, we introduce a conceptually simple yet principled approach for training robust GNNs under node-level distribution shifts, without prior knowledge of environment labels. Our method resorts to a new learning objective derived from causal inference that coordinates an environment estimator and a mixture-of-expert GNN predictor. The new approach can counteract the confounding bias in training data and facilitate learning generalizable predictive relations. Extensive experiment demonstrates that our model can effectively enhance generalization with various types of distribution shifts and yield up to 27.4\% accuracy improvement over state-of-the-arts on graph OOD generalization benchmarks. Source codes are available at https://github.com/fannie1208/CaNet.

Qitian Wu, Fan Nie, Chenxiao Yang, Tianyi Bao, Junchi Yan• 2024

Related benchmarks

TaskDatasetResultRank
Node ClassificationCora
Accuracy73.86
885
Node ClassificationCora (test)
Mean Accuracy76.41
687
Node ClassificationCora Covariate shift (degree split)
OOD Accuracy84.12
50
Node ClassificationCora
F1 Score84.32
48
Node ClassificationTwitch (OOD)
AUROC68.08
36
Node ClassificationWebKB university split Covariate shift
OOD Test Accuracy23.81
30
Node ClassificationWebKB university split Concept shift
OOD Test Accuracy26.3
30
Node ClassificationCora (OOD)
Accuracy97.3
21
Node ClassificationCiteseer (OOD)
Accuracy95.33
21
Node ClassificationTwitch ID
AUROC76.14
21
Showing 10 of 49 rows

Other info

Follow for update