Towards Dynamic Message Passing on Graphs

Junshu Sun, Chen Yang, Xiangyang Ji, Qingming Huang, Shuhui Wang
10/1/2024

No official code found. Best implementation: sunjss/N2 (10 stars, last commit 2025-05-20).

Abstract

Message passing plays a vital role in graph neural networks (GNNs) for effective feature learning. However, the over-reliance on input topology diminishes the efficacy of message passing and restricts the ability of GNNs. Despite efforts to mitigate the reliance, existing study encounters message-passing bottlenecks or high computational expense problems, which invokes the demands for flexible message passing with low complexity. In this paper, we propose a novel dynamic message-passing mechanism for GNNs. It projects graph nodes and learnable pseudo nodes into a common space with measurable spatial relations between them. With nodes moving in the space, their evolving relations facilitate flexible pathway construction for a dynamic message-passing process. Associating pseudo nodes to input graphs with their measured relations, graph nodes can communicate with each other intermediately through pseudo nodes under linear complexity. We further develop a GNN model named $\mathtt{\mathbf{N^2}}$ based on our dynamic message-passing mechanism. $\mathtt{\mathbf{N^2}}$ employs a single recurrent layer to recursively generate the displacements of nodes and construct optimal dynamic pathways. Evaluation on eighteen benchmarks demonstrates the superior performance of $\mathtt{\mathbf{N^2}}$ over popular GNNs. $\mathtt{\mathbf{N^2}}$ successfully scales to large-scale benchmarks and requires significantly fewer parameters for graph classification with the shared recurrent layer.

View on arXivView PDF

Code Implementations(1)

sunjss/N2Community100%

This is the official implementation of the NeurIPS 2024 paper "Towards Dynamic Message Passing on Graphs".

101PythonMar 6, 20241 years ago

Similar Papers

Cite this paper

@article{sun2024towards,
  title  = {Towards Dynamic Message Passing on Graphs},
  author = {Junshu Sun and Chen Yang and Xiangyang Ji and Qingming Huang and Shuhui Wang},
  year   = {2024},
  eprint = {2410.23686},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.23686},
  url    = {https://arxiv.org/abs/2410.23686},
  journal = {NEURIPS 2024 2024}
}

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/2410.23686.svg)](https://codeofpaper.com/paper/2410.23686)

Discussion