Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spaces

About

Attention mechanisms have been widely used to capture long-range dependencies among nodes in Graph Transformers. Bottlenecked by the quadratic computational cost, attention mechanisms fail to scale in large graphs. Recent improvements in computational efficiency are mainly achieved by attention sparsification with random or heuristic-based graph subsampling, which falls short in data-dependent context reasoning. State space models (SSMs), such as Mamba, have gained prominence for their effectiveness and efficiency in modeling long-range dependencies in sequential data. However, adapting SSMs to non-sequential graph data presents a notable challenge. In this work, we introduce Graph-Mamba, the first attempt to enhance long-range context modeling in graph networks by integrating a Mamba block with the input-dependent node selection mechanism. Specifically, we formulate graph-centric node prioritization and permutation strategies to enhance context-aware reasoning, leading to a substantial improvement in predictive performance. Extensive experiments on ten benchmark datasets demonstrate that Graph-Mamba outperforms state-of-the-art methods in long-range graph prediction tasks, with a fraction of the computational cost in both FLOPs and GPU memory consumption. The code and models are publicly available at https://github.com/bowang-lab/Graph-Mamba.

Chloe Wang, Oleksii Tsepa, Jun Ma, Bo Wang• 2024

Related benchmarks

TaskDatasetResultRank
Node Classificationamazon-ratings
Accuracy49
309
Graph ClassificationDD
Accuracy76.8
300
Graph RegressionPeptides struct LRGB (test)
MAE0.2478
238
Node ClassificationOgbn-arxiv
Accuracy68.6
235
Graph ClassificationPeptides-func LRGB (test)
AP0.6739
196
Graph RegressionPeptides-struct
MAE0.2478
134
Graph ClassificationPeptides func
AP67.39
110
Node ClassificationMinesweeper
ROC AUC92.7
94
Node Classificationtolokers
ROC AUC80.3
93
Node-level classificationROMAN EMP.
Accuracy86.9
24
Showing 10 of 22 rows

Other info

Follow for update