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
Graph ClassificationDD
Accuracy76.8
273
Node ClassificationOgbn-arxiv
Accuracy68.6
206
Node Classificationamazon-ratings
Accuracy49
173
Graph RegressionPeptides-struct
MAE0.2478
76
Node Classificationtolokers
ROC AUC80.3
47
Node ClassificationMinesweeper
ROC AUC92.7
46
Graph ClassificationPeptides func
AP67.39
41
Node-level classificationROMAN EMP.
Accuracy86.9
24
Bio-network classificationKEGG 10-fold stratified K-Fold cross-validation
Precision (Human Diseases)70.7
11
Classificationcolors3
Accuracy93.6
10
Showing 10 of 15 rows

Other info

Follow for update