On the Expressive Power of Subgraph Graph Neural Networks for Graphs with Bounded Cycles
Ziang Chen, Qiao Zhang, Runzhong Wang
TL;DR
This work analyzes the expressive power of subgraph-enhanced graph neural networks (GNNs) and establishes universal approximation results for $k$-hop subgraph GNNs on graphs whose cycle lengths are bounded by $2k+1$. It shows that such networks can approximate any permutation-invariant/equivariant continuous function under mild assumptions, and extends the results to standard $k$-hop GNNs without subgraph structure under a $k$-separability condition, with a bound of $2k-1$ cycles. The theory is complemented by numerical experiments using Graphormer-based architectures on the ZINC dataset, demonstrating that increasing the aggregation distance $k$ up to about 3 captures most relevant cycle information. The findings clarify how the neighborhood aggregation distance interacts with cycle size, guiding practical design choices for expressive GNNs in graphs with bounded cycles.
Abstract
Graph neural networks (GNNs) have been widely used in graph-related contexts. It is known that the separation power of GNNs is equivalent to that of the Weisfeiler-Lehman (WL) test; hence, GNNs are imperfect at identifying all non-isomorphic graphs, which severely limits their expressive power. This work investigates $k$-hop subgraph GNNs that aggregate information from neighbors with distances up to $k$ and incorporate the subgraph structure. We prove that under appropriate assumptions, the $k$-hop subgraph GNNs can approximate any permutation-invariant/equivariant continuous function over graphs without cycles of length greater than $2k+1$ within any error tolerance. We also provide an extension to $k$-hop GNNs without incorporating the subgraph structure. Our numerical experiments on established benchmarks and novel architectures validate our theory on the relationship between the information aggregation distance and the cycle size.
