How Powerful are K-hop Message Passing Graph Neural Networks

Jiarui Feng, Yixin Chen, Fuhai Li, Anindya Sarkar, Muhan Zhang
5/26/2022
cs.LGcs.AI
gnn

Official code: JiaruiFeng/KP-GNN (60 stars, Python, MIT, last commit 2023-12-20).

Abstract

The most popular design paradigm for Graph Neural Networks (GNNs) is 1-hop message passing -- aggregating information from 1-hop neighbors repeatedly. However, the expressive power of 1-hop message passing is bounded by the Weisfeiler-Lehman (1-WL) test.

Show full abstract

Recently, researchers extended 1-hop message passing to K-hop message passing by aggregating information from K-hop neighbors of nodes simultaneously. However, there is no work on analyzing the expressive power of K-hop message passing. In this work, we theoretically characterize the expressive power of K-hop message passing. Specifically, we first formally differentiate two different kernels of K-hop message passing which are often misused in previous works. We then characterize the expressive power of K-hop message passing by showing that it is more powerful than 1-WL and can distinguish almost all regular graphs. Despite the higher expressive power, we show that K-hop message passing still cannot distinguish some simple regular graphs and its expressive power is bounded by 3-WL. To further enhance its expressive power, we introduce a KP-GNN framework, which improves K-hop message passing by leveraging the peripheral subgraph information in each hop. We show that KP-GNN can distinguish many distance regular graphs which could not be distinguished by previous distance encoding or 3-WL methods. Experimental results verify the expressive power and effectiveness of KP-GNN. KP-GNN achieves competitive results across all benchmark datasets.

View on arXivView PDF

Code Implementations(1)

JiaruiFeng/KP-GNNOfficial100%
MIT

Source code for how powerful are K-hop message passing graph neural networks (Neurips 2022)

605PythonMay 26, 20222 years agoMIT

Similar Papers

Cite this paper

@article{feng2022powerful,
  title  = {How Powerful are K-hop Message Passing Graph Neural Networks},
  author = {Jiarui Feng and Yixin Chen and Fuhai Li and Anindya Sarkar and Muhan Zhang},
  year   = {2022},
  eprint = {2205.13328},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.13328}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.13328.svg)](https://codeofpaper.com/paper/2205.13328)

Discussion