arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.07586cs.LGcs.AI
收藏

TGM:一个用于时序图机器学习的模块化高效库

TGM: a Modular and Efficient Library for Machine Learning on Temporal Graphs

Mila - Quebec AI Institute(魁北克AI研究所);School of Computer Science, McGill University(麦吉尔大学计算机科学学院);University of Oxford(牛津大学);Department of computer science, University of Manitoba(曼尼托瓦大学计算机科学系);AITHYRA;Stanford University(斯坦福大学);DIRO, Université de Montréal(蒙特利尔大学DIRO);CIFAR AI Chair(CIFAR人工智能主席)

Jacob Chmura, Shenyang Huang, Tran Gia Bao Ngo, Ali Parviz, Farimah Poursafaei, Jure Leskovec, Michael Bronstein, Guillaume Rabusseau, Matthias Fey, Reihaneh Rabbany

AI总结:

TGM是一个统一连续与离散时间动态图方法的模块化高效库,实现平均7.8倍加速,支持动态特征与多级任务,并开启动态属性预测等新研究方向。

摘要:

设计良好的开源软件推动了机器学习(ML)研究的进展。虽然静态图机器学习拥有像PyTorch Geometric和DGL这样成熟的框架,但针对时序图(TG)——即随时间演化的网络——的机器学习却缺乏类似的基础设施。现有的时序图库往往针对特定架构进行定制,阻碍了对这一快速发展的领域中多样化模型的支持。此外,连续时间动态图方法与离散时间动态图方法(CTDG和DTDG)之间的划分限制了直接的比较和思想迁移。为了解决这些不足,我们引入了时序图建模(TGM),一个面向研究的时序图机器学习库,它是首个统一CTDG和DTDG方法的库。TGM对动态节点特征、时间粒度转换以及链接级、节点级和图级任务的原生处理提供了一流支持。实验上,与广泛使用的DyGLib相比,TGM在多个模型、数据集和任务上实现了平均7.8倍的加速,在图的离散化方面相对于现有实现实现了平均175倍的加速。除了效率之外,我们的实验还表明,TGM通过实现动态图属性预测和时间驱动的训练范式,解锁了全新的研究可能性,为以前难以研究的问题打开了大门。TGM可在https://github.com/tgm-team/tgm获取。

英文摘要:

Well-designed open-source software drives progress in Machine Learning (ML) research. While static graph ML enjoys mature frameworks like PyTorch Geometric and DGL, ML for temporal graphs (TG), networks that evolve over time, lacks comparable infrastructure. Existing TG libraries are often tailored to specific architectures, hindering support for diverse models in this rapidly evolving field. Additionally, the divide between continuous- and discrete-time dynamic graph methods (CTDG and DTDG) limits direct comparisons and idea transfer. To address these gaps, we introduce Temporal Graph Modelling (TGM), a research-oriented library for ML on temporal graphs, the first to unify CTDG and DTDG approaches. TGM offers first-class support for dynamic node features, time-granularity conversions, and native handling of link-, node-, and graph-level tasks. Empirically, TGM achieves an average 7.8x speedup across multiple models, datasets, and tasks compared to the widely used DyGLib, and an average 175x speedup on graph discretization relative to available implementations. Beyond efficiency, we show in our experiments how TGM unlocks entirely new research possibilities by enabling dynamic graph property prediction and time-driven training paradigms, opening the door to questions previously impractical to study. TGM is available at https://github.com/tgm-team/tgm

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

↑