Handling Distribution Shifts on Graphs: An Invariance Perspective

Qitian Wu, Hengrui Zhang, Junchi Yan, David Wipf
2/5/2022
300 citations
cs.LGcs.AI

Official code: qitianwu/GraphOOD-EERM (91 stars, Python, PyTorch, last commit 2022-11-24).

Abstract

There is increasing evidence suggesting neural networks' sensitivity to distribution shifts, so that research on out-of-distribution (OOD) generalization comes into the spotlight. Nonetheless, current endeavors mostly focus on Euclidean data, and its formulation for graph-structured data is not clear and remains under-explored, given two-fold fundamental challenges: 1) the inter-connection among nodes in one graph, which induces non-IID generation of data points even under the same environment, and 2) the structural information in the input graph, which is also informative for prediction.

Show full abstract

In this paper, we formulate the OOD problem on graphs and develop a new invariant learning approach, Explore-to-Extrapolate Risk Minimization (EERM), that facilitates graph neural networks to leverage invariance principles for prediction. EERM resorts to multiple context explorers (specified as graph structure editers in our case) that are adversarially trained to maximize the variance of risks from multiple virtual environments. Such a design enables the model to extrapolate from a single observed environment which is the common case for node-level prediction. We prove the validity of our method by theoretically showing its guarantee of a valid OOD solution and further demonstrate its power on various real-world datasets for handling distribution shifts from artificial spurious features, cross-domain transfers and dynamic graph evolution.

View on arXivView PDF

Code Implementations(1)

PyTorch

The official implementation for ICLR2022 paper "Handling Distribution Shifts on Graphs: An Invariance Perspective"

919Python, ShellMar 6, 20224 years ago
causal-modelsgraph-neural-networksout-of-distribution-generalizationpytorch

Similar Papers

Cite this paper

@article{wu2022handling,
  title  = {Handling Distribution Shifts on Graphs: An Invariance Perspective},
  author = {Qitian Wu and Hengrui Zhang and Junchi Yan and David Wipf},
  year   = {2022},
  eprint = {2202.02466},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.02466}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.02466.svg)](https://codeofpaper.com/paper/2202.02466)

Discussion