Graph Homomorphism Convolution
Abstract
In this paper, we study the graph classification problem from the graph homomorphism perspective. We consider the homomorphisms from $F$ to $G$, where $G$ is a graph of interest (e.g. molecules or social networks) and $F$ belongs to some family of graphs (e.g. paths or non-isomorphic trees). We show that graph homomorphism numbers provide a natural invariant (isomorphism invariant and $ $-invariant) embedding maps which can be used for graph classification. Viewing the expressive power of a graph classifier by the $ $-indistinguishable concept, we prove the universality property of graph homomorphism vectors in approximating $ $-invariant functions. In practice, by choosing $ $ whose elements have bounded tree-width, we show that the homomorphism method is efficient compared with other methods.
Benchmark Results
Tested on 4 datasets 1 baseline value reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
TU Dortmund
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | MSH-GNN | 0.9910
±0.0030 | |
| 2 | ID-GNN+BEC | 0.9830
±0.0360 | |
| 3 | SupCosine | 0.9830
±0.0250 | |
| 39 | GIN | 0.9330
±0.0290 best reported | best at pub: Provably Powerful Graph Networks (NeurIPS 2019) best today: ProtGNN: Towards Self-Explaining Graph Neural Networks (AAAI 2021) Difference within reported uncertainty; not counted as underperformance. |
| 55 | PATCHY-SAN | 0.9250
±0.0420 | prev best: DEMO-Net: Degree-specific Graph Neural Networks for Node and Graph Classification (KDD 2019) |
| 63 | GCN | 0.9220
±0.0440 | |
| 164 | WL kernel | 0.9040
±0.0570 | This paper |
| 191 | GNTK | 0.9000
±0.0850 | This paper |
| 265 | GHC-Tree | 0.8928
±0.0826 | This paper |
| 292 | GHC-LabelTree | 0.8886
±0.0482 | This paper |
| 340 | AWL kernel | 0.8790
±0.0980 | This paper |
| 343 | GHC-Cycle | 0.8781
±0.0746 | This paper |
| 373 | WL-W kernel | 0.8727
±0.0150 | This paper |
| 403 | MLP | 0.8660
±0.0495 | |
| 446 | Graphlet Kernel | 0.8520
±0.0090 | This paper |
| 470 | WL-OA kernel | 0.8450
±0.0017 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | ID-GNN+BEC | 0.8150
±0.0240 | |
| 2 | GIN+BEC | 0.8080
±0.0330 | |
| 3 | GCN+BEC | 0.7990
±0.0340 | |
| 4 | GCN | 0.7980
±0.0230 | |
| 14 | GIN | 0.7810
±0.0350 best reported | best today: Depth-Adaptive Graph Neural Networks via Learnable Bakry-Émery Curvature (KDD 2025) Difference within reported uncertainty; not counted as underperformance. |
| 17 | GNTK | 0.7690
±0.0360 | This paper |
| 45 | AWL kernel | 0.7450
±0.0590 | This paper |
| 47 | WL-W kernel | 0.7437
±0.0083 | This paper |
| 79 | WL kernel | 0.7312
±0.0040 | This paper |
| 105 | GHC-Tree | 0.7210
±0.0262 | This paper |
| 128 | PATCHY-SAN | 0.7100
±0.0220 | This paper |
| 131 | GHC-Cycles | 0.7093
±0.0454 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphSNN | 0.7790
±0.0360 | |
| 2 | SIN | 0.7560
±0.0320 | |
| 3 | CIN | 0.7560
±0.0370 | |
| 5 | GIN | 0.7510
±0.0510 best reported | best today: Empowering GNNs via Edge-Aware Weisfeiler-Leman Algorithm (TMLR 2022) |
| 28 | GNTK | 0.5280
±0.0460 | This paper |
| 38 | GCN | 0.5190 | |
| 42 | AWL kernel | 0.5150
±0.0360 | This paper |
| 84 | GHC-Tree | 0.4860
±0.0440 | This paper |
| 92 | GHC-Cycles | 0.4761
±0.0367 | This paper |
| 107 | PATCHY-SAN | 0.4520
±0.0280 | This paper |
GNNBenchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 6 | GHC-Cycles | 1.0000 | This paper |
| 1 | PPGN | 1.0000 | |
| 2 | RW-AgentNet | 1.0000 | |
| 3 | AgentNet | 1.0000 | |
| 8 | GCN | 1.0000 | |
| 40 | GIN | 0.9933
±0.0133 best reported | best at pub: On the Equivalence between Graph Isomorphism Testing and Function Approximation with GNNs (NeurIPS 2019) best today: GNNBenchmark (JMLR 2023) |
| 55 | Ring-GNN | 0.8000
±0.1570 best reported | best at pub: On the Equivalence between Graph Isomorphism Testing and Function Approximation with GNNs (NeurIPS 2019) |
| 73 | GNTK | 0.1000 | This paper |
| 74 | GHC-Tree | 0.1000 | This paper |
