Topology-Informed Graph Transformer
Abstract
Transformers have revolutionized performance in Natural Language Processing and Vision, paving the way for their integration with Graph Neural Networks (GNNs). One key challenge in enhancing graph transformers is strengthening the discriminative power of distinguishing isomorphisms of graphs, which plays a crucial role in boosting their predictive performances. To address this challenge, we introduce'Topology-Informed Graph Transformer (TIGT)', a novel transformer enhancing both discriminative power in detecting graph isomorphisms and the overall performance of Graph Transformers. TIGT consists of four components: A topological positional embedding layer using non-isomorphic universal covers based on cyclic subgraphs of graphs to ensure unique graph representation: A dual-path message-passing layer to explicitly encode topological characteristics throughout the encoder layers: A global attention mechanism: And a graph information layer to recalibrate channel-wise graph features for better feature representation. TIGT outperforms previous Graph Transformers in classifying synthetic dataset aimed at distinguishing isomorphism classes of graphs. Additionally, mathematical analysis and empirical evaluations highlight our model's competitive edge over state-of-the-art Graph Transformers across various benchmark datasets.
Benchmark Results
Tested on 6 datasets 20 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | TIGT | 0.0140
±0.0010 | This paper |
| 2 | FloydNet | 0.0160 | |
| 3 | GSSC | 0.0190
±0.0010 | |
| 7 | CIN | 0.0210
±0.0010 best reported | best at pub: CIN++: Enhancing Topological Message Passing (2023) |
| 11 | GRIT | 0.0230
±0.0010 | This paper |
| 22 | Graphormer | 0.0250 best reported | best at pub: Enhancing Graph Neural Networks with Quantum Computed Encodings (2023) best today: FloydNet: A Learning Paradigm for Global Relational Reasoning (2026) |
| 23 | Graphormer-GD | 0.0250
±0.0040 | This paper |
| 29 | Graphormer-URPE | 0.0280
±0.0020 | This paper |
| 49 | Cy2C-GNNs | 0.0420
±0.0010 | This paper |
| 63 | PNA | 0.1880
±0.0040 | prev best: P-tensors: a General Framework for Higher Order Message Passing in Subgraph Neural Networks (2023) best today: Beyond Message Passing: Neural Graph Pattern Machine (ICML 2025) |
| 65 | GPS | 0.0700
±0.0040 | This paper |
| 67 | GIN-AK+ | 0.0800
±0.0010 | This paper |
| 68 | CRaW1 | 0.0850
±0.0040 | This paper |
| 69 | GIN | 0.0880
±0.0020 | This paper |
| 71 | GatedGCN+LSPE | 0.0900
±0.0010 | This paper |
| 72 | K-Subgraph SAT | 0.0940
±0.0080 | This paper |
| 74 | GSN | 0.1010
±0.0100 | This paper |
| 77 | EGT | 0.1080
±0.0090 | This paper |
| 78 | GAT | 0.1110
±0.0020 | This paper |
| 79 | GCN | 0.1130
±0.0020 | This paper |
| 80 | GraphSAGE | 0.1260
±0.0030 | |
| 84 | SAN | 0.1390
±0.0060 | This paper |
| 87 | DGN | 0.1680
±0.0030 | This paper |
| 98 | GatedGCN | 0.2820
±0.0150 | prev best: Meta-Aggregator: Learning to Aggregate for 1-bit Graph Neural Networks (2021) |
LRGB
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | GCN | 0.2421
±0.0016 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) |
| 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: Where Did the Gap Go? Reassessing the Long-Range Graph Benchmark (TMLR 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 32 | GRIT | 0.2460
±0.0012 | This paper |
| 49 | GINE | 0.2473
±0.0017 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) |
| 70 | TIGT | 0.2485
±0.0015 | This paper |
| 69 | GatedGCN+RWSE | 0.2485
±0.0022 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: Benchmarking Positional Encodings for GNNs and Graph Transformers (KDD 2024) |
| 85 | GPS | 0.2500
±0.0012 | This paper |
| 109 | Cy2C-GNNs | 0.2521
±0.0012 | This paper |
| 113 | Transformer+LapPE | 0.2529
±0.0160 | This paper |
| 123 | SAN+RWSE | 0.2545
±0.0012 | This paper |
| 155 | SAN+LapPE | 0.2680
±0.0040 best reported | best at pub: LRGB (NeurIPS 2022) best today: Learning Efficient Positional Encodings with Graph Neural Networks (ICLR 2025) Difference within reported uncertainty; not counted as underperformance. |
| 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) |
| 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 |
| 73 | GatedGCN+RWSE | 0.6685
±0.0062 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) |
| 74 | TIGT | 0.6679
±0.0074 | This paper |
| 78 | GINE | 0.6621
±0.0067 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) |
| 89 | SAN+RWSE | 0.6562
±0.0075 best reported | best at pub: Multiresolution Graph Transformers and Wavelet Positional Encoding for Learning Hierarchical Structures (2023) Difference within reported uncertainty; not counted as underperformance. |
| 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. |
| 116 | SAN+LapPE | 0.6384
±0.0121 | This paper |
| 118 | Transformer+LapPE | 0.6326
±0.0126 | This paper |
| 170 | Cy2C-GNNs | 0.5193
±0.0025 | This paper |
| 181 | MLP | 0.4060
±0.0021 |
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: Formatting Instructions for ICLR 2021 Conference Submissions (2020) |
| 32 | GIN | 0.9833
±0.0011 best reported | best at pub: Graph-Coupled Oscillator Networks (ICML 2022) |
| 39 | TIGT | 0.9823
±0.0013 | This paper |
| 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 |
| 81 | Cy2C-GNNs | 0.9777
±0.0000 | This paper |
| 86 | GAT | 0.9755
±0.0003 best reported | best at pub: Formatting Instructions for ICLR 2021 Conference Submissions (2020) |
| 95 | GraphSAGE | 0.9731
±0.0010 | |
| 126 | MLP | 0.9534
±0.0014 | |
| 135 | GCN | 0.9405
±0.0005 best reported | best at pub: A Generalization of ViT/MLP-Mixer to Graphs (ICML 2022) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | RandAlign | 0.7942
±0.0007 | |
| 2 | differential encoding | 0.7907
±0.0027 | |
| 3 | PPGT | 0.7856
±0.0070 | |
| 7 | GRIT | 0.7647
±0.0088 | This paper |
| 31 | TIGT | 0.7396
±0.0036 best reported | best today: Benchmarking Positional Encodings for GNNs and Graph Transformers (KDD 2024) Difference within reported uncertainty; not counted as underperformance. |
| 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) |
| 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) |
| 112 | Cy2C-GNNs | 0.6429
±0.0001 | This paper |
| 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 |
|---|---|---|---|
| 26 | TIGT | 1.0000 | This paper |
| 8 | GCN | 1.0000 best reported | best at pub: GNNBenchmark (JMLR 2023) |
| 25 | GPS+LapPE+RWSE (1 layer) | 1.0000 | This paper |
| 1 | PPGN | 1.0000 | |
| 2 | RW-AgentNet | 1.0000 | |
| 3 | AgentNet | 1.0000 | |
| 35 | GraphSAGE | 0.9993
±0.0047 | |
| 40 | GIN | 0.9933
±0.0133 best reported | best at pub: GNNBenchmark (JMLR 2023) |
| 43 | Cy2C-GIN-1 | 0.9833
±0.0333 | This paper |
| 52 | GPS+RWSE (2 layers) | 0.9333
±0.1155 | This paper |
| 53 | Cy2C-GCN-1 | 0.9130
±0.0160 | This paper |
| 58 | RP-GIN | 0.5330
±0.1290 best reported | best at pub: On the Equivalence between Graph Isomorphism Testing and Function Approximation with GNNs (NeurIPS 2019) Difference within reported uncertainty; not counted as underperformance. |
| 60 | Cy2C-GIN-2 | 0.4667
±0.3820 | This paper |
| 80 | GAT-1 | 0.1000 | This paper |
| 81 | GAT-2 | 0.1000 | This paper |
| 82 | GAT-5 | 0.1000 | This paper |
| 83 | GAT-10 | 0.1000 | This paper |
| 84 | GRIT+RRWP (1 layer) | 0.1000 | This paper |
| 88 | Cy2C-GIN-5 | 0.0917
±0.0569 | This paper |
| 89 | Cy2C-GIN-10 | 0.0749
±0.0321 | This paper |
| 90 | GPS (2 layers) | 0.0667
±0.0943 | This paper |
