HopFormer: Sparse Graph Transformers with Explicit Receptive Field Control
Not on the map. Why?
Abstract (arXiv)
Graph Transformers typically rely on explicit positional or structural encodings and dense global attention to incorporate graph topology. In this work, we show that neither is essential. We introduce HopFormer, a graph Transformer that injects structure exclusively through head-specific n-hop masked sparse attention, without the use of positional encodings or architectural modifications. This design provides explicit and interpretable control over receptive fields while enabling genuinely sparse attention whose computational cost scales linearly with mask sparsity. Through extensive experiments on both node-level and graph-level benchmarks, we demonstrate that our approach achieves competitive or superior performance across diverse graph structures. Our results further reveal that dense global attention is often unnecessary: on graphs with strong small-world properties, localized attention yields more stable and consistently high performance, while on graphs with weaker small-world effects, global attention offers diminishing returns. Together, these findings challenge prevailing assumptions in graph Transformer design and highlight sparsity-controlled attention as a principled and efficient alternative.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 48 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
37 of 48 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2021ViViT: A Video Vision Transformercited by 1,610
- 2018Pitfalls of Graph Neural Network Evaluationcited by 994
- 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 987
- 2020Geom-GCN: Geometric Graph Convolutional Networkscited by 821
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020A Generalization of Transformer Networks to Graphscited by 653
25 more
- 2020Heterogeneous Graph Transformercited by 581
- 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 471
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
- 2024Janus: Decoupling Visual Encoding for Unified Multimodal Understanding and Generationcited by 447
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2024Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Modelscited by 321
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2022Long Range Graph Benchmarkcited by 258
- 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 207
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2019Universal Invariant and Equivariant Graph Neural Networkscited by 182
- 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 176
- 2023Exphormer: Sparse Transformers for Graphscited by 166
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 131
- 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
- 2018GEMSEC: Graph Embedding with Self Clusteringcited by 61
- 2024Length Generalization of Causal Transformers without Position Encodingcited by 46
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
- 2018Design Principles for Sparse Matrix Multiplication on the GPUcited by 18
- 2024An end-to-end attention-based approach for learning on graphscited by 11
- 2025OpenGT: A Comprehensive Benchmark For Graph Transformerscited by 2
- 2013Spatially embedded growing small-world networkscited by 1
Built on by
Not cited yet.