Towards Dynamic Message Passing on Graphs
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Node Classification | amazon-ratings | Accuracy50.25 | 354 | |
| Node Classification | questions | ROC AUC0.7807 | 161 | |
| Node Classification | Minesweeper | ROC AUC93.97 | 117 | |
| Node Classification | tolokers | ROC AUC84.85 | 104 | |
| Node Classification | Coauthor Physics | -- | 104 | |
| Node Classification | CORA inductive setting (test) | Accuracy29.3 | 37 | |
| Node Classification | CITESEER inductive setting (test) | Accuracy22.26 | 34 | |
| Node Classification | Coauthor CS | ROC-AUC94.44 | 18 | |
| Node Classification | WikiCS inductive (test) | Accuracy22.39 | 15 | |
| Transductive Node Classification | Minesweeper | AUC-ROC93.97 | 15 |