DyGMamba
A dynamic-graph model that uses two Mamba state space layers to read long node interaction histories.
Graphs and geometry · 1,673 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 335.3K
- Operations
- 1,673
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- Transactions on Machine Learning Research (TMLR) (arXiv 2024)
- Cited by
- 0 (as of 30 October 2026)
- Authors
- Zifeng Ding, Yifeng Li, Yuan He and others
- Source
- GitHub: ZifengDing/DyGMamba
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16222
- Graph hash
- 88d4196e6ab16c8c29165d81e8d650ab38a30833e2647af806ebb3585a86e417
- Skeleton hash
- c9b0fa7322fcb825487579c25085a11c84110770887107ce981f400a7a820496
- Architecture hash
- a50b7be9e625f276b4de17b43da6d30b89a13d48a2e3bbe102de69896c8c15d7
- Diagram SHA-256
- f7eefddb28d8629088b4b6224ec0b018c0ce707f0ec402e0fbd9e3d88231ea0c
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DyGMamba is a representation learning model for continuous-time dynamic graphs (CTDGs), built on the Mamba state space model (SSM). The paper starts from the observation that encoding longer interaction histories requires more computational resources, so such models need low computational complexity.
A node-level SSM first encodes the sequence of historical node interactions. A second, time-level SSM then exploits the temporal patterns hidden in the historical graph, and its output is used to dynamically select the critical information from the interaction history.
The paper validates DyGMamba on dynamic link prediction and reports the best results in most cases at the time. The code evaluates it on seven datasets: wikipedia, reddit, mooc, lastfm, enron, SocialEvo and uci. The same repository also contains earlier CTDG learning methods, including JODIE, DyRep, TGAT, TGN, CAWN, TCL and DyGFormer.
Key idea. DyGMamba encodes interaction histories with a node-level SSM and uses a second, time-level SSM to exploit temporal patterns in the historical graph.
- DyGMamba
- dynamic graph
- continuous-time dynamic graph
- CTDG
- temporal graph learning
- dynamic link prediction
- Mamba
- state space model
- long-term temporal dependency
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{ding2025dygmambaefficientlymodelinglongterm,
title={DyGMamba: Efficiently Modeling Long-Term Temporal Dependency on Continuous-Time Dynamic Graphs with State Space Models},
author={Zifeng Ding and Yifeng Li and Yuan He and Antonio Norelli and Jingcheng Wu and Volker Tresp and Michael Bronstein and Yunpu Ma},
year={2025},
eprint={2408.04713},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2408.04713},
}