Rethinking Graph Transformers with Spectral Attention
Not on the map. Why?
Abstract (arXiv)
In recent years, the Transformer architecture has proven to be very successful in sequence processing, but its application to other data structures, such as graphs, has remained limited due to the difficulty of properly defining positions. Here, we present the textitSpectral Attention Network (SAN), which uses a learned positional encoding (LPE) that can take advantage of the full Laplacian spectrum to learn the position of each node in a given graph. This LPE is then added to the node features of the graph and passed to a fully-connected Transformer. By leveraging the full spectrum of the Laplacian, our model is theoretically powerful in distinguishing graphs, and can better detect similar sub-structures from their resonance. Further, by fully connecting the graph, the Transformer does not suffer from over-squashing, an information bottleneck of most GNNs, and enables better modeling of physical phenomenons such as heat transfer and electric interaction. When tested empirically on a set of 4 standard datasets, our model performs on par or better than state-of-the-art GNNs, and outperforms any attention-based model by a wide margin, becoming the first fully-connected architecture to perform well on graph benchmarks.
Key facts. Cited by 473 papers in the map (data through 14 Oct 2026). Builds on 27 of its 44 references that are in the map. First posted on arXiv 7 Jun 2021.
Builds on
27 of 44 references.
References · 27
- 2017Attention Is All You Needcited by 60,361
- 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
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2016Geometric deep learning: going beyond Euclidean datacited by 1,048
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
- 2020Efficient Transformers: A Surveycited by 790
- 2020Benchmarking Graph Neural Networkscited by 680
- 2020A Generalization of Transformer Networks to Graphscited by 661
15 more
- 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 652
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
- 2019Graph Transformer Networkscited by 523
- 2020Principal Neighbourhood Aggregation for Graph Netscited by 478
- 2016Geometric deep learning on graphs and manifolds using mixture model CNNscited by 468
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2019Provably Powerful Graph Networkscited by 389
- 2017Residual Gated Graph ConvNetscited by 346
- 2020Directional Graph Networkscited by 133
- 2020Differentiable Graph Module (DGM) for Graph Convolutional Networkscited by 86
- 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 83
- 2015Partial Functional Correspondencecited by 61
- 2018Isospectralization, or how to hear shape, style, and correspondencecited by 18
- 2019Deep Green Function Convolution for Improving Saliency in Convolutional Neural Networkscited by 1
- 2020Improving Convolutional Neural Networks Via Conservative Field Regularisation and Integrationcited by 1
Built on by
Citing papers per year: 2021: 6; 2022: 61; 2023: 101; 2024: 129; 2025: 108; 2026: 68.
473 papers.
Sort:
By area:
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
- 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 320
- 2022Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphscited by 264
- 2022Long Range Graph Benchmarkcited by 263
- 2023EquiformerV2: Improved Equivariant Transformer for Scaling to Higher-Degree Representationscited by 204
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 179
- 2023Exphormer: Sparse Transformers for Graphscited by 170
- 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 166
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 153
38 more
- 2023Temporal Graph Benchmark for Machine Learning on Temporal Graphscited by 138
- 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 134
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
- 2023Rethinking the Expressive Power of GNNs via Graph Biconnectivitycited by 119
- 2022Understanding and Extending Subgraph GNNs by Rethinking Their Symmetriescited by 112
- 2023GraphText: Graph Reasoning in Text Spacecited by 111
- 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107
- 2022FoSR: First-order spectral rewiring for addressing oversquashing in GNNscited by 105
- 2023Graph Foundation Models: Concepts, Opportunities and Challengescited by 103
- 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
- 2022Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networkscited by 94
- 2022Brain Network Transformercited by 94
- 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
- 2024Position: Graph Foundation Models are Already Herecited by 86
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 86
- 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 85
- 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classificationcited by 85
- 2023Attending to Graph Transformerscited by 83
- 2023DRew: Dynamically Rewired Message Passing with Delaycited by 82
- 2022One Transformer Can Understand Both 2D & 3D Molecular Datacited by 77
- 2022Expander Graph Propagationcited by 75
- 2022Hierarchical Graph Transformer with Adaptive Node Samplingcited by 72
- 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
- 2022GRPE: Relative Positional Encoding for Graph Transformercited by 70
- 2023GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learningcited by 70
- 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 65
- 2022On the Trade-off between Over-smoothing and Over-squashing in Deep Graph Neural Networkscited by 64
- 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
- 2023On the Connection Between MPNN and Graph Transformercited by 61
- 2023GraphCare: Enhancing Healthcare Predictions with Personalized Knowledge Graphscited by 58
- 2022Provably expressive temporal graph networkscited by 56
- 2023Locality-Aware Graph-Rewiring in GNNscited by 56
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2022Multimodal learning with graphscited by 54
- 2023How does over-squashing affect the power of GNNs?cited by 53
- 2022Message passing all the way upcited by 47
- 2022Shortest Path Networks for Graph Property Predictioncited by 46
50 most cited of 473 All 473 (JSON)
- 2026PATTERN Can Be Solved from Memory: Generator-Aware Baselines for Synthetic Node Classification10 Oct 2026
- 2026Global Communication or Graph-Specific Memory?5 Oct 2026
- 2026PIT-GCL: Protein Interaction using Topological Graph Contrastive Learning4 Oct 2026
- 2026Mitigating Over-squashing without Rewiring: A Sheaf Effective Resistance Perspective3 Oct 2026
- 2026Attention Graphons: A Graph Limit Perspective on Graph Transformers28 Sep 2026
- 2026Graph Memory: Spectral Associative Memory via Dirichlet Energy26 Sep 2026
- 2026Analytic-Walk Rotary Positional Encodings for Graphs26 Sep 2026
- 2026Structure-Guided Masked Autoencoders for Ultra-High Resolution Scientific Image Understanding25 Sep 2026
- 2026QUARTET: Quad-branch cross-Attention and Random-walk Traces for Enhancing Transformers on Relational Graphs22 Sep 2026
- 2026TWIG: A Time-Causal Wavelet Operator for Autoregressive Forecasting on Irregular Graphs18 Sep 2026
- 2026ONE CYLinder: A Benchmark for Graph-Based Surrogate Modeling of Unsteady Bluff-Body Flows8 Sep 2026
- 2026GraphNOSE: A Graph Transformer in Olfaction4 Sep 2026
38 more
- 2026Converse and Collision-Based Achievability for Node Localization with Hybrid Distance-Spectral Graph Positional Encodings31 Aug 2026
- 2026Read, Write, Relax: Why Neural PDE Surrogates Need Both Global and Local Processing21 Aug 2026
- 2026BrainLinear: A Linear Model for Brain Network Analysis in Sparse Tangent Subspaces15 Aug 2026
- 2026HOPPER: Learnable Hop Extraction for Linearized Graph Sequence Models10 Aug 2026
- 2026Multi-Granularity Position Embedding of Graphs via Granular-Ball for Link Prediction31 Jul 2026
- 2026From Self-Attention to Connection Laplacian: A Unified Operator View of Transformers12 Jul 2026
- 2026Graph Convolutional Attention: A Spectral Perspective on Graph Denoising and Diffusion7 Jul 2026
- 2026On Preserving Geometrical Invariance for Superpixel Image Classification using Graph Transformer5 Jul 2026
- 2026X-LogSMask: Expand Transformer for Graph-Structured Data2 Jul 2026
- 2026Communicability-Inspired Positional Encoding (CIPE)24 Jun 2026
- 2026Collapsed Effective Operators for Higher-order Structures22 Jun 2026
- 2026Adaptive Recurrent Message Passing for Test Time Computing on Graphs21 Jun 2026
- 2026Understanding Truncated Positional Encodings for Graph Neural Networks11 Jun 2026
- 2026SMGFM: Spectral Multimodal Graph Pretraining for Multimodal-Attributed Graphs11 Jun 2026
- 2026Graph Cascades: Contagion-Based Mesoscopic Rewiring for Structure-Aware Graph Machine Learning3 Jun 2026
- 2026In-Context Graphical Inference3 Jun 2026
- 2026RADE: Random Add-Drop Edge as a Regularizer30 May 2026
- 2026When Do Graph Foundation Models Transfer? A Data-Centric Theory28 May 2026
- 2026Invariant-Based Weight Sharing for Message Passing25 May 2026
- 2026SeedER: Seed-Expand-Retrieve for Efficient Knowledge Graph Retrieval22 May 2026
- 2026S3GNN: Efficient Global Mixing and Local Message Passing for Long-Range Graph Learning22 May 2026
- 2026Weisfeiler-Leman Is Incomplete on Simple Spectrum Graphs, so Canonicalize Them22 May 2026
- 2026Lost in Tokenization: Fundamental Trade-offs in Graph Tokenization for Transformers21 May 2026
- 2026GraViti: Graph-Level Variational Autoencoders with Relaxed Permutation Invariance15 May 2026
- 2026Hypergraph Pattern Machine: Compositional Tokenization for Higher-Order Interactions15 May 2026
- 2026Attention-based graph neural networks: a survey9 May 2026
- 2026GCCM: Enhancing Generative Graph Prediction via Contrastive Consistency Model7 May 2026
- 2026Mesh Based Simulations with Spatial and Temporal awareness2 May 2026
- 2026Weisfeiler Lehman Test on Combinatorial Complexes: Generalized Expressive Power of Topological Neural Networks1 May 2026
- 2026Query-Efficient Quantum Approximate Optimization via Graph-Conditioned Trust Regions27 Apr 2026
- 2026Capacity-Controlled Global Attention for Graph Transformers19 Apr 2026
- 2026Neighbourhood Transformer: Switchable Attention for Monophily-Aware Graph Learning10 Apr 2026
- 2026Cluster Attention for Graph Machine Learning8 Apr 2026
- 2026BiScale-GTR: Fragment-Aware Graph Transformers for Multi-Scale Molecular Representation Learning7 Apr 2026
- 2026k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPS4 Apr 2026
- 2026Approximate Subgraph Matching with Neural Graph Representations and Reinforcement Learning18 Mar 2026
- 2026GIST: Gauge-Invariant Spectral Transformers for Scalable Graph Neural Operators17 Mar 2026
- 2026Masked BRep Autoencoder via Hierarchical Graph Transformer16 Mar 2026
50 newest of 473 All 473 (JSON)
- 2024Cometh: A continuous-time discrete-state graph diffusion modelcited by 32
- 2024Unifying Generation and Prediction on Graphs with Latent Graph Diffusioncited by 25
- 2022Graphically Structured Diffusion Modelscited by 11
- 2025Toward a Unified Geometry Understanding: Riemannian Diffusion Framework for Graph Generation and Predictioncited by 2
- 2025JTreeformer: Graph-Transformer via Latent-Diffusion Model for Molecular Generationcited by 0
- 2025Pretraining Transformer-Based Models on Diffusion-Generated Synthetic Graphs for Alzheimer's Disease Predictioncited by 0
- 2026GCCM: Enhancing Generative Graph Prediction via Contrastive Consistency Modelcited by 0
- 2026Graph Convolutional Attention: A Spectral Perspective on Graph Denoising and Diffusioncited by 0
- 2026Graph Convolutional Attention: A Spectral Perspective on Graph Denoising and Diffusion7 Jul 2026
- 2026GCCM: Enhancing Generative Graph Prediction via Contrastive Consistency Model7 May 2026
- 2025Pretraining Transformer-Based Models on Diffusion-Generated Synthetic Graphs for Alzheimer's Disease Prediction24 Nov 2025
- 2025Toward a Unified Geometry Understanding: Riemannian Diffusion Framework for Graph Generation and Prediction6 Oct 2025
- 2025JTreeformer: Graph-Transformer via Latent-Diffusion Model for Molecular Generation29 Apr 2025
- 2024Cometh: A continuous-time discrete-state graph diffusion model10 Jun 2024
- 2024Unifying Generation and Prediction on Graphs with Latent Graph Diffusion4 Feb 2024
- 2022Graphically Structured Diffusion Models20 Oct 2022
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
- 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 320
- 2022Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphscited by 264
- 2022Long Range Graph Benchmarkcited by 263
- 2023EquiformerV2: Improved Equivariant Transformer for Scaling to Higher-Degree Representationscited by 204
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 179
- 2023Exphormer: Sparse Transformers for Graphscited by 170
- 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 166
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 153
12 most cited of 459 All 459 (JSON)
- 2026PATTERN Can Be Solved from Memory: Generator-Aware Baselines for Synthetic Node Classification10 Oct 2026
- 2026Global Communication or Graph-Specific Memory?5 Oct 2026
- 2026PIT-GCL: Protein Interaction using Topological Graph Contrastive Learning4 Oct 2026
- 2026Mitigating Over-squashing without Rewiring: A Sheaf Effective Resistance Perspective3 Oct 2026
- 2026Attention Graphons: A Graph Limit Perspective on Graph Transformers28 Sep 2026
- 2026Graph Memory: Spectral Associative Memory via Dirichlet Energy26 Sep 2026
- 2026Analytic-Walk Rotary Positional Encodings for Graphs26 Sep 2026
- 2026Structure-Guided Masked Autoencoders for Ultra-High Resolution Scientific Image Understanding25 Sep 2026
- 2026QUARTET: Quad-branch cross-Attention and Random-walk Traces for Enhancing Transformers on Relational Graphs22 Sep 2026
- 2026TWIG: A Time-Causal Wavelet Operator for Autoregressive Forecasting on Irregular Graphs18 Sep 2026
- 2026ONE CYLinder: A Benchmark for Graph-Based Surrogate Modeling of Unsteady Bluff-Body Flows8 Sep 2026
- 2026GraphNOSE: A Graph Transformer in Olfaction4 Sep 2026
12 newest of 459 All 459 (JSON)