Local Permutation Equivariance For Graph Neural Networks

Joshua Mitton, Roderick Murray-Smith

Abstract

Subgraph Permutation Equivariant Networks (SPEN) is a novel framework designed to overcome the "expressivity vs. scalability" trade-off in graph machine learning. By leveraging local $k$-ego subgraphs and permutation equivariant layers, SPEN achieves higher-order expressive power—surpassing the standard 1-WL test—while maintaining the efficiency required for large-scale graph processing.

Introduction: The Expressivity Bottleneck

Most modern Graph Neural Networks (GNNs) utilize Message Passing (MPNNs), which are favored for their linear scaling. However, these models face a fundamental limitation: they are at most as powerful as the 1-Weisfeiler-Lehman (1-WL) graph isomorphism test. Consequently, they cannot distinguish between certain non-isomorphic graphs that share similar local neighborhood structures.

Figure 1: Examples of non-isomorphic graphs that are indistinguishable by the standard 1-WL test.

While "higher-order" GNNs have been proposed to solve this, they typically suffer from $O(n^k)$ complexity, making them impractical for large datasets. SPEN addresses this by focusing on local subgraph symmetries rather than global ones.

Methodology: Subgraph Permutation Equivariant Networks (SPEN)

The SPEN framework shifts the computational focus to local structures through a three-step process:

  1. Subgraph Extraction: For each node, a $k$-hop "ego-network" is extracted.
  2. "Bag of Bags" Representation: The graph is represented as a collection of subgraphs, grouped into "bags" based on their size and automorphism groups.
  3. Local Equivariant Updates: $k$-order permutation equivariant encoders are applied to these subgraphs. Weight sharing is enforced within bags to respect naturality constraints, and information is propagated across the graph by re-inserting and re-extracting features between layers.
Figure 4: The SPEN architecture pipeline, from subgraph extraction to equivariant updates and final output.

By operating on subgraphs of size $m$ instead of the full graph of size $n$, complexity is reduced from $O(n^k)$ to $O(nm^2)$, enabling significant scalability gains.

Experimental Evaluation

The model was tested on standard TUDataset benchmarks (MUTAG, PTC, PROTEINS, NCI1, NCI109, IMDB-B/M) and synthetic Strongly Regular Graphs.

Key Results

  • Expressivity: SPEN distinguished 97% of strongly regular graphs, a task where standard GCNs and even some higher-order models like PPGN failed completely.
  • Performance: SPEN achieved state-of-the-art results on six out of seven benchmarks, notably reaching 93.3% accuracy on MUTAG and 83.7% on NCI1.
  • Scalability: Unlike global methods that hit memory limits quickly, SPEN's memory footprint remains manageable for graphs with up to 10,000 nodes.

Discussion and Future Work

SPEN demonstrates that local analysis can be more expressive than global analysis; two graphs may appear identical to a global 1-WL test but possess distinguishable local $k$-ego subgraphs. By using symmetry-aware weight sharing, the model respects the internal geometry of these subgraphs.

Current limitations include slightly lower performance on very small graphs (e.g., IMDB-M) where local extraction offers less benefit, and sensitivity to the choice of the $k$-hop hyperparameter. Future research may explore even higher-order representations within subgraphs to further enhance expressivity.

Summary updated

BibTeX
@article{mitton2023local,
  author = {Joshua Mitton and Roderick Murray-Smith},
  title = {{Local Permutation Equivariance For Graph Neural Networks}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=3agxS3aDUs},
}
Figure