Lune

ICML2025Top-tier venue

Disentangling Invariant Subgraph via Variance Contrastive Estimation under Distribution Shifts

Haoyang Li, Xin Wang, Xueling Zhu, Weigao Wen, Wenwu Zhu

Abstract

Graph neural networks (GNNs) have achieved remarkable success, yet most are developed under the in-distribution assumption and fail to generalize to out-of-distribution (OOD) environments. To tackle this problem, some graph invariant learning methods aim to learn invariant subgraph against distribution shifts, which heavily rely on predefined or automatically generated environment labels. However, directly annotating or estimating such environment labels from biased graph data is typically impractical or inaccurate for real-world graphs. Consequently, GNNs may become biased toward variant patterns, resulting in poor OOD generalization. In this paper, we propose to learn disentangled invariant subgraph via self-supervised contrastive variant subgraph estimation for achieving satisfactory OOD generalization. Specifically, we first propose a GNNbased invariant subgraph generator to disentangle the invariant and variant subgraphs. Then, we estimate the degree of the spurious correlations by conducting self-supervised contrastive learning on variant subgraphs. Thanks to the accurate identification and estimation of the variant subgraphs, we can capture invariant subgraphs effectively and further eliminate spurious correlations by inverse propensity score reweighting. We provide theoretical analyses to show that our model can disentangle the ground-truth invariant and variant subgraphs for OOD generalization. Extensive experiments demonstrate the superiority of our model over state-of-the-art baselines.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SA²GFM: Enhancing Robust Graph Foundation Models with Structure-Aware Semantic Augmentation cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Continual-GraphLLM: Dynamic Graph Large Language Model with Invariance Regularized Adaptive Multi-Scale Experts cites Adaptive Mixture of Disentangled Experts for Dynamic Graph Out-of-Distribution Generalization
  • Adaptive Mixture of Disentangled Experts for Dynamic Graph Out-of-Distribution Generalization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. SA²GFM: Enhancing Robust Graph Foundation Models with Structure-Aware Semantic AugmentationJunhua Shi, Qingyun Sun, Haonan Yuan, Xingcheng FuAAAI 2026 · 3 citations
  2. Improving Compositional Generalization in Cross-Embodiment Learning via Mixture of Disentangled PrototypesRen Wang, Xin Wang, Tongtong Feng, Xinyue Gong et al.ACM MM 2025 · 2 citations
  3. DyNAS-DDI: Dynamic Pairwise Architecture Search for Generalizable Drug-Drug Interaction LLMLinxin Xiao, Xin Wang, Zeyang Zhang, Yang Yao et al.ACM MM 2025 · 1 citation
  4. Continual-GraphLLM: Dynamic Graph Large Language Model with Invariance Regularized Adaptive Multi-Scale ExpertsTianhang Wan, Xin Wang, Haibo Chen, Longtao Huang et al.KDD 2026
  5. Adaptive Mixture of Disentangled Experts for Dynamic Graph Out-of-Distribution GeneralizationHaibo Chen, Xin Wang, Guanheng Chen, Yuan Meng et al.ICLR 2026

Builds on35

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. Simple and Deep Graph Convolutional NetworksMing Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding et al.ICML 2020 · 1,910 citations
  3. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
  4. Parameterized Explainer for Graph Neural NetworkDongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu et al.NeurIPS 2020 · 888 citations
  5. A Meta-Transfer Objective for Learning to Disentangle Causal MechanismsYoshua Bengio, Tristan Deleu, Nasim Rahaman, Nan Rosemary Ke et al.ICLR 2020 · 371 citations

Related papers

  1. Disentangled Graph Self-supervised Learning for Out-of-Distribution GeneralizationHaoyang Li, Xin Wang, Zeyang Zhang, Haibo Chen et al.ICML 2024 · 13 citations
  2. Invariant Learning on Heterogeneous Graphs via Subgraph Environment InferenceYanghui Fu, Yunfei Wang, Hao Zou, Yue He et al.WWW 2026
  3. Pruning Spurious Subgraphs for Graph Out-of-Distribution GeneralizationTianjun Yao, Haoxuan Li, Yongqiang Chen, Tongliang Liu et al.NeurIPS 2025
  4. Learning Invariant Graph Representations for Out-of-Distribution GeneralizationHaoyang Li, Ziwei Zhang, Xin Wang, Wenwu ZhuNeurIPS 2022 · 170 citations
  5. Graph Invariant Learning with Subgraph Co-mixup for Out-of-Distribution GeneralizationTianrui Jia, Haoyang Li, Cheng Yang, Tao Tao et al.AAAI 2024 · 38 citations
Dusk over the sea between two cliffs drawn in fine vertical lines