Recipe for a General, Powerful, Scalable Graph Transformer
Not on the map. Why?
Abstract (arXiv)
We propose a recipe on how to build a general, powerful, scalable (GPS) graph Transformer with linear complexity and state-of-the-art results on a diverse set of benchmarks. Graph Transformers (GTs) have gained popularity in the field of graph representation learning with a variety of recent publications but they lack a common foundation about what constitutes a good positional or structural encoding, and what differentiates them. In this paper, we summarize the different types of encodings with a clearer definition and categorize them as being textitlocal, textitglobal or textitrelative. The prior GTs are constrained to small graphs with a few hundred nodes, here we propose the first architecture with a complexity linear in the number of nodes and edges O(N+E) by decoupling the local real-edge aggregation from the fully-connected Transformer. We argue that this decoupling does not negatively affect the expressivity, with our architecture being a universal function approximator on graphs. Our GPS recipe consists of choosing 3 main ingredients: (i) positional/structural encoding, (ii) local message-passing mechanism, and (iii) global attention mechanism. We provide a modular framework textitGraphGPS that supports multiple types of encodings and that provides efficiency and scalability both in small and large graphs. We test our architecture on 16 benchmarks and show highly competitive results in all of them, show-casing the empirical benefits gained by the modularity and the combination of different strategies.
Key facts. Cited by 702 papers in the map (data through 7 Oct 2026). Builds on 57 of its 76 references that are in the map. First posted on arXiv 25 May 2022.
Builds on
57 of 76 references.
References · 57
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
38 more
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019Strategies for Pre-training Graph Neural Networkscited by 964
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2020Benchmarking Graph Neural Networkscited by 672
- 2020A Generalization of Transformer Networks to Graphscited by 653
- 2020A Survey on Visual Transformercited by 653
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2020Principal Neighbourhood Aggregation for Graph Netscited by 477
- 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 471
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
- 2019Provably Powerful Graph Networkscited by 385
- 2017Residual Gated Graph ConvNetscited by 341
- 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
- 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 326
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
- 2019What graph neural networks cannot learn: depth vs widthcited by 195
- 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
- 2020Design Space for Graph Neural Networkscited by 182
- 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 176
- 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
- 2021From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awarenesscited by 154
- 2019Relational Pooling for Graph Representationscited by 150
- 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
- 2021GraphiT: Encoding Graph Structure in Transformerscited by 146
- 2020Directional Graph Networkscited by 132
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 113
- 2020A Survey on The Expressive Power of Graph Neural Networkscited by 111
- 2022Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networkscited by 94
- 2020My Body is a Cage: the Role of Morphology in Graph-Based Incompatible Controlcited by 68
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2022: 20; 2023: 133; 2024: 193; 2025: 194; 2026: 162.
702 papers.
Sort:
By area:
- 2024LightRAG: Simple and Fast Retrieval-Augmented Generationcited by 310
- 2022Long Range Graph Benchmarkcited by 258
- 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
- 2023Exphormer: Sparse Transformers for Graphscited by 166
- 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 163
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 137
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 131
- 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
- 2023Graph Foundation Models: Concepts, Opportunities and Challengescited by 101
38 more
- 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 84
- 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 83
- 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classificationcited by 83
- 2023Attending to Graph Transformerscited by 81
- 2023DRew: Dynamically Rewired Message Passing with Delaycited by 81
- 2023Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Optcited by 81
- 2022DiffWire: Inductive Graph Rewiring via the Lov'asz Boundcited by 79
- 2022One Transformer Can Understand Both 2D & 3D Molecular Datacited by 77
- 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
- 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 64
- 2025SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptationcited by 61
- 2023On the Connection Between MPNN and Graph Transformercited by 60
- 2023GraphCare: Enhancing Healthcare Predictions with Personalized Knowledge Graphscited by 57
- 2023Locality-Aware Graph-Rewiring in GNNscited by 55
- 2023Graph Metanetworks for Processing Diverse Neural Architecturescited by 55
- 2022Multimodal learning with graphscited by 54
- 2023How does over-squashing affect the power of GNNs?cited by 53
- 2025Position: Graph Learning Will Lose Relevance Due To Poor Benchmarkscited by 52
- 2025PyG 2.0: Scalable Learning on Real World Graphscited by 49
- 2023Ewald-based Long-Range Message Passing for Molecular Graphscited by 46
- 2023Virtual Node Tuning for Few-shot Node Classificationcited by 46
- 2023GNNDelete: A General Strategy for Unlearning in Graph Neural Networkscited by 43
- 2025El Agente: An Autonomous Agent for Quantum Chemistrycited by 43
- 2025On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learningcited by 42
- 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
- 2023Transformers Meet Directed Graphscited by 39
- 2024Hypformer: Exploring Efficient Transformer Fully in Hyperbolic Spacecited by 39
- 2023Equivariant Polynomials for Graph Neural Networkscited by 38
- 2023Dink-Net: Neural Clustering on Large Graphscited by 38
- 2024Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressivenesscited by 38
- 2023Efficient Approximations of Complete Interatomic Potentials for Crystal Property Predictioncited by 37
- 2023Towards Foundational Models for Molecular Learning on Large-Scale Multi-Task Datasetscited by 37
- 2024On the Scalability of GNNs for Molecular Graphscited by 36
- 2023HINormer: Representation Learning On Heterogeneous Information Networks with Graph Transformercited by 35
- 2024TGB 2.0: A Benchmark for Learning on Temporal Knowledge Graphs and Heterogeneous Graphscited by 35
- 2022Explaining the Explainers in Graph Neural Networks: a Comparative Studycited by 34
- 2024VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connectionscited by 34
50 most cited of 702 All 702 (JSON)
- 2026Higher-Order Positional Encodings for Graph Representation Learning1 Oct 2026
- 2026Let the Heads Talk: Beyond Diagonal Graph Attention1 Oct 2026
- 2026GraphMAS: A Systematic Benchmark of Multi-Agent Coordination for Graph Learning30 Sep 2026
- 2026Attention Graphons: A Graph Limit Perspective on Graph Transformers28 Sep 2026
- 2026Edge-Level Automorphism in GNNs: A Quantitative Framework and Effective Designs For Link Prediction28 Sep 2026
- 2026MegaGraph: Towards Efficient Training of Large-Scale Graph Transformers with Automated Hybrid Parallelism28 Sep 2026
- 2026Reachability is not enough: Diagnosing long-range behavior in GNNs27 Sep 2026
- 2026Predicting the Financial Impact of Supply Chain Risk for Major AI-Related Semiconductor Firms: A Heterogeneous Graph Patch Transformer Approach26 Sep 2026
- 2026Graph Memory: Spectral Associative Memory via Dirichlet Energy26 Sep 2026
- 2026Analytic-Walk Rotary Positional Encodings for Graphs26 Sep 2026
- 2026QUARTET: Quad-branch cross-Attention and Random-walk Traces for Enhancing Transformers on Relational Graphs22 Sep 2026
- 2026Temporal Generalization and Explanation Stability of Control Flow Graph Neural Networks for Malware Detection21 Sep 2026
38 more
- 2026TWIG: A Time-Causal Wavelet Operator for Autoregressive Forecasting on Irregular Graphs18 Sep 2026
- 2026FoundAna: A GNN-assisted Foundation Model for Graph Anomaly Detection16 Sep 2026
- 2026Symmetries and Singularities13 Sep 2026
- 2026Pre-training with Graph Transformers12 Sep 2026
- 2026Fraglingo: Molecular Design via Attachment-Aware Autoregressive Fragment Generation11 Sep 2026
- 2026Multi-Agent Agentic Graph Learning via Structural Signatures9 Sep 2026
- 2026GraphNOSE: A Graph Transformer in Olfaction4 Sep 2026
- 2026UniMate: One Unified Model to Animate Diverse Skeletons4 Sep 2026
- 2026WEECFP-SuRGE: A Position-Aware Substructure Encoding Method for Molecular Property Prediction4 Sep 2026
- 2026Self-Supervised Pretraining of Molecular Graph Encoders with LeJEPA2 Sep 2026
- 2026Universal Transformers for Circuit Computations: Perfect Length Generalization in Tiny Transformers31 Aug 2026
- 2026CoMPASS: Collaborative Molecular Property Prediction via Adaptive Small-Large Model Synergy31 Aug 2026
- 2026Converse and Collision-Based Achievability for Node Localization with Hybrid Distance-Spectral Graph Positional Encodings31 Aug 2026
- 2026MDTE: Minority-Aware Diffusion over Temporal Edge Events for Imbalanced Node Classification25 Aug 2026
- 2026ReCoG: Reciprocal Co-Evolution for Multimodal Graph Learning24 Aug 2026
- 2026Read, Write, Relax: Why Neural PDE Surrogates Need Both Global and Local Processing21 Aug 2026
- 2026TractoGraphVLM: A Unified Vision-Language Framework for White Matter Tractography16 Aug 2026
- 2026GENCO - A Unified Neural Solver Embedded in a Development Framework for Steady-State Grid Analysis10 Aug 2026
- 2026HOPPER: Learnable Hop Extraction for Linearized Graph Sequence Models10 Aug 2026
- 2026ArchEGraph: A Large-Scale Graph Dataset for Geometry-Topology-Physics Aligned Building Energy Modeling7 Aug 2026
- 2026When Should Graph Attention Be Sparse? Learning a Per-Edge Tsallis Index3 Aug 2026
- 2026Benchmarking Sheaf Neural Networks for Inductive Tasks3 Aug 2026
- 2026Differentiable Lifting for Topological Neural Networks2 Aug 2026
- 2026HetGPS: Scalable Graph Multi-Agent Reinforcement Learning with Physics-Anchored Adaptive Safety for EV Charging1 Aug 2026
- 2026Oracle-Budgeted Molecular Optimization with Short-Term Graph Memory30 Jul 2026
- 2026Semi-Supervised Learning for Molecular Graphs via Ensemble Consensus30 Jul 2026
- 2026TopoFormer: Topology Meets Attention for Graph Learning30 Jul 2026
- 2026Persistent Gaussian Perturbations Prevent Oversmoothing in Recurrent Graph Neural Networks30 Jul 2026
- 2026When Does Explicit View Routing Work? A Controlled Study of Multi-View Graph-Text Alignment29 Jul 2026
- 2026Schreier-Coset Graph Rewiring29 Jul 2026
- 2026CondPSE: A Polynomial-Filtered Structural Encoder with Conditional Modulation for Graphs28 Jul 2026
- 2026GUIDED Network-Agnostic Feature Initialization for Spatial Transferability in GNN-based Models21 Jul 2026
- 2026A Weisfeiler-Leman Characterization of Global-Attention Graph Transformers for Mixed-Integer Linear Programs20 Jul 2026
- 2026Show Me How You Reason and I'll Tell You Who You Are: Reasoning Graphs for Robust LLM Authorship Attribution16 Jul 2026
- 2026MxGPS: Multiplex Graph Transformers for a Power Grid Foundation Model15 Jul 2026
- 2026Navigating Hierarchy: Hyperbolic Learning on Brain Graphs for Disorder Diagnosis8 Jul 2026
- 2026Eigenbasis-Independent Learnable Spectral Positional Encodings for Directed Graphs via Hermitian Block Krylov Subspaces8 Jul 2026
- 2026KAT-Coder-V2.5 Technical Report6 Jul 2026
50 newest of 702 All 702 (JSON)
- 2024Unifying Generation and Prediction on Graphs with Latent Graph Diffusioncited by 24
- 2023Masked Diffusion with Task-awareness for Procedure Planning in Instructional Videoscited by 7
- 2023Supercharging Graph Transformers with Advective Diffusioncited by 7
- 2025Controllable Graph Generation with Diffusion Models via Inference-Time Tree Search Guidancecited by 5
- 2026Rethinking Diffusion Models with Symmetries through Canonicalization with Applications to Molecular Graph Generationcited by 5
- 2024Stealing Training Graphs from Graph Neural Networkscited by 3
- 2025Graph Flow Matching: Enhancing Image Generation with Neighbor-Aware Flow Fieldscited by 1
- 2025Toward a Unified Geometry Understanding: Riemannian Diffusion Framework for Graph Generation and Predictioncited by 1
- 2026Breaking the Bottlenecks: Scalable Diffusion Models for 3D Molecular Generationcited by 0
- 2026GCCM: Enhancing Generative Graph Prediction via Contrastive Consistency Modelcited by 0
- 2026GCCM: Enhancing Generative Graph Prediction via Contrastive Consistency Model7 May 2026
- 2026Rethinking Diffusion Models with Symmetries through Canonicalization with Applications to Molecular Graph Generation16 Feb 2026
- 2026Breaking the Bottlenecks: Scalable Diffusion Models for 3D Molecular Generation13 Jan 2026
- 2025Controllable Graph Generation with Diffusion Models via Inference-Time Tree Search Guidance12 Oct 2025
- 2025Toward a Unified Geometry Understanding: Riemannian Diffusion Framework for Graph Generation and Prediction6 Oct 2025
- 2025Graph Flow Matching: Enhancing Image Generation with Neighbor-Aware Flow Fields30 May 2025
- 2024Stealing Training Graphs from Graph Neural Networks17 Nov 2024
- 2024Unifying Generation and Prediction on Graphs with Latent Graph Diffusion4 Feb 2024
- 2023Supercharging Graph Transformers with Advective Diffusion10 Oct 2023
- 2023Masked Diffusion with Task-awareness for Procedure Planning in Instructional Videos14 Sep 2023
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 84
- 2024STG-Mamba: Spatial-Temporal Graph Learning via Selective State Space Modelcited by 24
- 2025pLSTM: parallelizable Linear Source Transition Mark networkscited by 2
- 2024Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mambacited by 1
- 2026Multi-fidelity graph-based neural networks architectures to learn Navier-Stokes solutions on non-parametrized 2D domainscited by 0
- 2026Multi-fidelity graph-based neural networks architectures to learn Navier-Stokes solutions on non-parametrized 2D domains5 Jan 2026
- 2025pLSTM: parallelizable Linear Source Transition Mark networks13 Jun 2025
- 2024Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba24 Jun 2024
- 2024STG-Mamba: Spatial-Temporal Graph Learning via Selective State Space Model19 Mar 2024
- 2024Graph Mamba: Towards Learning on Graphs with State Space Models13 Feb 2024
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spaces1 Feb 2024
- 2025El Agente: An Autonomous Agent for Quantum Chemistrycited by 43
- 2026KAT-Coder-V2.5 Technical Reportcited by 3
- 2026Multi-Agent Agentic Graph Learning via Structural Signaturescited by 1
- 2026GraphMAS: A Systematic Benchmark of Multi-Agent Coordination for Graph Learningcited by 0
- 2026GraphMAS: A Systematic Benchmark of Multi-Agent Coordination for Graph Learning30 Sep 2026
- 2026Multi-Agent Agentic Graph Learning via Structural Signatures9 Sep 2026
- 2026KAT-Coder-V2.5 Technical Report6 Jul 2026
- 2025El Agente: An Autonomous Agent for Quantum Chemistry5 May 2025
- 2026Understanding Rollout Error in Graph World Modelscited by 3
- 2026Understanding Rollout Error in Graph World Models26 Jun 2026
- 2022Long Range Graph Benchmarkcited by 258
- 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
- 2023Exphormer: Sparse Transformers for Graphscited by 166
- 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 163
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 137
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 131
- 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
- 2023Graph Foundation Models: Concepts, Opportunities and Challengescited by 101
- 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
- 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 83
12 most cited of 672 All 672 (JSON)
- 2026Higher-Order Positional Encodings for Graph Representation Learning1 Oct 2026
- 2026Let the Heads Talk: Beyond Diagonal Graph Attention1 Oct 2026
- 2026Attention Graphons: A Graph Limit Perspective on Graph Transformers28 Sep 2026
- 2026Edge-Level Automorphism in GNNs: A Quantitative Framework and Effective Designs For Link Prediction28 Sep 2026
- 2026MegaGraph: Towards Efficient Training of Large-Scale Graph Transformers with Automated Hybrid Parallelism28 Sep 2026
- 2026Reachability is not enough: Diagnosing long-range behavior in GNNs27 Sep 2026
- 2026Predicting the Financial Impact of Supply Chain Risk for Major AI-Related Semiconductor Firms: A Heterogeneous Graph Patch Transformer Approach26 Sep 2026
- 2026Graph Memory: Spectral Associative Memory via Dirichlet Energy26 Sep 2026
- 2026Analytic-Walk Rotary Positional Encodings for Graphs26 Sep 2026
- 2026QUARTET: Quad-branch cross-Attention and Random-walk Traces for Enhancing Transformers on Relational Graphs22 Sep 2026
- 2026Temporal Generalization and Explanation Stability of Control Flow Graph Neural Networks for Malware Detection21 Sep 2026
- 2026TWIG: A Time-Causal Wavelet Operator for Autoregressive Forecasting on Irregular Graphs18 Sep 2026
12 newest of 672 All 672 (JSON)