SizeShiftReg: a Regularization Method for Improving Size-Generalization in Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
In the past few years, graph neural networks (GNNs) have become the de facto model of choice for graph classification. While, from the theoretical viewpoint, most GNNs can operate on graphs of any size, it is empirically observed that their classification performance degrades when they are applied on graphs with sizes that differ from those in the training data. Previous works have tried to tackle this issue in graph classification by providing the model with inductive biases derived from assumptions on the generative process of the graphs, or by requiring access to graphs from the test domain. The first strategy is tied to the quality of the assumptions made for the generative process, and requires the use of specific models designed after the explicit definition of the generative process of the data, leaving open the question of how to improve the performance of generic GNN models in general settings. On the other hand, the second strategy can be applied to any GNN, but requires access to information that is not always easy to obtain. In this work we consider the scenario in which we only have access to the training data, and we propose a regularization strategy that can be applied to any GNN to improve its generalization capabilities from smaller to larger graphs without requiring access to the test data. Our regularization is based on the idea of simulating a shift in the size of the training graphs using coarsening techniques, and enforcing the model to be robust to such a shift. Experimental results on standard datasets show that popular GNN models, trained on the 50% smallest graphs in the dataset and tested on the 10% largest graphs, obtain performance improvements of up to 30% when trained with our regularization strategy.
Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). Builds on 51 of its 74 references that are in the map. First posted on arXiv 16 Jul 2022.
Builds on
51 of 74 references.
References · 51
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
- 2019Invariant Risk Minimizationcited by 1,854
- 2019Similarity of Neural Network Representations Revisitedcited by 1,755
- 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,329
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,138
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
38 more
- 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 728
- 2018Machine Learning for Combinatorial Optimization: a Methodological Tour d'Horizoncited by 623
- 2016Deep Transfer Learning with Joint Adaptation Networkscited by 612
- 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
- 2016Interaction Networks for Learning about Objects, Relations and Physicscited by 509
- 2020Principal Neighbourhood Aggregation for Graph Netscited by 478
- 2018Tune: A Research Platform for Distributed Model Selection and Trainingcited by 395
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 388
- 2018A Survey of Unsupervised Deep Domain Adaptationcited by 361
- 2021Domain Adaptation for Medical Image Analysis: A Surveycited by 352
- 2021GemNet: Universal Directional Graph Neural Networks for Moleculescited by 343
- 2019Exact Combinatorial Optimization with Graph Convolutional Neural Networkscited by 318
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2018Graph networks as learnable physics engines for inference and controlcited by 244
- 2019What graph neural networks cannot learn: depth vs widthcited by 201
- 2020Generalize a Small Pre-trained Model to Arbitrarily Large TSP Instancescited by 162
- 2020Machine Learning on Graphs: A Model and Comprehensive Taxonomycited by 156
- 2015Training generative neural networks via Maximum Mean Discrepancy optimizationcited by 151
- 2017Mind the Class Weight Bias: Weighted Maximum Mean Discrepancy for Unsupervised Domain Adaptationcited by 151
- 2019Relational Pooling for Graph Representationscited by 150
- 2021Graph Condensation for Graph Neural Networkscited by 150
- 2020From Local Structures to Size Generalization in Graph Neural Networkscited by 124
- 2021Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Datacited by 87
- 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 84
- 2021Scaling Up Graph Neural Networks Via Graph Coarseningcited by 80
- 2018Learning to Solve NP-Complete Problems - A Graph Neural Network for Decision TSPcited by 58
- 2018Spectrally approximating large graphs with smaller graphscited by 56
- 2021Graph Coarsening with Neural Networkscited by 55
- 2018Graph Coarsening with Preserved Spectral Propertiescited by 41
- 2021On Representation Knowledge Distillation for Graph Neural Networkscited by 38
- 2019A Unifying Framework for Spectrum-Preserving Graph Sparsification and Coarseningcited by 31
- 2017Robust Unsupervised Domain Adaptation for Neural Networks via Moment Alignmentcited by 29
- 2021Graph coarsening: From scientific computing to machine learningcited by 21
- 2019Unsupervised Learning of Graph Hierarchical Abstractions with Differentiable Coarsening and Optimal Transportcited by 12
- 2020On the equivalence of molecular graph convolution and molecular wave function with poor basis setcited by 7
- 2022Graph Representation Learning for Multi-Task Settings: a Meta-Learning Approachcited by 5
- 2019Fully Dynamic Spectral Vertex Sparsifiers and Applicationscited by 4
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2022: 5; 2023: 14; 2024: 13; 2025: 4; 2026: 1.
37 papers.
Sort:
By area:
- 2022DiGress: Discrete Denoising diffusion for graph generationcited by 520
- 2023Structure-free Graph Condensation: From Large-scale Graphs to Condensed Graph-free Datacited by 71
- 2022Empowering Graph Representation Learning with Test-Time Graph Transformationcited by 67
- 2024A Comprehensive Survey on Graph Reduction: Sparsification, Coarsening, and Condensationcited by 57
- 2024A Survey of Graph Neural Networks in Real world: Imbalance, Noise, Privacy and OOD Challengescited by 54
- 2022Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shiftcited by 38
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2023Mind the Label Shift of Augmentation-based Graph OOD Generalizationcited by 34
- 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 31
- 2022Inductive Logical Query Answering in Knowledge Graphscited by 26
- 2023GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned Expertscited by 19
- 2023Fused Gromov-Wasserstein Graph Mixup for Graph-level Classificationscited by 15
25 more
- 2023Towards Data-centric Graph Machine Learning: Review and Outlookcited by 15
- 2022FakeEdge: Alleviate Dataset Shift in Link Predictioncited by 12
- 2023Graph Structure and Feature Extrapolation for Out-of-Distribution Generalizationcited by 10
- 2023Graph Out-of-Distribution Generalization with Controllable Data Augmentationcited by 9
- 2023What Planning Problems Can A Relational Neural Network Solve?cited by 8
- 2024Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networkscited by 8
- 2024GALA: Graph Diffusion-based Alignment with Jigsaw for Source-free Domain Adaptationcited by 8
- 2024Cooperative Classification and Rationalization for Graph Generalizationcited by 7
- 2024Enhancing Size Generalization in Graph Neural Networks through Disentangled Representation Learningcited by 7
- 2023State of the Art and Potentialities of Graph-level Learningcited by 6
- 2023On the Expressiveness and Generalization of Hypergraph Neural Networkscited by 5
- 2025Causal invariant geographic network representations with feature and structural distribution shiftscited by 3
- 2025Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalizationcited by 3
- 2023Addressing the Impact of Localized Training Data in Graph Neural Networkscited by 2
- 2024DeCaf: A Causal Decoupling Framework for OOD Generalization on Node Classificationcited by 2
- 2024Graph Neural Network Generalization with Gaussian Mixture Model Based Augmentationcited by 2
- 2025Evolving Graph Learning for Out-of-Distribution Generalization in Non-stationary Environmentscited by 2
- 2024GSINA: Improving Subgraph Extraction for Graph Invariant Learning via Graph Sinkhorn Attentioncited by 1
- 2024Learning Tree-Structured Composition of Data Augmentationcited by 1
- 2024Control the GNN: Utilizing Neural Controller with Lyapunov Stability for Test-Time Feature Reconstructioncited by 1
- 2024Graph Size-imbalanced Learning with Energy-guided Structural Smoothingcited by 1
- 2023Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networkscited by 0
- 2024Unveiling the Inflexibility of Adaptive Embedding in Traffic Forecastingcited by 0
- 2025Learning Repetition-Invariant Representations for Polymer Informaticscited by 0
- 2026Dimension-Free Scaling Laws for Size Generalization: An Exponential Separationcited by 0
- 2026Dimension-Free Scaling Laws for Size Generalization: An Exponential Separation13 Oct 2026
- 2025Evolving Graph Learning for Out-of-Distribution Generalization in Non-stationary Environments4 Nov 2025
- 2025Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalization6 Jun 2025
- 2025Learning Repetition-Invariant Representations for Polymer Informatics15 May 2025
- 2025Causal invariant geographic network representations with feature and structural distribution shifts25 Mar 2025
- 2024Graph Size-imbalanced Learning with Energy-guided Structural Smoothing23 Dec 2024
- 2024Unveiling the Inflexibility of Adaptive Embedding in Traffic Forecasting18 Nov 2024
- 2024Graph Neural Network Generalization with Gaussian Mixture Model Based Augmentation13 Nov 2024
- 2024DeCaf: A Causal Decoupling Framework for OOD Generalization on Node Classification27 Oct 2024
- 2024GALA: Graph Diffusion-based Alignment with Jigsaw for Source-free Domain Adaptation22 Oct 2024
- 2024Control the GNN: Utilizing Neural Controller with Lyapunov Stability for Test-Time Feature Reconstruction13 Oct 2024
- 2024Learning Tree-Structured Composition of Data Augmentation26 Aug 2024
25 more
- 2024Enhancing Size Generalization in Graph Neural Networks through Disentangled Representation Learning7 Jun 2024
- 2024Cooperative Classification and Rationalization for Graph Generalization10 Mar 2024
- 2024A Survey of Graph Neural Networks in Real world: Imbalance, Noise, Privacy and OOD Challenges7 Mar 2024
- 2024GSINA: Improving Subgraph Extraction for Graph Invariant Learning via Graph Sinkhorn Attention11 Feb 2024
- 2024A Comprehensive Survey on Graph Reduction: Sparsification, Coarsening, and Condensation29 Jan 2024
- 2024Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networks7 Jan 2024
- 2023GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned Experts7 Dec 2023
- 2023What Planning Problems Can A Relational Neural Network Solve?6 Dec 2023
- 2023Towards Data-centric Graph Machine Learning: Review and Outlook20 Sep 2023
- 2023Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networks20 Sep 2023
- 2023Graph Out-of-Distribution Generalization with Controllable Data Augmentation16 Aug 2023
- 2023Addressing the Impact of Localized Training Data in Graph Neural Networks24 Jul 2023
- 2023Fused Gromov-Wasserstein Graph Mixup for Graph-level Classifications28 Jun 2023
- 2023Graph Structure and Feature Extrapolation for Out-of-Distribution Generalization13 Jun 2023
- 2023Structure-free Graph Condensation: From Large-scale Graphs to Condensed Graph-free Data5 Jun 2023
- 2023Mind the Label Shift of Augmentation-based Graph OOD Generalization27 Mar 2023
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases26 Mar 2023
- 2023On the Expressiveness and Generalization of Hypergraph Neural Networks9 Mar 2023
- 2023Neural Algorithmic Reasoning with Causal Regularisation20 Feb 2023
- 2023State of the Art and Potentialities of Graph-level Learning14 Jan 2023
- 2022FakeEdge: Alleviate Dataset Shift in Link Prediction29 Nov 2022
- 2022Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift5 Nov 2022
- 2022Inductive Logical Query Answering in Knowledge Graphs13 Oct 2022
- 2022Empowering Graph Representation Learning with Test-Time Graph Transformation7 Oct 2022
- 2022DiGress: Discrete Denoising diffusion for graph generation29 Sep 2022
- 2023Structure-free Graph Condensation: From Large-scale Graphs to Condensed Graph-free Datacited by 71
- 2022Empowering Graph Representation Learning with Test-Time Graph Transformationcited by 67
- 2024A Comprehensive Survey on Graph Reduction: Sparsification, Coarsening, and Condensationcited by 57
- 2024A Survey of Graph Neural Networks in Real world: Imbalance, Noise, Privacy and OOD Challengescited by 54
- 2022Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shiftcited by 38
- 2023Mind the Label Shift of Augmentation-based Graph OOD Generalizationcited by 34
- 2022Inductive Logical Query Answering in Knowledge Graphscited by 26
- 2023Fused Gromov-Wasserstein Graph Mixup for Graph-level Classificationscited by 15
- 2023Towards Data-centric Graph Machine Learning: Review and Outlookcited by 15
- 2022FakeEdge: Alleviate Dataset Shift in Link Predictioncited by 12
- 2023Graph Structure and Feature Extrapolation for Out-of-Distribution Generalizationcited by 10
- 2023Graph Out-of-Distribution Generalization with Controllable Data Augmentationcited by 9
12 most cited of 32 All 32 (JSON)
- 2026Dimension-Free Scaling Laws for Size Generalization: An Exponential Separation13 Oct 2026
- 2025Evolving Graph Learning for Out-of-Distribution Generalization in Non-stationary Environments4 Nov 2025
- 2025Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalization6 Jun 2025
- 2025Learning Repetition-Invariant Representations for Polymer Informatics15 May 2025
- 2025Causal invariant geographic network representations with feature and structural distribution shifts25 Mar 2025
- 2024Graph Size-imbalanced Learning with Energy-guided Structural Smoothing23 Dec 2024
- 2024Unveiling the Inflexibility of Adaptive Embedding in Traffic Forecasting18 Nov 2024
- 2024Graph Neural Network Generalization with Gaussian Mixture Model Based Augmentation13 Nov 2024
- 2024DeCaf: A Causal Decoupling Framework for OOD Generalization on Node Classification27 Oct 2024
- 2024Control the GNN: Utilizing Neural Controller with Lyapunov Stability for Test-Time Feature Reconstruction13 Oct 2024
- 2024Learning Tree-Structured Composition of Data Augmentation26 Aug 2024
- 2024Enhancing Size Generalization in Graph Neural Networks through Disentangled Representation Learning7 Jun 2024
12 newest of 32 All 32 (JSON)