Share your thoughts, 1 month free Claude Pro on usSee more
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
Accuracy97.3
1215
Node ClassificationCora (test)
Mean Accuracy76.41
861
Node ClassificationarXiv
Accuracy64.01
219
Node ClassificationPubmed
Accuracy89.89
178
Node ClassificationCiteseer
Mean Accuracy95.33
90
Node ClassificationWiki-CS (test)
Accuracy78.88
75
Node ClassificationProducts
Accuracy85.61
56
Node ClassificationCora Covariate shift (degree split)
OOD Accuracy84.12
50
Node ClassificationCora
F1 Score84.32
48
Node ClassificationGOODCora Covariate shift, degree (test)
Accuracy60.97
44
Showing 10 of 75 rows
...

Other info

Follow for update