paper-with-me

Papers

ReHub: Linear Complexity Graph Transformers with Adaptive Hub-Spoke Reassignment

2024-12-02 · Tomer Borreda, Daniel Freedman, Or Litany

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.

📄 PDF Abstract BibTeX arXiv:2412.01519

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Adam 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Multi-Head Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Transformers Generalize DeepSets and Can be Extended to Graphs & Hypergraphs

2021-05-21 · NeurIPS 2021 12 · Jinwoo Kim, Saeyoon Oh, Seunghoon Hong

We present a generalization of Transformers to any-order permutation invariant data (sets, graphs, and hypergraphs). We begin by observing that Transformers generalize DeepSets, or first-order (set-input) permutation inv…

2kGraph Regression

Transformers Generalize DeepSets and Can be Extended to Graphs and Hypergraphs

2021-10-27 · NeurIPS 2021 12 · Jinwoo Kim, Saeyoon Oh, Seunghoon Hong

We present a generalization of Transformers to any-order permutation invariant data (sets, graphs, and hypergraphs). We begin by observing that Transformers generalize DeepSets, or first-order (set-input) permutation inv…

2kGraph RegressionHyperedge PredictionSet-to-Graph Prediction

Adaptive Graph Spatial-Temporal Transformer Network for Traffic Flow Forecasting

2022-07-09 · Aosong Feng, Leandros Tassiulas

Traffic flow forecasting on graphs has real-world applications in many fields, such as transportation system and computer networks. Traffic forecasting can be highly challenging due to complex spatial-temporal correlatio…

Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearization

2022-08-01 · Tan Nguyen, Richard G. Baraniuk, Robert M. Kirby, Stanley J. Osher 외

Transformers have achieved remarkable success in sequence modeling and beyond but suffer from quadratic computational and memory complexities with respect to the length of the input sequence. Leveraging techniques includ…

Image GenerationMachine Translation

k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPS

2026-04-04 · Jonas De Schouwer, Haitz Sáez de Ocáriz Borde, Xiaowen Dong arxiv

Graph transformers have shown promise in overcoming limitations of traditional graph neural networks, such as oversquashing and difficulties in modeling long-range dependencies. However, their application to large-scale …