English

Towards Dynamic Message Passing on Graphs

Machine Learning 2024-12-03 v2

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 N2\mathtt{\mathbf{N^2}} based on our dynamic message-passing mechanism. N2\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 N2\mathtt{\mathbf{N^2}} over popular GNNs. N2\mathtt{\mathbf{N^2}} successfully scales to large-scale benchmarks and requires significantly fewer parameters for graph classification with the shared recurrent layer.

Keywords

Cite

@article{arxiv.2410.23686,
  title  = {Towards Dynamic Message Passing on Graphs},
  author = {Junshu Sun and Chenxue Yang and Xiangyang Ji and Qingming Huang and Shuhui Wang},
  journal= {arXiv preprint arXiv:2410.23686},
  year   = {2024}
}

Comments

Accepted by NeurIPS 2024

R2 v1 2026-06-28T19:42:28.852Z