[Paper Review] From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness
GNN-AK proposes encoding local subgraphs with a base GNN to uplift any GNN, improving expressiveness beyond 1&2-WL and achieving state-of-the-art results on several graph benchmarks.
Message Passing Neural Networks (MPNNs) are a common type of Graph Neural Network (GNN), in which each node's representation is computed recursively by aggregating representations (messages) from its immediate neighbors akin to a star-shaped pattern. MPNNs are appealing for being efficient and scalable, how-ever their expressiveness is upper-bounded by the 1st-order Weisfeiler-Lehman isomorphism test (1-WL). In response, prior works propose highly expressive models at the cost of scalability and sometimes generalization performance. Our work stands between these two regimes: we introduce a general framework to uplift any MPNN to be more expressive, with limited scalability overhead and greatly improved practical performance. We achieve this by extending local aggregation in MPNNs from star patterns to general subgraph patterns (e.g.,k-egonets):in our framework, each node representation is computed as the encoding of a surrounding induced subgraph rather than encoding of immediate neighbors only (i.e. a star). We choose the subgraph encoder to be a GNN (mainly MPNNs, considering scalability) to design a general framework that serves as a wrapper to up-lift any GNN. We call our proposed method GNN-AK(GNN As Kernel), as the framework resembles a convolutional neural network by replacing the kernel with GNNs. Theoretically, we show that our framework is strictly more powerful than 1&2-WL, and is not less powerful than 3-WL. We also design subgraph sampling strategies which greatly reduce memory footprint and improve speed while maintaining performance. Our method sets new state-of-the-art performance by large margins for several well-known graph ML tasks; specifically, 0.08 MAE on ZINC,74.79% and 86.887% accuracy on CIFAR10 and PATTERN respectively.
Motivation & Objective
- Motivate higher expressive power for GNNs beyond 1-WL without sacrificing scalability.
- Introduce a general framework that replaces star-neighborhood aggregation with subgraph-based encoding using a GNN as a kernel.
- Provide theoretical guarantees relating GNN-AK to WL hierarchies and practical strategies to manage memory.
- Develop practical realizations (GNN-AK and GNN-AK+) with subgraph sampling to improve scalability and speed while preserving performance.
- Demonstrate empirical gains across synthetic and real-world graph datasets using various base GNNs.
Proposed method
- Reframe node updates to encode rooted k-hop egonets (subgraphs) around each node rather than only the immediate star neighborhood.
- Use a base GNN as a subgraph encoder (kernel) to produce embeddings for each node within each subgraph.
- Aggregate subgraph embeddings via centroid, subgraph, and context encodings and fuse them to obtain layer-wise node representations.
- Extend to GNN-AK+ by adding context encodings and distance-to-centroid (D2C) based gating to leverage richer information inside subgraphs.
- Introduce SubgraphDrop to sample subgraphs during training to reduce memory footprint and mitigate overfitting, with alignment adjustments between training and evaluation.
Experimental results
Research questions
- RQ1How can we elevate the expressiveness of any GNN beyond 1-WL without incurring prohibitive scalability costs?
- RQ2Can encoding information from locally induced subgraphs via a GNN kernel provide a provable expressiveness advantage over traditional MPNNs?
- RQ3What practical strategies (sampling, gating, multi-encoding) can maintain performance while reducing memory and runtime overhead?
- RQ4To what extent do GNN-AK and its enhanced variant GNN-AK+ achieve state-of-the-art results on standard graph classification/regression benchmarks?
- RQ5Under what conditions can Subgraph-1-WL-like frameworks distinguish non-isomorphic graphs beyond 1- and 2-WL?
Key findings
- GNN-AK is strictly more powerful than 1- and 2-WL when using a base MPNN, and not less powerful than 3-WL when using an appropriate base encoder.
- GNN-AK+ further improves expressiveness by incorporating context- and D2C-guided encodings, yielding stronger empirical performance.
- SubgraphDrop effectively reduces memory overhead (1–3x in practice) with negligible performance loss on benchmarks.
- Across experiments on ZINC, CIFAR10, and PATTERN, GNN-AK+ achieves state-of-the-art or competitive results, significantly outperforming standard GNN baselines.
- Theoretical results show Subgraph-1-WL aligns with (and can surpass) certain higher-order WL tests, depending on the chosen subgraph encodings and kernel expressiveness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.