Improving Graph Out-of-distribution Generalization Beyond Causality

Can Xu, Yao Cheng, Jianxiang Yu, Haosen Wang, Jingsong Lv +2 more
7/14/2024
cs.LG

Official code: LEOXC1571/DEROG (0 stars, GPL-3.0, last commit 2025-07-07).

Abstract

Existing methods for graph out-of-distribution (OOD) generalization primarily rely on empirical studies on synthetic datasets. Such approaches tend to overemphasize the causal relationships between invariant sub-graphs and labels, thereby neglecting the non-negligible role of environment in real-world scenarios. In contrast to previous studies that impose rigid independence assumptions on environments and invariant sub-graphs, this paper presents the theorems of environment-label dependency and mutable rationale invariance, where the former characterizes the usefulness of environments in determining graph labels while the latter refers to the mutable importance of graph rationales. Based on analytic investigations, a novel variational inference based method named ``Probability Dependency on Environments and Rationales for OOD Graphs on Real-world Data'' (DEROG) is introduced. To alleviate the adverse effect of unknown prior knowledge on environments and rationales, DEROG utilizes generalized Bayesian inference. Further, DEROG employs an EM-based algorithm for optimization. Finally, extensive experiments on real-world datasets under different distribution shifts are conducted to show the superiority of DEROG. Our code is publicly available at https://github.com/LEOXC1571/DEROG.

View on arXivView PDF

Code Implementations(1)

LEOXC1571/DEROGOfficial100%
GPL-3.0

Implementation of ''Probability Dependency on Environments and Rationales for OOD Graphs in Real-world Scenarios'' (DEROG)

00PythonJan 26, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{xu2024improving,
  title  = {Improving Graph Out-of-distribution Generalization Beyond Causality},
  author = {Can Xu and Yao Cheng and Jianxiang Yu and Haosen Wang and Jingsong Lv and Yao Liu and Xiang Li},
  year   = {2024},
  eprint = {2407.10204},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.10204v3}
}

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/2407.10204.svg)](https://codeofpaper.com/paper/2407.10204)

Discussion