AAAI 2023

Graph Invariant Learning with Subgraph Co-mixup for Out-Of-Distribution Generalization

Tianrui Jia, Haoyang Li, Cheng Yang, Tao Tao, Chuan Shi

Main figure for Graph Invariant Learning with Subgraph Co-mixup for Out-Of-Distribution Generalization

Abstract

Graph neural networks (GNNs) have been demonstrated to perform well in graph representation learning, but always lacking in generalization capability when tackling out-of-distribution (OOD) data. Graph invariant learning methods, backed by the invariance principle among defined multiple environments, have shown effectiveness in dealing with this issue. However, existing methods heavily rely on well-predefined or accurately generated environment partitions, which are hard to be obtained in practice, leading to sub-optimal OOD generalization performances. In this paper, we propose a novel graph invariant learning method based on invariant and variant patterns co-mixup strategy, which is capable of jointly generating mixed multiple environments and capturing invariant patterns from the mixed graph data. Specifically, we first adopt a subgraph extractor to identify invariant subgraphs. Subsequently, we design one novel co-mixup strategy, i.e., jointly conducting environment Mixup and invariant Mixup. For the environment Mixup, we mix the variant environment-related subgraphs so as to generate sufficiently diverse multiple environments, which is important to guarantee the quality of the graph invariant learning. For the invariant Mixup, we mix the invariant subgraphs, further encouraging to capture invariant patterns behind graphs while getting rid of spurious correlations for OOD generalization. We demonstrate that the proposed environment Mixup and invariant Mixup can mutually promote each other. Extensive experiments on both synthetic and real-world datasets demonstrate that our method significantly outperforms state-of-the-art under various distribution shifts.

Proposed method: IGM

Benchmark Results

Tested on 2 datasets

Tables show presented results in global context (best 3 papers + GCN + MLP).

MoleculeNet

#ModelROC-AUC ↑Paper
1
ProtoMol
0.9140 ±0.0030
2
MMSG
0.9080 ±0.0050
3
MemGNN
0.9070
43
GIN
0.8646 ±0.0081
115
IGM
0.8265 ±0.0117
This paper
157
CIGA
0.8098 ±0.0125
This paper
175
DIR
0.7993 ±0.0203
This paper
185
GSAT
0.7963 ±0.0187
This paper
190
EIIL
0.7936 ±0.0272
This paper
199
G-Mixup
0.7912 ±0.0275
This paper
205
Manifold-Mixup
0.7885 ±0.0126
This paper
223
ERM
0.7783 ±0.0349
This paper
226
IRM
0.7751 ±0.0246
This paper
232
V-REx
0.7696 ±0.0188
This paper
#ModelROC-AUC ↑Paper
1
MAGPrompt+
0.9432 ±0.0238
2
CamS-LLaMA
0.9420
3
SE(3)-I MPPH
0.9400 ±0.0210
34
GIN
0.8875 ±0.0049
114
GSAT
actual #114 vs paper #192 78 places worse
0.6848 ±0.0201
actual #114 vs paper #192 78 places worse
paper 0.6848 ±0.0201

Improvement within reported uncertainty; not highlighted.

paper 0.6848 ±0.0201 Δ at pub 0.0268
121
IGM
0.7103 ±0.0079
This paper
158
DIR
0.6973 ±0.0154
This paper
164
CIGA
0.6965 ±0.0132
This paper
174
IRM
0.6913 ±0.0145
This paper
188
Manifold-Mixup
0.6867 ±0.0138
This paper
193
G-Mixup
0.6844 ±0.0208
This paper
237
ERM
0.6693 ±0.0231
This paper
259
EIIL
0.6577 ±0.0336
This paper
275
V-REx
0.6486 ±0.0213
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)