mlsanityData to 7 Oct 2026

HopFormer: Sparse Graph Transformers with Explicit Receptive Field Control

arXiv 2602.02268 ↗First posted 2 Feb 2026cs.LGcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  4. 2017Graph Attention Networkscited by 8,854
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  6. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  7. 2021ViViT: A Video Vision Transformercited by 1,610
  8. 2018Pitfalls of Graph Neural Network Evaluationcited by 994
  9. 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 987
  10. 2020Geom-GCN: Geometric Graph Convolutional Networkscited by 821
  11. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
  12. 2020A Generalization of Transformer Networks to Graphscited by 653
25 more
  1. 2020Heterogeneous Graph Transformercited by 581
  2. 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 471
  3. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  4. 2024Janus: Decoupling Visual Encoding for Unified Multimodal Understanding and Generationcited by 447
  5. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  6. 2024Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Modelscited by 321
  7. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  8. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  9. 2022Long Range Graph Benchmarkcited by 258
  10. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 207
  11. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  12. 2019Universal Invariant and Equivariant Graph Neural Networkscited by 182
  13. 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 176
  14. 2023Exphormer: Sparse Transformers for Graphscited by 166
  15. 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
  16. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  17. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 131
  18. 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
  19. 2018GEMSEC: Graph Embedding with Self Clusteringcited by 61
  20. 2024Length Generalization of Causal Transformers without Position Encodingcited by 46
  21. 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
  22. 2018Design Principles for Sparse Matrix Multiplication on the GPUcited by 18
  23. 2024An end-to-end attention-based approach for learning on graphscited by 11
  24. 2025OpenGT: A Comprehensive Benchmark For Graph Transformerscited by 2
  25. 2013Spatially embedded growing small-world networkscited by 1

Built on by

Not cited yet.