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

TGTOD:一种用于大规模异常检测的全局时序图 Transformer

TGTOD: A Global Temporal Graph Transformer for Outlier Detection at Scale

University of Illinois Chicago(伊利诺伊大学芝加哥分校);Amazon Web Services(亚马逊网络服务)

Kay Liu, Jiahao Ding, MohamadAli Torkamani, Philip S. Yu

AI总结:

针对时序图 Transformer 感受野、子图开销和泛化不足,本文提出分层全局注意力模型 TGTOD,用于大规模异常检测,并在 Elliptic 上提升 AP 61%、训练加速 44 倍。

摘要:

尽管 Transformer 已经革新了多种数据上的机器学习,但现有面向时序图的 Transformer 仍面临三方面限制:(1)感受野受限;(2)子图提取带来开销;(3)在链接预测之外的泛化能力不够理想。本文重新思考时序图 Transformer,并提出 TGTOD,这是一种新颖的、用于异常检测的端到端时序图 Transformer。TGTOD 采用全局注意力来建模时序图中的结构依赖和时间依赖。为解决可扩展性问题,该方法将大型时序图划分为时空 patch,随后由包含 Patch Transformer、Cluster Transformer 和 Temporal Transformer 的分层 Transformer 架构进行处理。我们在两种设置下于三个公开数据集上评估 TGTOD,并与大量基线进行比较。实验结果证明了 TGTOD 的有效性,其在 Elliptic 上实现了 61% 的 AP 提升。此外,效率评估表明,与现有面向时序图的 Transformer 相比,TGTOD 将训练时间减少了 44 倍。为促进可复现性,我们在 https://github.com/kayzliu/tgtod 公开发布了实现代码。

英文摘要:

While Transformers have revolutionized machine learning on various data, existing Transformers for temporal graphs face limitations in (1) restricted receptive fields, (2) overhead of subgraph extraction, and (3) suboptimal generalization capability beyond link prediction. In this paper, we rethink temporal graph Transformers and propose TGTOD, a novel end-to-end Temporal Graph Transformer for Outlier Detection. TGTOD employs global attention to model both structural and temporal dependencies within temporal graphs. To tackle scalability, our approach divides large temporal graphs into spatiotemporal patches, which are then processed by a hierarchical Transformer architecture comprising Patch Transformer, Cluster Transformer, and Temporal Transformer. We evaluate TGTOD on three public datasets under two settings, comparing with a wide range of baselines. Our experimental results demonstrate the effectiveness of TGTOD, achieving AP improvement of 61% on Elliptic. Furthermore, our efficiency evaluation shows that TGTOD reduces training time by 44x compared to existing Transformers for temporal graphs. To foster reproducibility, we make our implementation publicly available at https://github.com/kayzliu/tgtod.

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

↑