ReHub: Linear Complexity Graph Transformers with Adaptive Hub-Spoke Reassignment
Not on the map. Why?
Abstract (arXiv)
We present ReHub, a novel graph transformer architecture that achieves linear complexity through an efficient reassignment technique between nodes and virtual nodes. Graph transformers have become increasingly important in graph learning for their ability to utilize long-range node communication explicitly, addressing limitations such as oversmoothing and oversquashing found in message-passing graph networks. However, their dense attention mechanism scales quadratically with the number of nodes, limiting their applicability to large-scale graphs. ReHub draws inspiration from the airline industry's hub-and-spoke model, where flights are assigned to optimize operational efficiency. In our approach, graph nodes (spokes) are dynamically reassigned to a fixed number of virtual nodes (hubs) at each model layer. Recent work, Neural Atoms (Li et al., 2024), has demonstrated impressive and consistent improvements over GNN baselines by utilizing such virtual nodes; their findings suggest that the number of hubs strongly influences performance. However, increasing the number of hubs typically raises complexity, requiring a trade-off to maintain linear complexity. Our key insight is that each node only needs to interact with a small subset of hubs to achieve linear complexity, even when the total number of hubs is large. To leverage all hubs without incurring additional computational costs, we propose a simple yet effective adaptive reassignment technique based on hub-hub similarity scores, eliminating the need for expensive node-hub computations. Our experiments on LRGB indicate a consistent improvement in results over the base method, Neural Atoms, while maintaining a linear complexity. Remarkably, our sparse model achieves performance on par with its non-sparse counterpart. Furthermore, ReHub outperforms competitive baselines and consistently ranks among top performers across various benchmarks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 43 references that are in the map. First posted on arXiv 2 Dec 2024.
Builds on
36 of 43 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2018Pitfalls of Graph Neural Network Evaluationcited by 1,007
24 more
- 2019Strategies for Pre-training Graph Neural Networkscited by 971
- 2020Simple and Deep Graph Convolutional Networkscited by 860
- 2021How Attentive are Graph Attention Networks?cited by 835
- 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
- 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 478
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2017Residual Gated Graph ConvNetscited by 346
- 2022Long Range Graph Benchmarkcited by 263
- 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 210
- 2023Exphormer: Sparse Transformers for Graphscited by 170
- 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
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 86
- 2023Attending to Graph Transformerscited by 83
- 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
- 2023On the Connection Between MPNN and Graph Transformercited by 61
- 2022A Comprehensive Study on Large-Scale Graph Training: Benchmarking and Rethinkingcited by 56
- 2024VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connectionscited by 34
- 2024Graph Transformers: A Surveycited by 32
- 2023Neural Atoms: Propagating Long-range Interaction in Molecular Graphs through Efficient Communication Channelcited by 10
- 2023Learning Large Graph Property Prediction via Graph Segment Trainingcited by 9
Built on by
Not cited yet.