Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellence

About

Message-passing Graph Neural Networks (GNNs) are often criticized for their limited expressiveness, issues like over-smoothing and over-squashing, and challenges in capturing long-range dependencies. Conversely, Graph Transformers (GTs) are regarded as superior due to their employment of global attention mechanisms, which potentially mitigate these challenges. Literature frequently suggests that GTs outperform GNNs in graph-level tasks, especially for graph classification and regression on small molecular graphs. In this study, we explore the untapped potential of GNNs through an enhanced framework, GNN+, which integrates six widely used techniques: edge feature integration, normalization, dropout, residual connections, feed-forward networks, and positional encoding, to effectively tackle graph-level tasks. We conduct a systematic re-evaluation of three classic GNNs (GCN, GIN, and GatedGCN) enhanced by the GNN+ framework across 14 well-known graph-level datasets. Our results reveal that, contrary to prevailing beliefs, these classic GNNs consistently match or surpass the performance of GTs, securing top-three rankings across all datasets and achieving first place in eight. Furthermore, they demonstrate greater efficiency, running several times faster than GTs on many datasets. This highlights the potential of simple GNN architectures, challenging the notion that complex mechanisms in GTs are essential for superior graph-level performance. Our source code is available at https://github.com/LUOyk1999/GNNPlus.

Yuankai Luo, Lei Shi, Xiao-Ming Wu• 2025

Related benchmarks

TaskDatasetResultRank
Graph Classificationogbg-molpcba (test)
AP29.81
206
Graph RegressionZINC (test)
MAE0.065
204
Graph RegressionPeptides struct LRGB (test)
MAE0.2421
178
Graph ClassificationPeptides-func LRGB (test)
AP0.7261
136
Graph property predictionOGBG-CODE2 (test)
F118.96
57
Node ClassificationPascalVOC-SP LRGB (test)
F1 Score42.63
51
Graph property predictionogbg-ppa (test)
Accuracy82.58
27
Graph-level classificationMolHIV (test)
AUC0.804
19
Graph-level classificationOGBG-MOLHIV (test)
AUROC80.4
17
Graph-level TaskCOCO-SP LRGB (test)
F1 Score0.3802
16
Showing 10 of 11 rows

Other info

Code

Follow for update