arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03651cs.SIcs.LG
收藏

时序图分析:TGX

Temporal Graph Analysis with TGX

McGill University(麦吉尔大学);Mila(米拉(魁北克人工智能研究所))

Razieh Shirzadkhani, Shenyang Huang, Elahe Kooshafar, Reihaneh Rabbany, Farimah Poursafaei

AI总结:

TGX是一个Python包,提供自动化流水线、内置数据集和多种度量与可视化工具,用于时序图的数据加载、处理和分析,适用于社交网络、引文网络等场景。

摘要:

现实世界网络及其不断演化的关系,最适合用时序图(temporal graphs)来刻画。然而,现有软件库大多是为静态图设计的,忽略了时序图的动态特性。为弥合这一差距,我们推出了TGX,一个专为时序网络分析而设计的Python包,它包含了一个自动化的流水线,用于数据加载、数据处理和演化图分析。TGX提供了对十一个内置数据集和八个外部时序图基准(TGB)数据集的访问,以及任何以.csv格式存储的新数据集。除了数据加载,TGX还提供了数据处理功能,如时序图的离散化和节点子采样,以加速处理更大规模的数据集。为了进行全面研究,TGX通过提供多种度量指标来进行网络分析,包括平均节点度以及每个时间戳上节点和边数量的演化。此外,该包整合了有意义的可视化图,展示时序模式的演化,如时序边出现(TEA)和时序边流量(TET)图。TGX包是检查时序图特征的稳健工具,可用于研究社交网络、引文网络以及跟踪用户交互等多个领域。我们计划根据社区反馈持续支持和更新TGX。TGX公开可用,网址为:https://github.com/ComplexData-MILA/TGX。

英文摘要:

Real-world networks, with their evolving relations, are best captured as temporal graphs. However, existing software libraries are largely designed for static graphs where the dynamic nature of temporal graphs is ignored. Bridging this gap, we introduce TGX, a Python package specially designed for analysis of temporal networks that encompasses an automated pipeline for data loading, data processing, and analysis of evolving graphs. TGX provides access to eleven built-in datasets and eight external Temporal Graph Benchmark (TGB) datasets as well as any novel datasets in the .csv format. Beyond data loading, TGX facilitates data processing functionalities such as discretization of temporal graphs and node subsampling to accelerate working with larger datasets. For comprehensive investigation, TGX offers network analysis by providing a diverse set of measures, including average node degree and the evolving number of nodes and edges per timestamp. Additionally, the package consolidates meaningful visualization plots indicating the evolution of temporal patterns, such as Temporal Edge Appearance (TEA) and Temporal Edge Trafficc (TET) plots. The TGX package is a robust tool for examining the features of temporal graphs and can be used in various areas like studying social networks, citation networks, and tracking user interactions. We plan to continuously support and update TGX based on community feedback. TGX is publicly available on: https://github.com/ComplexData-MILA/TGX.

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

↑