Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellence
- Publication
- ICML 2025Conference
- First submitted to arXiv
- arXiv:2502.09263
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{graphlearninggnnplus2025,
title = {{Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellence}},
author = {Yuankai Luo and Lei Shi and Xiao-Ming Wu},
year = {2025},
eprint = {2502.09263},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2502.09263}
}
After GraphGPS, Graph Transformers nearly fill leaderboards for graph classification and regression. Papers repeat a familiar account: message passing GNNs face expressiveness limits, over-smoothing with depth and over-squashing over distance; global attention fills these gaps.
Yuankai Luo, Lei Shi and Xiao-Ming Wu at Beihang and Hong Kong Polytechnic University are skeptical. The previous year, they placed GCN, GAT and GraphSAGE in search spaces as broad as those of new models and matched or beat the best models of the time on 17 of 18 node-classification datasets.
Now they ask the same question for graph-level tasks: can classic GNNs compete with Graph Transformers using today's common training techniques?
Defining the Problem
Two Kinds of Task
The authors first distinguish node-level and graph-level tasks. Node classification usually operates on one large social or citation graph, with training, validation and test sets comprising different nodes. Graph-level tasks use whole graphs as examples, typically many small molecules or proteins, and split by graph.
Data composition, splitting and training strategies all differ, so node-classification conclusions cannot simply be transferred to graph-level tasks.
Is the Comparison Fair?
Most evidence favoring Graph Transformers comes from graph-level tasks, especially small-molecule classification and regression. Yet GNN baselines often retain settings from years earlier, missing techniques now routine in newer models.
How much of the gap comes from architecture, and how much from undertuned baselines?
Solving the Problem
Three Classic Models
Three message passing backbones are selected:
- GCN: sum self and neighboring features after symmetric degree normalization, then apply weights.
- GIN: multiply self by , add neighboring sums and apply an MLP.
- GatedGCN: for each edge, a gate computed from endpoint and edge features controls how much neighboring information passes.
Six Techniques
Add six common techniques and call the result GNN+:
- Edge features: multiply by a learnable matrix and include it in messages. Molecular bonds and superpixel spatial relationships live on edges.
- Normalization: BatchNorm after aggregation and before activation in every layer stabilizes distributions.
- Dropout: after activation, reducing co-adaptation between neurons.
- Residual connections: add the layer input directly to its output.
- Feedforward network (FFN): add a two-layer FFN per layer, like a Transformer's, with residuals and normalization.
- Positional encoding: concatenate random-walk structural encodings (RWSE)—the probability of returning to self after steps—with input features, then apply a linear layer.
With all techniques, one GCN+ layer is:
Reading outward: messages include edge features, followed by BatchNorm, ReLU and dropout; add the previous layer's input as a residual, then apply the FFN.

