From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness
Abstract
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, however their expressiveness is upper-bounded by the 1st-order Weisfeiler-Leman 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 uplift 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
97 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Recipe for a General, Powerful, Scalable Graph Transformer cites What graph neural networks cannot learn: depth vs width
- Recipe for a General, Powerful, Scalable Graph Transformer cites Weisfeiler and Lehman Go Cellular: CW Networks
- Recipe for a General, Powerful, Scalable Graph Transformer cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Recipe for a General, Powerful, Scalable Graph Transformer cites Principal Neighbourhood Aggregation for Graph Nets
- How Powerful are K-hop Message Passing Graph Neural Networks cites What graph neural networks cannot learn: depth vs width
- How Powerful are K-hop Message Passing Graph Neural Networks cites Weisfeiler and Lehman Go Cellular: CW Networks
- How Powerful are K-hop Message Passing Graph Neural Networks cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- How Powerful are K-hop Message Passing Graph Neural Networks cites Principal Neighbourhood Aggregation for Graph Nets
- Weisfeiler and Lehman Go Cellular: CW Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Weisfeiler and Lehman Go Cellular: CW Networks cites Principal Neighbourhood Aggregation for Graph Nets
- Graph Condensation for Graph Neural Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Graph Inductive Biases in Transformers without Message Passing cites Recipe for a General, Powerful, Scalable Graph Transformer
- Graph Inductive Biases in Transformers without Message Passing cites What graph neural networks cannot learn: depth vs width
- Graph Inductive Biases in Transformers without Message Passing cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Graph Inductive Biases in Transformers without Message Passing cites Principal Neighbourhood Aggregation for Graph Nets
- Exphormer: Sparse Transformers for Graphs cites Recipe for a General, Powerful, Scalable Graph Transformer
- Exphormer: Sparse Transformers for Graphs cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Exphormer: Sparse Transformers for Graphs cites Principal Neighbourhood Aggregation for Graph Nets
- Principal Neighbourhood Aggregation for Graph Nets cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Cited by top-tier papers97
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu et al.NeurIPS 2022 · 1,216 citations
- Exphormer: Sparse Transformers for GraphsHamed Shirzad, Ameya Velingker, Balaji Venkatachalam, Danica J. Sutherland et al.ICML 2023 · 219 citations
- Graph Condensation for Graph Neural NetworksWei Jin, Lingxiao Zhao, Shichang Zhang, Yozen Liu et al.ICLR 2022 · 203 citations
- How Powerful are K-hop Message Passing Graph Neural NetworksJiarui Feng, Yixin Chen, Fuhai Li, Anindya Sarkar et al.NeurIPS 2022 · 188 citations
- Graph Inductive Biases in Transformers without Message PassingLiheng Ma, Chen Lin, Derek Lim, Adriana Romero-Soriano et al.ICML 2023 · 185 citations
Builds on19
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Principal Neighbourhood Aggregation for Graph NetsGabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Liò et al.NeurIPS 2020 · 914 citations
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation LearningPan Li, Yanbang Wang, Hongwei Wang, Jure LeskovecNeurIPS 2020 · 391 citations
- What graph neural networks cannot learn: depth vs widthAndreas LoukasICLR 2020 · 336 citations
- Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang et al.NeurIPS 2021 · 330 citations
Related papers
- Equivariant Subgraph Aggregation NetworksBeatrice Bevilacqua, Fabrizio Frasca, Derek Lim, Balasubramaniam Srinivasan et al.ICLR 2022 · 217 citations
- Extending the Design Space of Graph Neural Networks by Rethinking Folklore Weisfeiler-LehmanJiarui Feng, Lecheng Kong, Hao Liu, Dacheng Tao et al.NeurIPS 2023 · 22 citations
- Union Subgraph Neural NetworksJiaxing Xu, Aihu Zhang, Qingtian Bian, Vijay Prakash Dwivedi et al.AAAI 2024 · 12 citations
- Improving the Expressiveness of K-hop Message-Passing GNNs by Injecting Contextualized Substructure InformationTianjun Yao, Yingxu Wang, Kun Zhang, Shangsong LiangKDD 2023 · 8 citations
- Weisfeiler-Leman at the margin: When more expressivity mattersBilly Joe Franks, Christopher Morris, Ameya Velingker, Floris GeertsICML 2024 · 15 citations
