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.
Infinite-Horizon Graph Filters: Leveraging Power Series to Enhance Sparse Information Aggregation
Key Laboratory of High Confidence Software Technologies (Peking University)(北京大学高可信软件技术重点实验室);University of Toronto(多伦多大学);Ministry of Education(教育部);School of Computer Science, Peking University(北京大学计算机学院);Big Data Technology Research Center, Nanhu Laboratory(南湖实验室大数据技术研究中心)
Estimating smooth and sparse neural receptive fields with a flexible spline basis
Institute for Ophthalmic Research, University of Tübingen(图宾根大学眼科研究所);Centre for Integrative Neuroscience, University of Tübingen(图宾根大学综合神经科学中心);Tübingen AI Center, University of Tübingen(图宾根大学图宾根人工智能中心)
On How Iterative Magnitude Pruning Discovers Local Receptive Fields in Fully Connected Neural Networks
UC Santa Barbara(加州大学圣芭芭拉分校);Johns Hopkins Applied Physics Lab(约翰霍普金斯应用物理实验室);UT Austin(得克萨斯大学奥斯汀分校);International Centre for Theoretical Physics(国际理论物理中心);Radboud University(拉德堡德大学);International School of Advanced Studies(国际高级研究学院)
Brain network science modelling of sparse neural networks enables Transformers and LLMs to perform as fully connected
Center for Complex Network Intelligence (CCNI)(复杂网络智能研究中心);Dept. of Computer Science & Technology(计算机科学与技术系);School of Biomedical Engineering(生物医学工程学院);University of Padova(帕多瓦大学);Canva Research(Canva研究)