None of these ingredients is new. Residuals, normalization and dropout come from CNNs; FFNs and positional encoding from Transformers; RWSE is common in Graph Transformers such as GraphGPS. The contribution is their systematic combination and a fair comparison.
How to Compare
Fourteen graph-level datasets fall into three groups:
- Benchmarking GNNs: ZINC molecular regression; MNIST and CIFAR10 classification after superpixel conversion; PATTERN and CLUSTER node classification on synthetic graphs.
- LRGB: Peptides-func and Peptides-struct peptide molecules, PascalVOC-SP and COCO-SP superpixel segmentation, plus MalNet-Tiny malware call graphs.
- OGB: ogbg-molhiv, ogbg-molpcba, ogbg-ppa and ogbg-code2.
Search spaces follow GraphGPS, with benchmark-specific parameter budgets, such as around 500,000 on ZINC. Baseline Graph Transformers are retrained under the same search space and environment. Other baseline numbers come from papers or leaderboards and are mostly already tuned. Every experiment uses 5 seeds.
Discussion
Overall Results
Enhanced classic GNNs place in the top three on every one of the 14 datasets, winning 8. Selected numbers:
| Dataset (metric) | Original GCN | GCN+ | GatedGCN+ |
|---|---|---|---|
| ZINC (MAE ↓) | 0.367 | 0.076 | 0.077 |
| CIFAR10 (accuracy ↑) | 55.71% | 69.82% | 77.22% |
| Peptides-func (AP ↑) | 0.6860 | 0.7261 | 0.7006 |
| Peptides-struct (MAE ↓) | 0.2460 | 0.2421 | 0.2431 |
| PascalVOC-SP (F1 ↑) | 0.2078 | 0.3357 | 0.4263 |
| Dataset (metric) | GraphGPS | Best other model in table |
|---|---|---|
| ZINC (MAE ↓) | 0.070 | 0.057 (TIGT) |
| CIFAR10 (accuracy ↑) | 72.30% | 76.85% (GRED) |
| Peptides-func (AP ↑) | 0.6535 | 0.7150 (DRew) |
| Peptides-struct (MAE ↓) | 0.2500 | 0.2449 (Graph ViT) |
| PascalVOC-SP (F1 ↑) | 0.4440 | 0.4561 (GSSC) |
Several points stand out:
- Original and enhanced models differ greatly. On ZINC, GCN MAE falls from 0.367 to 0.076, GIN from 0.526 to 0.065, with the same backbone and six added techniques.
- The small-molecule gap nearly disappears. GIN+'s 0.065 on ZINC beats GraphGPS. The best Graph Transformer still leads slightly, but the gap shrinks from severalfold to a few hundredths.
- Classic GNNs lead on long-range datasets. GCN+'s Peptides-func 0.7261 beats every listed Graph Transformer and Graph Mamba. The “original GCN” LRGB numbers are already Tönshoff et al.'s 2023 tuned results; original LRGB GCN scored only 0.5930.
- They do not win everywhere. On PascalVOC-SP, GatedGCN+ still trails the 2023 GraphGPS result and GSSC.
On OGB, GatedGCN+ is top three on all four datasets, winning three. It improves ogbg-ppa by around 9%, topping the OGB leaderboard; on ogbg-molhiv and ogbg-molpcba, it matches Graphormer and EGT that were pretrained elsewhere.
Faster Too
Without global attention, classic GNNs require much less computation. Per epoch on ZINC, GraphGPS takes 21 seconds and GCN+ 7. MalNet-Tiny graphs average 1,410 nodes; GraphGPS takes 46 seconds, GCN+ only 6.
What Each Technique Does
Removing the six techniques one by one yields six observations:
- Edge features matter particularly for molecular and superpixel graphs. Edges encode bonds and spatial relationships. On code call graphs, edge features are less relevant to the task and removing them matters little.
- Normalization matters more on large datasets. With 150,000 ogbg-ppa graphs, removing it drops all three models' accuracy by around 15%.
- Dropout usually helps, but only a little is needed. Of optimal dropout rates, 97% are at most 0.2 and 64% at most 0.1. This contrasts with the authors' node-classification findings, where higher dropout is usually needed.
- Residuals are usually indispensable, except for shallow networks on small graphs. Peptide models use only 3 to 5 layers and change little without residuals; elsewhere, 10-plus-layer networks often deteriorate sharply.
- FFNs are critical for GCN+ and GIN+. Removing the FFN from GIN+ on MNIST drops accuracy from 98.29% to 11.35%, an 88% relative decline. GatedGCN+'s gates make it much less dependent on FFNs.
- Positional encoding helps small datasets, less so large ones. ZINC, PATTERN, CLUSTER, Peptides-func and ogbg-molhiv have only ten to forty thousand graphs and clearly worsen without RWSE. Beyond a hundred thousand graphs, the effect is less obvious. The authors suggest enough data reduces reliance on encodings for structural understanding.
CLUSTER gives the most dramatic ablation. Chance on this 6-class node task is around 16.7%; removing residuals drops all three models to 16.5%–16.8%, and removing normalization does the same to GCN+. In these networks deeper than 10 layers, omitting residuals or normalization leaves the model effectively learning nothing.
The Authors' Own Limitations
The authors acknowledge that their conclusions are entirely empirical. There is no theoretical explanation for why classic GNNs catch up, how the six techniques interact, or whether they truly mitigate over-smoothing and over-squashing.
Citing Bechler-Speicher et al.'s 2025 discussion, they also question whether current datasets reflect the complexity and diversity of real graph problems. More challenging, application-driven benchmarks could change the relative standings again.
Conclusion
Adding six common techniques to GCN, GIN and GatedGCN lets them compete directly with Graph Transformers across 14 graph-level datasets: top three everywhere, 8 first places, and several times faster training.
Read this alongside its predecessor and Tönshoff et al.'s reassessment. All three ask that a new architecture's advantage be established against equally well-tuned baselines.
Attention remains in the picture. GNN+'s FFNs and RWSE are familiar Graph Transformer components; the two toolboxes have already mixed.
Before trying a new graph-level model, run GatedGCN+ as your baseline. The authors release code and hyperparameters for every dataset, so getting started takes little time.