pith. sign in

arxiv: 2010.08853 · v3 · pith:Y7Q5SPG3new · submitted 2020-10-17 · 💻 cs.LG · cs.NE· stat.ML

From Local Structures to Size Generalization in Graph Neural Networks

classification 💻 cs.LG cs.NEstat.ML
keywords graphsgraphlocallargegeneralizationgnnslearningnetworks
0
0 comments X
read the original abstract

Graph neural networks (GNNs) can process graphs of different sizes, but their ability to generalize across sizes, specifically from small to large graphs, is still not well understood. In this paper, we identify an important type of data where generalization from small to large graphs is challenging: graph distributions for which the local structure depends on the graph size. This effect occurs in multiple important graph learning domains, including social and biological networks. We first prove that when there is a difference between the local structures, GNNs are not guaranteed to generalize across sizes: there are "bad" global minima that do well on small graphs but fail on large graphs. We then study the size-generalization problem empirically and demonstrate that when there is a discrepancy in local structure, GNNs tend to converge to non-generalizing solutions. Finally, we suggest two approaches for improving size generalization, motivated by our findings. Notably, we propose a novel Self-Supervised Learning (SSL) task aimed at learning meaningful representations of local structures that appear in large graphs. Our SSL task improves classification accuracy on several popular datasets.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Towards Generalization of Graph Neural Networks for AC Optimal Power Flow

    cs.LG 2025-10 unverdicted novelty 6.0

    HH-MPNN achieves under 1% optimality gap on default topologies from 14 to 2000 buses, zero-shot N-1 generalization under 3% gap, and improved size generalization via pre-training on small grids.

  2. Probabilistic Graphical Model using Graph Neural Networks for Bayesian Inversion of Discrete Structural Component States

    stat.ML 2026-04 unverdicted novelty 5.0

    A probabilistic graphical model framework with graph neural network inference computes Bayesian posteriors for discrete structural states, claimed to match traditional Bayesian results while scaling to high-dimensiona...