arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.11293cs.LGcs.AI
收藏

基于 Mamba 与 Transformers 的动态图嵌入比较研究

A Comparative Study on Dynamic Graph Embedding based on Mamba and Transformers

Department of Data Science, New Jersey Institute of Technology(数据科学系,新泽西理工学院);School of Engineering, Brown University(工程学院,布朗大学)

Ashish Parmanand Pandey, Alan John Varghese, Sarang Patil, Mengjia Xu

AI总结:

本文比较 Mamba 与 Transformer 动态图嵌入模型,提出三种结合图神经网络的新架构,证明 Mamba 在链接预测中性能相当或更优且长序列计算效率更高。

摘要:

动态图嵌入已成为对跨不同领域、随时间演化的复杂网络进行建模的一项重要技术。尽管基于 transformer 的模型在捕捉时序图数据中的长程依赖方面展现出潜力,但由于二次计算复杂度,它们面临可扩展性挑战。本研究对使用 transformers 与近期提出的 Mamba 架构(一种具有线性复杂度的状态空间模型)的动态图嵌入方法进行了比较分析。我们提出了三个新颖模型:结合图卷积网络增强的 TransformerG2G、\mathcal{DG}-Mamba,以及采用图同构网络边卷积的 \mathcal{GDG}-Mamba。我们在多个基准数据集上的实验表明,在链接预测任务中,基于 Mamba 的模型取得了与基于 transformer 的方法相当或更优的性能,同时在更长序列上带来显著的计算效率提升。值得注意的是,\mathcal{DG}-Mamba 变体在 UCI、Bitcoin 和 Reality Mining 等具有高时间可变性的数据集上持续优于基于 transformer 的模型,同时在 SBM 等更稳定的图上保持具有竞争力的性能。我们通过分析注意力权重和状态矩阵,对学习到的时间依赖提供洞见,揭示模型捕捉复杂时间模式的能力。通过将状态空间模型与图神经网络有效结合,我们的工作解决了以往方法的关键局限,并为高效时序图表示学习这一不断增长的研究方向作出贡献。这些发现为将动态图嵌入扩展到更大、更复杂的真实世界网络提供了有前景的方向,可能促成社会网络分析、金融建模和生物系统动力学等领域的新应用。

英文摘要:

Dynamic graph embedding has emerged as an important technique for modeling complex time-evolving networks across diverse domains. While transformer-based models have shown promise in capturing long-range dependencies in temporal graph data, they face scalability challenges due to quadratic computational complexity. This study presents a comparative analysis of dynamic graph embedding approaches using transformers and the recently proposed Mamba architecture, a state-space model with linear complexity. We introduce three novel models: TransformerG2G augment with graph convolutional networks, \mathcal{DG}-Mamba, and \mathcal{GDG}-Mamba with graph isomorphism network edge convolutions. Our experiments on multiple benchmark datasets demonstrate that Mamba-based models achieve comparable or superior performance to transformer-based approaches in link prediction tasks while offering significant computational efficiency gains on longer sequences. Notably, \mathcal{DG}-Mamba variants consistently outperform transformer-based models on datasets with high temporal variability, such as UCI, Bitcoin, and Reality Mining, while maintaining competitive performance on more stable graphs like SBM. We provide insights into the learned temporal dependencies through analysis of attention weights and state matrices, revealing the models' ability to capture complex temporal patterns. By effectively combining state-space models with graph neural networks, our work addresses key limitations of previous approaches and contributes to the growing body of research on efficient temporal graph representation learning. These findings offer promising directions for scaling dynamic graph embedding to larger, more complex real-world networks, potentially enabling new applications in areas such as social network analysis, financial modeling, and biological system dynamics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