Automatic Graph Topology-Aware Transformer
Abstract
Existing efforts are dedicated to designing many topologies and graph-aware strategies for the graph Transformer, which greatly improve the model's representation capabilities. However, manually determining the suitable Transformer architecture for a specific graph dataset or task requires extensive expert knowledge and laborious trials. This paper proposes an evolutionary graph Transformer architecture search framework (EGTAS) to automate the construction of strong graph Transformers. We build a comprehensive graph Transformer search space with the micro-level and macro-level designs. EGTAS evolves graph Transformer topologies at the macro level and graph-aware strategies at the micro level. Furthermore, a surrogate model based on generic architectural coding is proposed to directly predict the performance of graph Transformers, substantially reducing the evaluation cost of evolutionary search. blackWe demonstrate the efficacy of EGTAS across a range of graph-level and node-level tasks, encompassing both small-scale and large-scale graph datasets. Experimental results and ablation studies show that EGTAS can construct high-performance architectures that rival state-of-the-art manual and automated baselines..
Benchmark Results
Tested on 8 datasets 19 baseline values reported too low Non-standard metric on 1 dataset
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphTARIF | 0.9461
±0.0017 | |
| 2 | GCN | 0.9412
±0.0008 best reported | best at pub: Clarify Confused Nodes via Separated Learning (2023) |
| 3 | GAT | 0.9398
±0.0022 best reported | |
| 8 | SAGE | 0.9052
±0.0042 | prev best: Clarify Confused Nodes via Separated Learning (2023) best today: Graph Transductive Sharpening: Leveraging Unlabeled Predictions in Node Classification (2026) Improvement within reported uncertainty; not highlighted. |
| 15 | EGTAS | 0.9253
±0.0066 | This paper |
| 28 | GCNII-GAT | 0.9191
±0.0011 | This paper |
| 32 | JK-GAT | 0.9180
±0.0023 | This paper |
| 44 | F2GNN | 0.9142
±0.0026 | This paper |
| 46 | GraphSAGE | 0.9120
±0.0029 | |
| 54 | SANE | 0.9102
±0.0021 | This paper |
| 60 | Res-GAT | 0.9084
±0.0049 | This paper |
| 68 | GMT | 0.9062
±0.0051 | This paper |
| 78 | Graphormer | 0.9036
±0.0090 | This paper |
| 199 | GATv2 | 0.8825
±0.0771 | prev best: Towards Deep Attention in Graph Neural Networks: Problems and Remedies (ICML 2023) Improvement within reported uncertainty; not highlighted. |
| 282 | GIN | 0.8626
±0.0056 best reported | best at pub: Union Subgraph Neural Networks (AAAI 2023) |
| 291 | SNAG | 0.8598
±0.0072 | This paper |
| 320 | MLP | 0.8463 |
OGB
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Jacobi | 0.8968 | |
| 2 | GPR | 0.8953 | |
| 3 | LEMP4HG | 0.8939 | |
| 4 | SAGE | 0.8933 best reported | best at pub: Node Identifiers: Compact, Discrete Representations for Efficient Graph Learning (ICLR 2024) |
| 6 | GCN | 0.8868 best reported | best at pub: PaSca: a Graph Neural Architecture Search System under the Scalable Paradigm (WWW 2022) |
| 9 | GAT | 0.8829 best reported | best at pub: PaSca: a Graph Neural Architecture Search System under the Scalable Paradigm (WWW 2022) |
| 83 | GraphSAGE | 0.8287 | |
| 95 | EGTAS | 0.8215
±0.0037 | This paper |
| 115 | GAUSS | 0.8126
±0.0036 | This paper |
| 128 | F2GNN | 0.8091
±0.0076 | This paper |
| 133 | SANE | 0.8066
±0.0075 | This paper |
| 134 | GATv2 | 0.7846
±0.0245 | prev best: Latent Graph Inference using Product Manifolds (ICLR 2022) |
| 140 | JK-GAT | 0.8031
±0.0102 | This paper |
| 151 | Res-GAT | 0.7984
±0.0034 | This paper |
| 161 | GMT | 0.7951
±0.0036 | This paper |
| 164 | SNAG | 0.7947
±0.0093 | This paper |
| 171 | Graphormer | 0.7934
±0.0025 | This paper |
| 185 | GIN | 0.7907
±0.0052 | prev best: Hierarchical Transformer for Scalable Graph Learning (IJCAI 2023) |
| 215 | GCNII-GAT | 0.7834
±0.0058 | This paper |
| 351 | MLP | 0.6605
±0.0020 |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | Multi-RF Fusion with Multi-GNN Blending | 0.8476
±0.0002 | |
| 2 | HyperFusion | 0.8475
±0.0003 | |
| 3 | PAS+FPs | 0.8420
±0.0015 | |
| 9 | GatedGCN | 0.8090
±0.0160 | |
| 14 | Graphormer | 0.8051
±0.0053 best reported | best at pub: How Expressive are Transformers in Spectral Domain for Graphs? (TMLR 2022) |
| 32 | EGTAS | 0.7981
±0.0117 | This paper |
| 109 | GIN | 0.7780
±0.0182 best reported | best at pub: GRPE: Relative Positional Encoding for Graph Transformer (2022) |
| 160 | GraphSAGE | 0.7690
±0.0136 | |
| 241 | AutoGT | 0.7495
±0.0102 | This paper |
ogbg-molpcba
Global leaderboard →Sorted by ROC-AUC. Highlighted rows are from other papers.
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | PrunE | 0.8159
±0.0535 | |
| 2 | EGTAS | 0.7919
±0.0137 | This paper |
| 3 | UGTs | 0.7840 | |
| 6 | AutoGT | 0.7670
±0.0142 | This paper |
| 8 | Graphormer | 0.7642
±0.0167 | This paper |
| 12 | GIN | 0.7042
±0.0478 | prev best: Graph Mixture of Experts: Learning on Large-Scale Graphs with Explicit Diversity Modeling (NeurIPS 2023) Improvement within reported uncertainty; not highlighted. |
| 16 | GCN | 0.6887
±0.0151 |
GNNBenchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Schrödinger | 0.9913
±0.0004 | |
| 2 | CNN | 0.9907
±0.0007 | |
| 3 | MPNN | 0.9895
±0.0006 | |
| 11 | GatedGCN | 0.9855
±0.0002 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| 28 | EGTAS | 0.9837
±0.0026 | 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 |
| 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. |
| 73 | CRaWl | 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 | |
| 28 | EGTAS | 0.7431
±0.0057 | 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. |
| 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) |
| 80 | CRaWl | 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 |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GRPE-Small | 0.8159
±0.0019 | |
| 2 | TANGO-GPS | 0.8011
±0.0014 | |
| 3 | GRIT | 0.8003
±0.0028 | |
| 5 | EGTAS | 0.7924
±0.0022 | This paper |
| 6 | EGT | 0.7923
±0.0035 | This paper |
| 22 | GPS | 0.7802
±0.0018 | This paper |
| 24 | K-Subtree SAT | 0.7786
±0.0010 | prev best: Structure-Aware Transformer for Graph Representation Learning (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 50 | SAN | 0.7669
±0.0065 | This paper |
| 54 | GatedGCN | 0.7608
±0.0020 best reported | best at pub: GRPE: Relative Positional Encoding for Graph Transformer (2022) |
| 67 | GAT | 0.7059
±0.0045 | This paper |
| 70 | GCN | 0.6903
±0.0137 best reported | best at pub: Recurrent Distance Filtering for Graph Representation Learning (ICML 2023) Difference within reported uncertainty; not counted as underperformance. |
| 79 | GIN | 0.6472
±0.0155 | This paper |
| 80 | GraphSAGE | 0.6388
±0.0011 | |
| 114 | MLP | 0.2097
±0.0000 |
| # | 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 | |
| 17 | K-Subtree SAT | 0.8687
±0.0004 best reported | best at pub: Structure-Aware Transformer for Graph Representation Learning (ICML 2022) Difference within reported uncertainty; not counted as underperformance. |
| 19 | GIN-AK+ | 0.8685
±0.0006 | This paper |
| 24 | EGT | 0.8682
±0.0002 | This paper |
| 38 | EGTAS | 0.8674
±0.0005 | 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 |
