Plain Transformers Can be Powerful Graph Learners
Abstract
Transformers have attained outstanding performance across various modalities, owing to their simple but powerful scaled-dot-product (SDP) attention mechanisms. Researchers have attempted to migrate Transformers to graph learning, but most advanced Graph Transformers (GTs) have strayed far from plain Transformers, exhibiting major architectural differences either by integrating message-passing or incorporating sophisticated attention mechanisms. These divergences hinder the easy adoption of training advances for Transformers developed in other domains. Contrary to previous GTs, this work demonstrates that the plain Transformer architecture can be a powerful graph learner. To achieve this, we propose to incorporate three simple, minimal, and easy-to-implement modifications to the plain Transformer architecture to construct our Powerful Plain Graph Transformers (PPGT): (1) simplified $L_2$ attention for measuring the magnitude closeness among tokens; (2) adaptive root-mean-square normalization to preserve token magnitude information; and (3) a simple MLP-based stem for graph positional encoding. Consistent with its theoretical expressivity, PPGT demonstrates noteworthy realized expressivity on the empirical graph expressivity benchmark, comparing favorably to more complicated alternatives such as subgraph GNNs and higher-order GNNs. Its empirical performance across various graph datasets also justifies the effectiveness of PPGT. This finding underscores the versatility of plain Transformer architectures and highlights their strong potential as a unified backbone for multimodal learning across language, vision, and graph domains.
Benchmark Results
Tested on 7 datasets 15 baseline values reported too low Non-standard metric on 1 dataset
Tables show presented results in global context (best 3 papers + GCN + MLP).
LRGB
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | GCN | 0.2421
±0.0016 best reported | best at pub: Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellence (ICML 2025) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 2 | IPR-MPNN | 0.2422
±0.0007 | |
| 3 | TANGO-GPS | 0.2422
±0.0014 | |
| 5 | GIN | 0.2429
±0.0019 | |
| 7 | GatedGCN | 0.2431
±0.0020 best reported | best at pub: Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellence (ICML 2025) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 22 | PPGT | 0.2450
±0.0017 | This paper |
| 32 | GRIT | 0.2460
±0.0012 | This paper |
| 49 | GINE | 0.2473
±0.0017 | This paper |
| 66 | Exphormer | 0.2481
±0.0007 | This paper |
| 85 | GPS | 0.2500
±0.0005 best reported | best at pub: Recurrent Distance Filtering for Graph Representation Learning (ICML 2023) best today: Bridging Input Feature Spaces Towards Graph Foundation Models (ICLR 2026) Difference within reported uncertainty; not counted as underperformance. |
| 115 | DRew | 0.2536
±0.0015 | This paper |
| 201 | MLP | 0.4351
±0.0008 |
| # | Model | AP ↑ | Paper |
|---|---|---|---|
| 1 | S^2GCN | 0.7311
±0.0066 | |
| 2 | S4G | 0.7293
±0.0004 | |
| 3 | BuNN | 0.7276
±0.0065 | |
| 4 | GCN | 0.7261
±0.0011 best reported | best at pub: Where Did the Gap Go? Reassessing the Long-Range Graph Benchmark (TMLR 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 13 | DRew | 0.7150
±0.0044 | This paper |
| 26 | GIN | 0.7059
±0.0089 | |
| 34 | GatedGCN | 0.7006
±0.0033 best reported | best at pub: Where Did the Gap Go? Reassessing the Long-Range Graph Benchmark (TMLR 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 36 | GRIT | 0.6988
±0.0082 | This paper |
| 43 | PPGT | 0.6961
±0.0062 | This paper |
| 78 | GINE | 0.6621
±0.0067 | This paper |
| 87 | GPS | 0.6562
±0.0115 best reported | best at pub: A Generalization of ViT/MLP-Mixer to Graphs (ICML 2022) Difference within reported uncertainty; not counted as underperformance. |
| 95 | Exphormer | 0.6527
±0.0043 | This paper |
| 181 | MLP | 0.4060
±0.0021 |
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | NeuralWalker | 0.4912
±0.0042 | |
| 2 | PPGT | 0.4641
±0.0033 | This paper |
| 3 | CRaWl | 0.4588
±0.0079 | |
| 14 | GPS | 0.4440
±0.0065 | This paper |
| 19 | Exphormer | 0.4242
±0.0044 best reported | best at pub: Benchmarking Positional Encodings for GNNs and Graph Transformers (KDD 2024) |
| 41 | GatedGCN | 0.3880
±0.0040 | This paper |
| 42 | Gated-GCN | 0.3880
±0.0040 | |
| 65 | DRew | 0.3314
±0.0024 | This paper |
| 75 | GINE | 0.2718
±0.0054 | This paper |
| 81 | GCN | 0.2380
±0.0160 best reported | best at pub: When Graph Neural Networks Meet Dynamic Mode Decomposition (ICLR 2024) |
| 93 | MLP | 0.1140
±0.0230 |
GNNBenchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Schrödinger | 0.9913
±0.0004 | |
| 2 | CNN | 0.9907
±0.0007 | |
| 3 | MPNN | 0.9895
±0.0006 | |
| 9 | PPGT | 0.9861
±0.0010 | This paper |
| 11 | GatedGCN | 0.9855
±0.0002 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| 19 | CKGCN | 0.9842
±0.0015 | This paper |
| 32 | GIN | 0.9833
±0.0011 best reported | best at pub: Graph-Coupled Oscillator Networks (ICML 2022) |
| 47 | EGT | 0.9817
±0.0009 | This paper |
| 56 | GRIT | 0.9811
±0.0011 | This paper |
| 59 | GPS | 0.9808
±0.0011 best reported | best at pub: Recipe for a General, Powerful, Scalable Graph Transformer (NeurIPS 2022) Difference within reported uncertainty; not counted as underperformance. |
| 74 | CRaW1 | 0.9794
±0.0005 | This paper |
| 75 | PNA | 0.9794
±0.0012 | This paper |
| 86 | GAT | 0.9755
±0.0003 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| 95 | GraphSAGE | 0.9731
±0.0010 | |
| 126 | MLP | 0.9534
±0.0014 | |
| 135 | GCN | 0.9405
±0.0005 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | RandAlign | 0.7942
±0.0007 | |
| 2 | differential encoding | 0.7907
±0.0027 | |
| 3 | PPGT | 0.7856
±0.0070 | This paper |
| 7 | GRIT | 0.7647
±0.0088 | This paper |
| 38 | PNA | 0.7311
±0.0011 best reported | best at pub: From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness (ICLR 2021) |
| 40 | DGN | 0.7284
±0.0042 best reported | best at pub: From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness (ICLR 2021) Difference within reported uncertainty; not counted as underperformance. |
| 41 | CKGCN | 0.7278
±0.0044 | This paper |
| 44 | GIN-AK+ | 0.7239
±0.0038 best reported | best at pub: Improving Subgraph-GNNs via Edge-Level Ego-Network Encodings (TMLR 2023) Difference within reported uncertainty; not counted as underperformance. |
| 46 | GPS | 0.7236
±0.0032 best reported | best at pub: Recipe for a General, Powerful, Scalable Graph Transformer (NeurIPS 2022) Difference within reported uncertainty; not counted as underperformance. |
| 62 | GatedGCN | 0.7133
±0.0039 best reported | best at pub: Formatting Instructions for ICLR 2021 Conference Submissions (2020) |
| 81 | CRaW1 | 0.6901
±0.0026 | This paper |
| 82 | EGT | 0.6870
±0.0041 | This paper |
| 92 | GraphSAGE | 0.6690
±0.0020 | |
| 101 | GAT | 0.6611
±0.0098 best reported | best at pub: Formatting Instructions for ICLR 2021 Conference Submissions (2020) |
| 109 | GIN | 0.6510
±0.0050 best reported | best at pub: Beyond Low-pass Filtering: Graph Convolutional Networks with Automatic Filtering (2021) |
| 124 | GCN | 0.5839
±0.0073 best reported | best at pub: From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness (ICLR 2021) |
| 126 | MLP | 0.5634
±0.0018 |
CLUSTER
Global leaderboard →Sorted by W. Accuracy. Highlighted rows are from other papers.
| # | Model | W. Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | PPGT | 0.8003
±0.0011 | This paper |
| 2 | GRIT | 0.8003
±0.0028 | This paper |
| 3 | EGT | 0.7923
±0.0035 | This paper |
| 4 | CKGCN | 0.7900
±0.0014 | This paper |
| 5 | GPS | 0.7802
±0.0018 | This paper |
| 6 | K-Subgraph SAT | 0.7786
±0.0010 | This paper |
| 7 | SAN | 0.7669
±0.0065 | This paper |
| 8 | GatedGCN | 0.7384
±0.0033 | This paper |
| 9 | GAT | 0.7059
±0.0045 | This paper |
| 10 | GCN | 0.6850
±0.0098 | This paper |
| 11 | GIN | 0.6472
±0.0155 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | DeepGraph (48) | 0.9066
±0.0006 | |
| 2 | GRIT (our run) | 0.9041
±0.0023 | |
| 3 | GRIT 2-QiQRW | 0.9016
±0.0045 | |
| 4 | PPGT | 0.8975
±0.0003 | This paper |
| 5 | CKGCN | 0.8866
±0.0014 | This paper |
| 6 | GRIT | 0.8722
±0.0003 best reported | best at pub: Benchmarking Positional Encodings for GNNs and Graph Transformers (KDD 2024) Difference within reported uncertainty; not counted as underperformance. |
| 19 | GIN-AK+ | 0.8685
±0.0006 | This paper |
| 21 | K-Subgraph SAT | 0.8685
±0.0004 | This paper |
| 24 | EGT | 0.8682
±0.0002 | This paper |
| 50 | GPS | 0.8669
±0.0006 | This paper |
| 51 | DGN | 0.8668
±0.0003 | This paper |
| 58 | SAN | 0.8658
±0.0004 | This paper |
| 66 | GatedGCN | 0.8651
±0.0008 best reported | best at pub: IJCAI--23 Formatting Instructions (IJCAI 2023) |
| 88 | GCN | 0.8561
±0.0003 best reported | best at pub: Recurrent Distance Filtering for Graph Representation Learning (ICML 2023) |
| 89 | GIN | 0.8559
±0.0001 best reported | best at pub: Factorizable Graph Convolutional Networks (NeurIPS 2020) best today: GNNBenchmark (JMLR 2023) Difference within reported uncertainty; not counted as underperformance. |
| 107 | GAT | 0.7827
±0.0019 | This paper |
| 123 | MLP | 0.5052 | |
| 124 | GraphSAGE | 0.5052
±0.0000 |
