Raising the Bar in Graph OOD Generalization: Invariant Learning Beyond Explicit Environment Modeling

Xu Shen, Yixin Liu, Yili Wang, Rui Miao, Yiwei Dai +3 more
2/15/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Out-of-distribution (OOD) generalization has emerged as a critical challenge in graph learning, as real-world graph data often exhibit diverse and shifting environments that traditional models fail to generalize across. A promising solution to address this issue is graph invariant learning (GIL), which aims to learn invariant representations by disentangling label-correlated invariant subgraphs from environment-specific subgraphs. However, existing GIL methods face two major challenges: (1) the difficulty of capturing and modeling diverse environments in graph data, and (2) the semantic cliff, where invariant subgraphs from different classes are difficult to distinguish, leading to poor class separability and increased misclassifications. To tackle these challenges, we propose a novel method termed Multi-Prototype Hyperspherical Invariant Learning (MPHIL), which introduces two key innovations: (1) hyperspherical invariant representation extraction, enabling robust and highly discriminative hyperspherical invariant feature extraction, and (2) multi-prototype hyperspherical classification, which employs class prototypes as intermediate variables to eliminate the need for explicit environment modeling in GIL and mitigate the semantic cliff issue. Derived from the theoretical framework of GIL, we introduce two novel objective functions: the invariant prototype matching loss to ensure samples are matched to the correct class prototypes, and the prototype separation loss to increase the distinction between prototypes of different classes in the hyperspherical space. Extensive experiments on 11 OOD generalization benchmark datasets demonstrate that MPHIL achieves state-of-the-art performance, significantly outperforming existing methods across graph data from various domains and with different distribution shifts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2025raising,
  title  = {Raising the Bar in Graph OOD Generalization: Invariant Learning Beyond Explicit Environment Modeling},
  author = {Xu Shen and Yixin Liu and Yili Wang and Rui Miao and Yiwei Dai and Shirui Pan and Yi Chang and Xin Wang},
  year   = {2025},
  eprint = {2502.10706},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.10706v3}
}

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

Discussion