Hierarchical message-passing graph neural networks

Zhiqiang Zhong, Cheng-Te Li, Jun Pang

Main figure for Hierarchical message-passing graph neural networks

Abstract

Graph Neural Networks (GNNs) have become a prominent approach to machine learning with graphs and have been increasingly applied in a multitude of domains. Nevertheless, since most existing GNN models are based on flat message-passing mechanisms, two limitations need to be tackled: (i) they are costly in encoding long-range information spanning the graph structure; (ii) they are failing to encode features in the high-order neighbourhood in the graphs as they only perform information aggregation across the observed edges in the original graph. To deal with these two issues, we propose a novel Hierarchical Message-passing Graph Neural Networks framework. The key idea is generating a hierarchical structure that re-organises all nodes in a flat graph into multi-level super graphs, along with innovative intra- and inter-level propagation manners. The derived hierarchy creates shortcuts connecting far-away nodes so that informative long-range interactions can be efficiently accessed via message passing and incorporates meso- and macro-level semantics into the learned node representations. We present the first model to implement this framework, termed Hierarchical Community-aware Graph Neural Network (HC-GNN), with the assistance of a hierarchical community detection algorithm. The theoretical analysis illustrates HC-GNN’s remarkable capacity in capturing long-range information without introducing heavy additional computation complexity. Empirical experiments conducted on 9 datasets under transductive, inductive, and few-shot settings exhibit that HC-GNN can outperform state-of-the-art GNN models in network analysis tasks, including node classification, link prediction, and community detection. Moreover, the model analysis further demonstrates HC-GNN’s robustness facing graph sparsity and the flexibility in incorporating different GNN encoders.

Benchmark Results

Tested on 1 dataset 4 baseline values reported too low

Tables show presented results in global context (best 3 papers + GCN + MLP).

Classic

#ModelF1 ↑Paper
1
GAMLP(JK)
0.9982 ±0.0001
2
GraphCON-GCN
0.9960
3
GCNII
actual #3 vs paper #167 164 places worse
0.9953 ±0.0001
best reported
actual #3 vs paper #167 164 places worse
paper 0.5070 ±0.0080
paper 0.5070 ±0.0080 Δ today 0.4883
21
GCN
actual #21 vs paper #174 153 places worse
0.9850
best reported
actual #21 vs paper #174 153 places worse
paper 0.4440 ±0.0040
best today: Graph-Coupled Oscillator Networks (ICML 2022)
paper 0.4440 ±0.0040 Δ at pub 0.3640 Δ today 0.5410
57
GAT
actual #57 vs paper #171 114 places worse
0.9732 ±0.0032
best reported
actual #57 vs paper #171 114 places worse
paper 0.4690 ±0.0620
92
GIN
actual #92 vs paper #162 70 places worse
0.8724 ±0.0002
best reported
actual #92 vs paper #162 70 places worse
paper 0.5710 ±0.0080
paper 0.5710 ±0.0080 Δ at pub 0.2100 Δ today 0.3014
101
GraphSAGE
actual #101 vs paper #178 77 places worse
0.7860
best reported
actual #101 vs paper #178 77 places worse
paper 0.4090 ±0.0140
paper 0.4090 ±0.0140 Δ at pub 0.2910 Δ today 0.3770
132
SAGE
0.6928
160
HC-GNN-2L
0.5840 ±0.0870
This paper
161
HC-GNN-3L
0.5840 ±0.0020
This paper
167
GXN
0.5100 ±0.0940
This paper
169
HC-GNN-1L
0.4800 ±0.0910
This paper
173
MLP
0.4620
175
g-U-Net
0.4330 ±0.0120
This paper
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green) Best today — OK at publication; today's leaderboard best is elsewhere