HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classification

Yuankai Luo Lei Shi Xiao-Ming Wu

Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classification

Abstract

Graph Transformers (GTs) have recently emerged as popular alternatives to traditional message-passing Graph Neural Networks (GNNs), due to their theoretically superior expressiveness and impressive performance reported on standard node classification benchmarks, often significantly outperforming GNNs. In this paper, we conduct a thorough empirical analysis to reevaluate the performance of three classic GNN models (GCN, GAT, and GraphSAGE) against GTs. Our findings suggest that the previously reported superiority of GTs may have been overstated due to suboptimal hyperparameter configurations in GNNs. Remarkably, with slight hyperparameter tuning, these classic GNN models achieve state-of-the-art performance, matching or even exceeding that of recent GTs across 17 out of the 18 diverse datasets examined. Additionally, we conduct detailed ablation studies to investigate the influence of various GNN configurations, such as normalization, dropout, residual connections, and network depth, on node classification performance. Our study aims to promote a higher standard of empirical rigor in the field of graph machine learning, encouraging more accurate comparisons and evaluations of model capabilities.

Code Repositories

LUOyk1999/tunedGNN
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
node-classification-on-amazon-computers-1GraphSAGE
Accuracy: 93.25±0.14
node-classification-on-amazon-computers-1GCN
Accuracy: 93.99±0.12
node-classification-on-amazon-computers-1GAT
Accuracy: 94.09±0.37
node-classification-on-amazon-photo-1GraphSAGE
Accuracy: 96.78 ± 0.23
node-classification-on-amazon-photo-1GCN
Accuracy: 96.10 ± 0.46
node-classification-on-amazon-photo-1GAT
Accuracy: 96.60 ± 0.33
node-classification-on-amazon-ratingsGCN
Accuracy (%): 53.80 ± 0.60
node-classification-on-amazon-ratingsGraphSAGE
Accuracy (%): 55.40 ± 0.21
node-classification-on-amazon-ratingsGAT
Accuracy (%): 55.54 ± 0.51
node-classification-on-citeseer-with-publicGCN
Accuracy: 73.14± 0.67
node-classification-on-coauthor-csGraphSAGE
Accuracy: 96.38±0.11
node-classification-on-coauthor-physicsGCN
Accuracy: 97.46 ± 0.10
node-classification-on-cora-with-public-splitGCN
Accuracy: 85.1 ± 0.7
node-classification-on-minesweeperGAT
AUCROC: 97.73 ± 0.73
node-classification-on-minesweeperGraphSAGE
AUCROC: 97.77 ± 0.62
node-classification-on-minesweeperGCN
AUCROC: 97.86 ± 0.24
node-classification-on-pokecGCN
Accuracy: 86.33 ± 0.17
node-classification-on-pubmed-with-publicGCN
Accuracy: 81.12 ± 0.52
node-classification-on-questionsGCN
AUCROC: 79.02±0.60
node-classification-on-roman-empireGCN
Accuracy (% ): 91.27±0.20

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classification | Papers | HyperAI