A Graphop Analysis of Graph Neural Networks on Sparse Graphs: Generalization and Universal Approximation
Ofek Amran, Tom Gilat, Ron Levie
TL;DR
The paper develops a unified theory for graph neural networks that covers both sparse and dense graphs by embedding graphs as bofops within graphop theory and extending MPNNs to bofop-signals. It introduces the action metric to obtain compactness and Lipschitz continuity of MPNNs, and the DIDM-mover’s distance to capture the separation power of MPNNs via 1-WL extensions. A key achievement is proving universal approximation on the compact space of bofop-DIDMs and establishing generalization bounds for MPNNs in this setting, along with a hierarchical view of DIDM spaces separating graphons from general sparse graph limits. The framework also provides a canonical bridge between profile-based representations and operator-based graph limits, enabling both theoretical insights and potential practical aggregations that work across graph sizes. Together, these results advance the principled understanding of GNN generalization and expressivity in realistic, heterogeneous graph regimes.
Abstract
Generalization and approximation capabilities of message passing graph neural networks (MPNNs) are often studied by defining a compact metric on a space of input graphs under which MPNNs are Hölder continuous. Such analyses are of two varieties: 1) when the metric space includes graphs of unbounded sizes, the theory is only appropriate for dense graphs, and, 2) when studying sparse graphs, the metric space only includes graphs of uniformly bounded size. In this work, we present a unified approach, defining a compact metric on the space of graphs of all sizes, both sparse and dense, under which MPNNs are Hölder continuous. This leads to more powerful universal approximation theorems and generalization bounds than previous works. The theory is based on, and extends, a recent approach to graph limit theory called graphop analysis.
