NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphs
Not on the map. Why?
Abstract (arXiv)
The graph Transformer emerges as a new architecture and has shown superior performance on various graph mining tasks. In this work, we observe that existing graph Transformers treat nodes as independent tokens and construct a single long sequence composed of all node tokens so as to train the Transformer model, causing it hard to scale to large graphs due to the quadratic complexity on the number of nodes for the self-attention computation. To this end, we propose a Neighborhood Aggregation Graph Transformer (NAGphormer) that treats each node as a sequence containing a series of tokens constructed by our proposed Hop2Token module. For each node, Hop2Token aggregates the neighborhood features from different hops into different representations and thereby produces a sequence of token vectors as one input. In this way, NAGphormer could be trained in a mini-batch manner and thus could scale to large graphs. Moreover, we mathematically show that as compared to a category of advanced Graph Neural Networks (GNNs), the decoupled Graph Convolutional Network, NAGphormer could learn more informative node representations from the multi-hop neighborhoods. Extensive experiments on benchmark datasets from small to large are conducted to demonstrate that NAGphormer consistently outperforms existing graph Transformers and mainstream GNNs. Code is available at https://github.com/JHL-HUST/NAGphormer.
Key facts. Cited by 137 papers in the map (data through 14 Oct 2026). Builds on 43 of its 55 references that are in the map. First posted on arXiv 10 Jun 2022.
Builds on
43 of 55 references.
References · 43
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,089
- 2019Simplifying Graph Convolutional Networkscited by 1,477
31 more
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,138
- 2018Pitfalls of Graph Neural Network Evaluationcited by 1,007
- 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 993
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2020Simple and Deep Graph Convolutional Networkscited by 860
- 2018Link Prediction Based on Graph Neural Networkscited by 832
- 2019Graph Neural Networks for Social Recommendationcited by 714
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
- 2020A Generalization of Transformer Networks to Graphscited by 661
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
- 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
- 2020Adaptive Universal Generalized PageRank Graph Neural Networkcited by 595
- 2018FastGCN: Fast Learning with Graph Convolutional Networks via Importance Samplingcited by 584
- 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 545
- 2019Cluster-GCN: An Efficient Algorithm for Training Deep and Large Graph Convolutional Networkscited by 541
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2019Diffusion Improves Graph Learningcited by 414
- 2020Graph Random Neural Network for Semi-Supervised Learning on Graphscited by 213
- 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 195
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
- 2019Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networkscited by 177
- 2020Scaling Graph Neural Networks with Approximate PageRankcited by 174
- 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 114
- 2020Node Similarity Preserving Graph Convolutional Networkscited by 112
- 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107
- 2020Scalable Graph Neural Networks via Bidirectional Propagationcited by 87
- 2020Tackling Over-Smoothing for General Graph Convolutional Networkscited by 66
- 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
- 2020Revisiting Over-smoothing in Deep GCNscited by 55
- 2020On the Equivalence of Decoupled Graph Convolution Network and Label Propagationcited by 49
- 2022GRAND+: Scalable Graph Random Neural Networkscited by 25
Built on by
Citing papers per year: 2022: 1; 2023: 18; 2024: 54; 2025: 38; 2026: 26.
137 papers.
Sort:
By area:
- 2024LLaGA: Large Language and Graph Assistantcited by 181
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
- 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 87
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 86
- 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classificationcited by 85
- 2023Attending to Graph Transformerscited by 83
- 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 65
- 2024VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connectionscited by 34
- 2025Relational Graph Transformercited by 34
- 2024FairGT: A Fairness-aware Graph Transformercited by 29
- 2023GRENADE: Graph-Centric Language Model for Self-Supervised Representation Learning on Text-Attributed Graphscited by 28
- 2025Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellencecited by 26
38 more
- 2023G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networkscited by 25
- 2024Unifying Generation and Prediction on Graphs with Latent Graph Diffusioncited by 25
- 2025Relational Deep Learning: Challenges, Foundations and Next-Generation Architecturescited by 23
- 2023Graph Meets LLMs: Towards Large Graph Modelscited by 20
- 2024Learning Graph Quantized Tokenizerscited by 19
- 2024Learning Long Range Dependencies on Graphs via Random Walkscited by 18
- 2023LPFormer: An Adaptive Graph Transformer for Link Predictioncited by 17
- 2023GraphGPT: Generative Pre-trained Graph Eulerian Transformercited by 17
- 2025Beyond Message Passing: Neural Graph Pattern Machinecited by 17
- 2023Enhancing Graph Transformers with Hierarchical Distance Structural Encodingcited by 16
- 2024Rethinking Node-wise Propagation for Large-scale Graph Learningcited by 16
- 2024FedSSP: Federated Graph Learning with Spectral Knowledge and Personalized Preferencecited by 16
- 2024Probabilistic Graph Rewiring via Virtual Nodescited by 15
- 2024What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encodingcited by 14
- 2024GraphFM: A generalist graph transformer that learns transferable representations across diverse domainscited by 14
- 2025A Survey of Graph Transformers: Architectures, Theories and Applicationscited by 14
- 2024What Can We Learn from State Space Models for Machine Learning on Graphs?cited by 13
- 2024Locality-Sensitive Hashing-Based Efficient Point Transformer with Applications in High-Energy Physicscited by 12
- 2025Graph2text or Graph2token: A Perspective of Large Language Models for Graph Learningcited by 12
- 2025DeepGate4: Efficient and Effective Representation Learning for Circuit Design at Scalecited by 12
- 2025Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Taskscited by 12
- 2022Toward Robust Graph Semi-Supervised Learning against Extreme Data Scarcitycited by 11
- 2024Towards Dynamic Message Passing on Graphscited by 11
- 2025Generative Graph Pattern Machinecited by 11
- 2023A Hierarchical Spatial Transformer for Massive Point Samples in Continuous Spacecited by 10
- 2023Graph Transformers for Large Graphscited by 10
- 2024Node Identifiers: Compact, Discrete Representations for Efficient Graph Learningcited by 10
- 2024PolyFormer: Scalable Node-wise Filters via Polynomial Graph Transformercited by 10
- 2025Message-Passing State-Space Models: Improving Graph Learning with Modern Sequence Modelingcited by 10
- 2024GTC: GNN-Transformer Co-contrastive Learning for Self-supervised Heterogeneous Graph Representationcited by 9
- 2024Leveraging Contrastive Learning for Enhanced Node Representations in Tokenized Graph Transformerscited by 9
- 2024STGformer: Efficient Spatiotemporal Graph Transformer for Traffic Forecastingcited by 9
- 2024A Survey on Structure-Preserving Graph Transformerscited by 7
- 2024Graph-Skeleton: ~1% Nodes are Sufficient to Represent Billion-Scale Graphcited by 6
- 2024A Comprehensive Benchmark on Spectral GNNs: The Impact on Efficiency, Memory, and Effectivenesscited by 6
- 2024A Pure Transformer Pretraining Framework on Text-attributed Graphscited by 6
- 2024When Heterophily Meets Heterogeneity: Challenges and a New Large-Scale Graph Benchmarkcited by 6
- 2024NeuroPath: A Neural Pathway Transformer for Joining the Dots of Human Connectomescited by 6
50 most cited of 137 All 137 (JSON)
- 2026NodeGround: A Node Classification Benchmark in the Graph Foundation Model Era30 Sep 2026
- 2026Message Passing Does More with Less for In-Context Learning on Graphs29 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
- 2026Cross-Resolution Semantic Learning for Graph Domain Adaptation31 Jul 2026
- 2026Node4All: Learning Node Representation Beyond Datasets19 Jul 2026
- 2026X-LogSMask: Expand Transformer for Graph-Structured Data2 Jul 2026
- 2026Adaptive Recurrent Message Passing for Test Time Computing on Graphs21 Jun 2026
- 2026Graph Cascades: Contagion-Based Mesoscopic Rewiring for Structure-Aware Graph Machine Learning3 Jun 2026
- 2026TGFormer: Towards Temporal Graph Transformer with Auto-Correlation Mechanism24 May 2026
- 2026Graph Transductive Sharpening: Leveraging Unlabeled Predictions in Node Classification18 May 2026
- 2026CAMPA: Efficient and Aligned Multimodal Graph Learning via Decoupled Propagation and Aggregation12 May 2026
38 more
- 2026Robust Learning on Heterogeneous Graphs with Heterophily: A Graph Structure Learning Approach30 Apr 2026
- 2026Capacity-Controlled Global Attention for Graph Transformers19 Apr 2026
- 2026Learning How Much to Think: Difficulty-Aware Dynamic MoEs for Graph Node Classification13 Apr 2026
- 2026k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPS4 Apr 2026
- 2026GIST: Gauge-Invariant Spectral Transformers for Scalable Graph Neural Operators17 Mar 2026
- 2026VecFormer: Towards Efficient and Generalizable Graph Transformer with Graph Token Attention23 Feb 2026
- 2026Geometry-Induced Diffusion on Graphs: A Learnable Weighted Laplacian for Spectral GNNs20 Feb 2026
- 2026COMBA: Cross Batch Aggregation for Learning Large Graphs with Context Gating State Space Models19 Feb 2026
- 2026Plain Transformers are Surprisingly Powerful Link Predictors2 Feb 2026
- 2026Scaling GraphLLM with Bilevel-Optimized Sparse Querying30 Jan 2026
- 2026Temporal Graph Pattern Machine30 Jan 2026
- 2026Fixed Aggregation Features Can Rival GNNs27 Jan 2026
- 2026Modality as Heterogeneity: Node Splitting and Graph Rewiring for Multimodal Graph Learning20 Jan 2026
- 2026FairGE: Fairness-Aware Graph Encoding in Incomplete Social Networks14 Jan 2026
- 2025ParaFormer: A Generalized PageRank Graph Transformer for Graph Representation Learning16 Dec 2025
- 2025Towards Efficient LLM-aware Heterogeneous Graph Learning22 Nov 2025
- 2025Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs17 Nov 2025
- 2025Relieving the Over-Aggregating Effect in Graph Transformers24 Oct 2025
- 2025Unifying and Enhancing Graph Transformers via a Hierarchical Mask Framework21 Oct 2025
- 2025HeroFilter: Adaptive Spectral Graph Filter for Varying Heterophilic Relations13 Oct 2025
- 2025GraphTARIF: Linear Graph Transformer with Augmented Rank and Improved Focus12 Oct 2025
- 2025HeSRN: Representation Learning On Heterogeneous Graphs via Slot-Aware Retentive Network10 Oct 2025
- 2025Toward a Unified Geometry Understanding: Riemannian Diffusion Framework for Graph Generation and Prediction6 Oct 2025
- 2025Attention Beyond Neighborhoods: Reviving Transformer for Graph Clustering18 Sep 2025
- 2025State Space Models over Directed Graphs17 Sep 2025
- 2025Invariant Graph Transformer for Out-of-Distribution Generalization1 Aug 2025
- 2025NTSFormer: A Self-Teaching Graph Transformer for Multimodal Isolated Cold-Start Node Classification7 Jul 2025
- 2025Relational Deep Learning: Challenges, Foundations and Next-Generation Architectures19 Jun 2025
- 2025Toward a Graph Foundation Model: Pre-Training Transformers With Random Walks17 Jun 2025
- 2025Learnable Spatial-Temporal Positional Encoding for Link Prediction10 Jun 2025
- 2025Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks9 Jun 2025
- 2025Message-Passing State-Space Models: Improving Graph Learning with Modern Sequence Modeling24 May 2025
- 2025Convexified Message-Passing Graph Neural Networks23 May 2025
- 2025Early-Exit Graph Neural Networks23 May 2025
- 2025DAM-GT: Dual Positional Encoding-Based Attention Masking Graph Transformer for Node Classification23 May 2025
- 2025Generative Graph Pattern Machine22 May 2025
- 2025Multi-Scale Harmonic Encoding for Feature-Wise Graph Message Passing21 May 2025
- 2025Adaptive Tokenization: On the Hop-Overpriority Problem in Tokenized Graph Learning Models19 May 2025
50 newest of 137 All 137 (JSON)
- 2025NTSFormer: A Self-Teaching Graph Transformer for Multimodal Isolated Cold-Start Node Classificationcited by 3
- 2025Unifying and Enhancing Graph Transformers via a Hierarchical Mask Frameworkcited by 2
- 2026Modality as Heterogeneity: Node Splitting and Graph Rewiring for Multimodal Graph Learningcited by 1
- 2026Learning How Much to Think: Difficulty-Aware Dynamic MoEs for Graph Node Classificationcited by 0
- 2026Learning How Much to Think: Difficulty-Aware Dynamic MoEs for Graph Node Classification13 Apr 2026
- 2026Modality as Heterogeneity: Node Splitting and Graph Rewiring for Multimodal Graph Learning20 Jan 2026
- 2025Unifying and Enhancing Graph Transformers via a Hierarchical Mask Framework21 Oct 2025
- 2025NTSFormer: A Self-Teaching Graph Transformer for Multimodal Isolated Cold-Start Node Classification7 Jul 2025
- 2024LLaGA: Large Language and Graph Assistantcited by 181
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
- 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 87
- 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classificationcited by 85
- 2023Attending to Graph Transformerscited by 83
- 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 65
- 2024VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connectionscited by 34
- 2025Relational Graph Transformercited by 34
- 2024FairGT: A Fairness-aware Graph Transformercited by 29
- 2023GRENADE: Graph-Centric Language Model for Self-Supervised Representation Learning on Text-Attributed Graphscited by 28
- 2025Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellencecited by 26
- 2023G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networkscited by 25
12 most cited of 130 All 130 (JSON)
- 2026NodeGround: A Node Classification Benchmark in the Graph Foundation Model Era30 Sep 2026
- 2026Message Passing Does More with Less for In-Context Learning on Graphs29 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
- 2026Cross-Resolution Semantic Learning for Graph Domain Adaptation31 Jul 2026
- 2026Node4All: Learning Node Representation Beyond Datasets19 Jul 2026
- 2026X-LogSMask: Expand Transformer for Graph-Structured Data2 Jul 2026
- 2026Adaptive Recurrent Message Passing for Test Time Computing on Graphs21 Jun 2026
- 2026Graph Cascades: Contagion-Based Mesoscopic Rewiring for Structure-Aware Graph Machine Learning3 Jun 2026
- 2026TGFormer: Towards Temporal Graph Transformer with Auto-Correlation Mechanism24 May 2026
- 2026Graph Transductive Sharpening: Leveraging Unlabeled Predictions in Node Classification18 May 2026
- 2026CAMPA: Efficient and Aligned Multimodal Graph Learning via Decoupled Propagation and Aggregation12 May 2026
12 newest of 130 All 130 (JSON)