Learning Invariant Representations of Graph Neural Networks via Cluster Generalization
Donglin Xia, Xiao Wang, Nian Liu, Chuan Shi
Abstract
Graph neural networks (GNNs) have become increasingly popular in modeling graph-structured data due to their ability to learn node representations by aggregating local structure information. However, it is widely acknowledged that the test graph structure may differ from the training graph structure, resulting in a structure shift. In this paper, we experimentally find that the performance of GNNs drops significantly when the structure shift happens, suggesting that the learned models may be biased towards specific structure patterns. To address this challenge, we propose the Cluster Information Transfer (CIT) mechanism (Code available at https://github.com/BUPT-GAMMA/CITGNN), which can learn invariant representations for GNNs, thereby improving their generalization ability to various and unknown test graphs with structure shift. The CIT mechanism achieves this by combining different cluster information with the nodes while preserving their cluster-independent information. By generating nodes across different clusters, the mechanism significantly enhances the diversity of the nodes and helps GNNs learn the invariant representations. We provide a theoretical analysis of the CIT mechanism, showing that the impact of changing clusters during structure shift can be mitigated after transfer. Additionally, the proposed mechanism is a plug-in that can be easily used to improve existing GNNs. We comprehensively evaluate our proposed method on three typical structure shift scenarios, demonstrating its effectiveness in enhancing GNNs' performance.
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.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Federated Graph-Level Clustering Network with Dual Knowledge Separation cites Graph Invariant Learning with Subgraph Co-mixup for Out-of-Distribution Generalization
- Open Graph Benchmark: Datasets for Machine Learning on Graphs cites A Fair Comparison of Graph Neural Networks for Graph Classification
- Graph Invariant Learning with Subgraph Co-mixup for Out-of-Distribution Generalization cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Dissecting the Failure of Invariant Learning on Graphs cites Graph Invariant Learning with Subgraph Co-mixup for Out-of-Distribution Generalization
- Design Space for Graph Neural Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Design Space for Graph Neural Networks cites A Fair Comparison of Graph Neural Networks for Graph Classification
Cited by top-tier papers7
- 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
- Dissecting the Failure of Invariant Learning on GraphsQixun Wang, Yifei Wang, Yisen Wang, Xianghua YingNeurIPS 2024 · 10 citations
- Invariance Matters: Empowering Social Recommendation via Graph Invariant LearningYonghui Yang, Le Wu, Yuxin Liao, Zhuangzhuang He et al.SIGIR 2025 · 10 citations
- Topology-Aware Dynamic Reweighting for Distribution Shifts on GraphWeihuang Zheng, Jiashuo Liu, Jiaxing Li, Jiayun Wu et al.ICML 2025
- Federated Graph-Level Clustering Network with Dual Knowledge SeparationXiaobao Wang, Renda Han, Ronghao Fu, Di JinICLR 2026
Builds on14
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Simple and Deep Graph Convolutional NetworksMing Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding et al.ICML 2020 · 1,910 citations
- Spectral Clustering with Graph Neural Networks for Graph PoolingFilippo Maria Bianchi, Daniele Grattarola, Cesare AlippiICML 2020 · 528 citations
- A Fair Comparison of Graph Neural Networks for Graph ClassificationFederico Errica, Marco Podda, Davide Bacciu, Alessio MicheliICLR 2020 · 508 citations
- Design Space for Graph Neural NetworksJiaxuan You, Zhitao Ying, Jure LeskovecNeurIPS 2020 · 409 citations
Related papers
- BA-GNN: On Learning Bias-Aware Graph Neural NetworkZhengyu Chen, Teng Xiao, Kun KuangICDE 2022 · 28 citations
- A Structure-aware Invariant Learning Framework for Node-level Graph OOD GeneralizationRuiwen Yuan, Yongqiang Tang, Wensheng ZhangKDD 2025 · 4 citations
- Learning Invariant Graph Representations for Out-of-Distribution GeneralizationHaoyang Li, Ziwei Zhang, Xin Wang, Wenwu ZhuNeurIPS 2022 · 170 citations
- From Distribution to Geometry: Stable Graph Generalization via Invariant BarycentersHangyuan Du, Rong Wang, Weihong Zhang, Lu Bai et al.ICML 2026
- GraphNorm: A Principled Approach to Accelerating Graph Neural Network TrainingTianle Cai, Shengjie Luo, Keyulu Xu, Di He et al.ICML 2021 · 224 citations
