Enhancing Size Generalization in Graph Neural Networks through Disentangled Representation Learning
Zheng Huang, Qihui Yang, Dawei Zhou, Yujun Yan
Abstract
Although most graph neural networks (GNNs) can operate on graphs of any size, their classification performance often declines on graphs larger than those encountered during training. Existing methods insufficiently address the removal of size information from graph representations, resulting in sub-optimal performance and reliance on backbone models. In response, we propose DISGEN, a novel and model-agnostic framework designed to disentangle size factors from graph representations. DISGEN employs size- and task-invariant augmentations and introduces a decoupling loss that minimizes shared information in hidden representations, with theoretical guarantees for its effectiveness. Our empirical results show that DISGEN outperforms the state-of-the-art models by up to 6% on real-world datasets, underscoring its effectiveness in enhancing the size generalizability of GNNs. Our codes are available at: https://github.com/GraphmindDartmouth/DISGEN.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6bbb56d5-c53c-40f9-a235-38fb5a6e52a8Cited by top-tier papers6
- Exploring Consistency in Graph Representations: from Graph Kernels to Graph Neural NetworksXuyuan Liu, Yinghao Cai, Qihui Yang, Yujun YanNeurIPS 2024 · 3 citations
- Subgraph Invariant Learning Towards Large-Scale Graph Node ClassificationLeilei Wang, Si Shi, Fei Ma, Fei Richard Yu et al.AAAI 2025 · 2 citations
- Learning Repetition-Invariant Representations for Polymer InformaticsYihan Zhu, Gang Liu, Eric Inae, Tengfei Luo et al.NeurIPS 2025
- On the Universality and Complexity of GNN for Solving Second-order Cone ProgramsRuizhe Li, Enming Liang, Minghua ChenICLR 2026
- Tackling Size Generalization of Graph Neural Networks on Biological Data from a Spectral PerspectiveGaotang Li, Danai Koutra, Yujun YanKDD 2025
Builds on20
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
- GraphCodeBERT: Pre-training Code Representations with Data FlowDaya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng et al.ICLR 2021 · 1,644 citations
- Graph Contrastive Learning with Adaptive AugmentationYanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu et al.WWW 2021 · 1,415 citations
- Parameterized Explainer for Graph Neural NetworkDongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu et al.NeurIPS 2020 · 888 citations
Related papers
- SizeShiftReg: a Regularization Method for Improving Size-Generalization in Graph Neural NetworksDavide Buffelli, Pietro Lió, Fabio VandinNeurIPS 2022 · 50 citations
- Investigating Out-of-Distribution Generalization of GNNs: An Architecture PerspectiveKai Guo, Hongzhi Wen, Wei Jin, Yaming Guo et al.KDD 2024 · 7 citations
- Disentangling, Amplifying, and Debiasing: Learning Disentangled Representations for Fair Graph Neural NetworksYeon-Chang Lee, Hojung Shin, Sang-Wook KimAAAI 2025 · 7 citations
- Robust Optimization as Data Augmentation for Large-scale GraphsKezhi Kong, Guohao Li, Mucong Ding, Zuxuan Wu et al.CVPR 2022 · 87 citations
- Debiasing Graph Neural Networks via Learning Disentangled Causal SubstructureShaohua Fan, Xiao Wang, Yanhu Mo, Chuan Shi et al.NeurIPS 2022 · 168 citations
