Graph Classification via Reference Distribution Learning: Theory and Practice
Abstract
Graph classification is a challenging problem owing to the difficulty in quantifying the similarity between graphs or representing graphs as vectors, though there have been a few methods using graph kernels or graph neural networks (GNNs). Graph kernels often suffer from computational costs and manual feature engineering, while GNNs commonly utilize global pooling operations, risking the loss of structural or semantic information. This work introduces Graph Reference Distribution Learning (GRDL), an efficient and accurate graph classification method. GRDL treats each graph's latent node embeddings given by GNN layers as a discrete distribution, enabling direct classification without global pooling, based on maximum mean discrepancy to adaptively learned reference distributions. To fully understand this new model (the existing theories do not apply) and guide its configuration (e.g., network architecture, references' sizes, number, and regularization) for practical use, we derive generalization error bounds for GRDL and verify them numerically. More importantly, our theoretical and numerical results both show that GRDL has a stronger generalization ability than GNNs with global pooling operations. Experiments on moderate-scale and large-scale graph datasets show the superiority of GRDL over the state-of-the-art, emphasizing its remarkable efficiency, being at least 10 times faster than leading competitors in both training and inference stages.
Benchmark Results
Tested on 4 datasets 13 baseline values 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: ProtGNN: Towards Self-Explaining Graph Neural Networks (AAAI 2021) Difference within reported uncertainty; not counted as underperformance. |
| 55 | PATCHY-SAN | 0.9260
±0.0420 | prev best: Graph Homomorphism Convolution (ICML 2020) Improvement within reported uncertainty; not highlighted. |
| 56 | SAT | 0.9260
±0.0430 | |
| 63 | GCN | 0.9220
±0.0440 | |
| 68 | GRDL | 0.9210
±0.0590 | This paper |
| 84 | OT-GNN | 0.9160
±0.0460 | This paper |
| 118 | WEGL | 0.9100
±0.0340 | prev best: Molecular Representation Learning via Heterogeneous Motif Graph Neural Networks (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 132 | GRDL-W | 0.9080
±0.0460 | This paper |
| 142 | GRDL-S | 0.9060
±0.0570 | This paper |
| 141 | MINCUTPOOL | 0.9060
±0.0460 | prev best: Total Variation Graph Neural Networks (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 160 | DropGIN | 0.9040
±0.0700 | prev best: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) Improvement within reported uncertainty; not highlighted. |
| 159 | WL | 0.9040
±0.0570 best reported | best at pub: How Powerful are $K$-hop Message Passing Graph Neural Networks (NeurIPS 2022) Difference within reported uncertainty; not counted as underperformance. |
| 202 | GMT | 0.8990
±0.0420 | prev best: Structural Entropy Guided Graph Hierarchical Pooling (ICML 2022) |
| 224 | Graphormer | 0.8960
±0.0620 | Improvement within reported uncertainty; not highlighted. |
| 239 | DiffPool | 0.8940
±0.0460 | prev best: Total Variation Graph Neural Networks (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 245 | SEP | 0.8940
±0.0610 | prev best: Scalable Graph Compressed Convolutions (2024) Improvement within reported uncertainty; not highlighted. |
| 246 | WITTOPOPOOL | 0.8940
±0.0540 | This paper |
| 367 | ASAP | 0.8740
±0.0570 | prev best: Multi-grained Semantics-aware Graph Neural Networks (2020) |
| 403 | MLP | 0.8660
±0.0495 | |
| 409 | WWL | 0.8630
±0.0790 | This paper |
| 474 | FGW - SP | 0.8440
±0.0730 | This paper |
| 541 | FGW - ADJ | 0.8260
±0.0720 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | WL-MLP | 0.9954 | |
| 2 | GIN | 0.9934 best reported | best at pub: 1-WL Expressiveness Is (Almost) All You Need (2022) |
| 3 | GCN | 0.9727 | |
| 5 | DiffPool | 0.9210
±0.0260 best reported | best at pub: Where to Mask: Structure-Guided Masking for Graph Masked Autoencoders (IJCAI 2024) |
| 12 | WL | 0.8590
±0.0010 best reported | best at pub: Propagation Kernels (2014) |
| 15 | WWL | 0.8570
±0.0080 | This paper |
| 78 | OT-GNN | 0.8290
±0.0210 | This paper |
| 105 | SAT | 0.8250
±0.0080 | prev best: SignGT: Signed Attention-based Graph Transformer for Graph Representation Learning (2023) Improvement within reported uncertainty; not highlighted. |
| 123 | DropGIN | 0.8219
±0.0139 best reported | best at pub: Union Subgraph Neural Networks (AAAI 2023) Difference within reported uncertainty; not counted as underperformance. |
| 131 | GraphSAGE | 0.8200
±0.0100 | |
| 154 | Graphormer | 0.8144
±0.0057 best reported | |
| 172 | GRDL-S | 0.8120
±0.0150 | This paper |
| 183 | GRDL-W | 0.8090
±0.0080 | This paper |
| 203 | GRDL | 0.8040
±0.0080 | This paper |
| 226 | GMT | 0.7990
±0.0040 | prev best: Structural Entropy Guided Graph Hierarchical Pooling (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 228 | WITTOPOPOOL | 0.7990
±0.0130 | This paper |
| 254 | SEP | 0.7935
±0.0033 best reported | best at pub: Scalable Graph Compressed Convolutions (2024) |
| 288 | PATCHY-SAN | 0.7860
±0.0190 best reported | best at pub: Scalable Graph Compressed Convolutions (2024) best today: Graph Self-Supervised Learning with Learnable Structural and Positional Encodings (WWW 2025) Difference within reported uncertainty; not counted as underperformance. |
| 309 | ASAP | 0.7821
±0.0175 best reported | best at pub: Multi-grained Semantics-aware Graph Neural Networks (2020) |
| 368 | MINCUTPOOL | 0.7680
±0.0160 best reported | best at pub: Higher-order Clustering and Pooling for Graph Neural Networks (2022) |
| 369 | WEGL | 0.7680
±0.0170 best reported | best at pub: Molecular Representation Learning via Heterogeneous Motif Graph Neural Networks (ICML 2022) Difference within reported uncertainty; not counted as underperformance. |
| 426 | FGW - ADJ | 0.7440
±0.0210 | This paper |
| 454 | FGW - SP | 0.7280
±0.0150 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | MSH-GNN | 0.9410
±0.0330 | |
| 2 | GRDL | 0.8260
±0.0120 | This paper |
| 3 | GMN | 0.8225 | |
| 4 | GRDL-W | 0.8210
±0.0090 | This paper |
| 7 | DiffPool | 0.8161
±0.0232 best reported | |
| 10 | GRDL-S | 0.8110
±0.0140 | This paper |
| 18 | WITTOPOPOOL | 0.8000
±0.0320 | This paper |
| 29 | ASAP | 0.7892
±0.0145 best reported | best at pub: Multi-grained Semantics-aware Graph Neural Networks (2020) |
| 32 | GIN | 0.7880
±0.0410 best reported | best at pub: Permutation-Invariant graph partitioning: How graph neural networks capture structural interactions? (2023) Difference within reported uncertainty; not counted as underperformance. |
| 55 | SAT | 0.7770
±0.0320 | |
| 67 | SAGE | 0.7726
±0.0228 | |
| 88 | DropGIN | 0.7690
±0.0430 | prev best: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) Improvement within reported uncertainty; not highlighted. |
| 103 | OT-GNN | 0.7660
±0.0400 | This paper |
| 115 | SEP | 0.7642
±0.0039 best reported | best at pub: Scalable Graph Compressed Convolutions (2024) Difference within reported uncertainty; not counted as underperformance. |
| 128 | Graphormer | 0.7630
±0.0270 | |
| 142 | WEGL | 0.7610
±0.0330 best reported | best at pub: Molecular Representation Learning via Heterogeneous Motif Graph Neural Networks (ICML 2022) Difference within reported uncertainty; not counted as underperformance. |
| 149 | MLP | 0.7600
±0.0320 | |
| 172 | MINCUTPOOL | 0.7575
±0.0380 best reported | best at pub: Pooling Architecture Search for Graph Classification (2021) Difference within reported uncertainty; not counted as underperformance. |
| 190 | WL | 0.7560
±0.0040 best reported | best at pub: On Valid Optimal Assignment Kernels and Applications to Graph Classification (NeurIPS 2016) |
| 237 | PATCHY-SAN | 0.7510
±0.0330 | prev best: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) Improvement within reported uncertainty; not highlighted. |
| 236 | GMT | 0.7510
±0.0060 | prev best: Structural Entropy Guided Graph Hierarchical Pooling (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 299 | FGW - SP | 0.7430
±0.0330 | This paper |
| 300 | WWL | 0.7430
±0.0060 best reported | best at pub: Wasserstein Embedding for Graph Learning (ICLR 2020) |
| 391 | FGW - ADJ | 0.7240
±0.0470 | This paper |
COLLAB
Global leaderboard →Default metric is Accuracy. The paper reports 20 values on Accuracy and 2 values on Testing Accuracy .
| # | Model | Accuracy ↑ default | Testing Accuracy ↑ | Paper |
|---|---|---|---|---|
| 1 | WL-MLP | 0.9792 | — | Testing Accuracy
— |
| 2 | MSH-GNN | 0.9640
±
0.0070 | — | Testing Accuracy
— |
| 3 | CoCN | 0.8722
±
0.0013 | — | Testing Accuracy
— |
| 23 | GCN | 0.8260
±
0.0220 | — | Testing Accuracy
— |
| 30 | GIN | 0.8220
±0.0210 best reported | 0.7930 | Testing Accuracy
0.7930 best at pub: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) Difference within reported uncertainty; not counted as underperformance. |
| 33 | DiffPool | 0.8213
±0.0043 best reported | — | Testing Accuracy
— best at pub: Scalable Graph Compressed Convolutions (2024) |
| 38 | Graphormer | 0.8180
±0.0224 best reported | — | Testing Accuracy
— best at pub: SignGT: Signed Attention-based Graph Transformer for Graph Representation Learning (2023) Difference within reported uncertainty; not counted as underperformance. |
| 58 | WWL | 0.8140
±
0.0210 | — | Testing Accuracy
— |
| 69 | SEP | 0.8130
±0.0020 | — | Testing Accuracy
— prev best: Scalable Graph Compressed Convolutions (2024) Improvement within reported uncertainty; not highlighted. |
| 86 | MINCUTPOOL | 0.8090
±0.0030 | — | Testing Accuracy
— prev best: Structural Entropy Guided Graph Hierarchical Pooling (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 93 | GMT | 0.8074
±0.0054 best reported | — | Testing Accuracy
— best at pub: Structural Entropy Guided Graph Hierarchical Pooling (ICML 2022) best today: Cluster-wise Graph Transformer with Dual-granularity Kernelized Attention (NeurIPS 2024) Difference within reported uncertainty; not counted as underperformance. |
| 96 | OT-GNN | 0.8070
±
0.0290 | — | Testing Accuracy
— |
| 100 | FGW - ADJ | 0.8060
±
0.0150 | — | Testing Accuracy
— |
| 101 | SAT | 0.8060
±0.0060 | — | Testing Accuracy
— prev best: SignGT: Signed Attention-based Graph Transformer for Graph Representation Learning (2023) Improvement within reported uncertainty; not highlighted. |
| 109 | GRDL-W | 0.8040
±
0.0110 | — | Testing Accuracy
— |
| 122 | DropGIN | 0.8010
±
0.0280 | — | Testing Accuracy
— |
| 123 | WITTOPOPOOL | 0.8010
±
0.0160 | — | Testing Accuracy
— |
| 134 | GRDL | 0.7980
±
0.0090 | 0.7990 | Testing Accuracy
0.7990 |
| 143 | WEGL | 0.7960
±
0.0050 | — | Testing Accuracy
— |
| 151 | MLP | 0.7920
±
0.0240 | — | Testing Accuracy
— |
| 153 | WL | 0.7910
±0.0010 best reported | — | Testing Accuracy
— best at pub: On Valid Optimal Assignment Kernels and Applications to Graph Classification (NeurIPS 2016) |
| 166 | ASAP | 0.7864
±0.0050 best reported | — | Testing Accuracy
— best at pub: Structural Entropy Guided Graph Hierarchical Pooling (ICML 2022) best today: Cluster-wise Graph Transformer with Dual-granularity Kernelized Attention (NeurIPS 2024) Difference within reported uncertainty; not counted as underperformance. |
| 168 | GRDL-S | 0.7860
±
0.0130 | — | Testing Accuracy
— |
| 185 | FGW - SP | 0.7780
±
0.0240 | — | Testing Accuracy
— |
| 275 | PATCHY-SAN | 0.7310
±0.0270 | — | Testing Accuracy
— prev best: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) Improvement within reported uncertainty; not highlighted. |
