TGL: A General Framework for Temporal GNN Training onBillion-Scale Graphs
Hongkuan Zhou, Da Zheng, Israt Nisa, Vassilis N. Ioannidis, Xiang Song, George Karypis
摘要
Many real world graphs contain time domain information. Temporal Graph Neural Networks capture temporal information as well as structural and contextual information in the generated dynamic node embeddings. Researchers have shown that these embeddings achieve state-of-the-art performance in many different tasks. In this work, we propose TGL, a unified framework for large-scale offline Temporal Graph Neural Network training where users can compose various Temporal Graph Neural Networks with simple configuration files. TGL comprises five main components, a temporal sampler, a mailbox, a node memory module, a memory updater, and a message passing engine. We design a Temporal-CSR data structure and a parallel sampler to efficiently sample temporal neighbors to form training mini-batches. We propose a novel random chunk scheduling technique that mitigates the problem of obsolete node memory when training with a large batch size. To address the limitations of current TGNNs only being evaluated on small-scale datasets, we introduce two large-scale real-world datasets with 0.2 and 1.3 billion temporal edges. We evaluate the performance of TGL on four small-scale datasets with a single GPU and the two large datasets with multiple GPUs for both link prediction and node classification tasks. We compare TGL with the open-sourced code of five methods and show that TGL achieves similar or better accuracy with an average of 13X speedup. Our temporal parallel sampler achieves an average of 173X speedup on a multi-core CPU compared with the baselines. On a 4-GPU machine, TGL can train one epoch of more than one billion temporal edges within 1-10 hours. To the best of our knowledge, this is the first work that proposes a general framework for large-scale Temporal Graph Neural Networks training on multiple GPUs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 45 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Recurrent Event Network: Autoregressive Structure Inferenceover Temporal Knowledge Graphs 引用了 EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks 引用了 EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks 引用了 Inductive representation learning on temporal graphs
- Towards Better Dynamic Graph Learning: New Architecture and Unified Library 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Towards Better Dynamic Graph Learning: New Architecture and Unified Library 引用了 Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
- Towards Better Dynamic Graph Learning: New Architecture and Unified Library 引用了 EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Towards Better Dynamic Graph Learning: New Architecture and Unified Library 引用了 Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs
- Towards Better Dynamic Graph Learning: New Architecture and Unified Library 引用了 Inductive representation learning on temporal graphs
- Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank 引用了 Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
- Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank 引用了 EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRank 引用了 Inductive representation learning on temporal graphs
- Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs 引用了 Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
- Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs 引用了 EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic Graphs 引用了 Inductive representation learning on temporal graphs
- TIGER: Temporal Interaction Graph Embedding with Restarts 引用了 Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks
- TIGER: Temporal Interaction Graph Embedding with Restarts 引用了 Inductive representation learning on temporal graphs
引用它的顶会 Paper45
- Towards Better Dynamic Graph Learning: New Architecture and Unified LibraryLe Yu, Leilei Sun, Bowen Du, Weifeng LvNeurIPS 2023 · 323 次引用
- Neural Temporal Walks: Motif-Aware Representation Learning on Continuous-Time Dynamic GraphsMing Jin, Yuan-Fang Li, Shirui PanNeurIPS 2022 · 130 次引用
- Zebra: When Temporal Graph Neural Networks Meet Temporal Personalized PageRankYiming Li, Yanyan Shen, Lei Chen, Mingxuan YuanVLDB 2023 · 67 次引用
- TIGER: Temporal Interaction Graph Embedding with RestartsYao Zhang, Yun Xiong, Yongxiang Liao, Yiheng Sun 等WWW 2023 · 37 次引用
- Parameter-free Dynamic Graph Embedding for Link PredictionJiahao Liu, Dongsheng Li, Hansu Gu, Tun Lu 等NeurIPS 2022 · 32 次引用
它引用的 Paper6
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- EvolveGCN: Evolving Graph Convolutional Networks for Dynamic GraphsAldo Pareja, Giacomo Domeniconi, Jie Chen, Tengfei Ma 等AAAI 2020 · 1,429 次引用
- Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar 等ICLR 2020 · 901 次引用
- Recurrent Event Network: Autoregressive Structure Inferenceover Temporal Knowledge GraphsWoojeong Jin, Meng Qu, Xisen Jin, Xiang RenEMNLP 2020 · 353 次引用
- Inductive Representation Learning in Temporal Networks via Causal Anonymous WalksYanbang Wang, Yen-Yu Chang, Yunyu Liu, Jure Leskovec 等ICLR 2021 · 326 次引用
相关 Paper
- SIMPLE: Efficient Temporal Graph Neural Network Training at Scale with Dynamic Data PlacementShihong Gao, Yiming Li, Xin Zhang, Yanyan Shen 等SIGMOD 2024 · 19 次引用
- FastGL: A GPU-Efficient Framework for Accelerating Sampling-Based GNN Training at Large ScaleZeyu Zhu, Peisong Wang, Qinghao Hu, Gang Li 等ASPLOS 2024 · 8 次引用
- TimeSGN: Scalable and Effective Temporal Graph Neural NetworkYuanyuan Xu, Wenjie Zhang, Ying Zhang, Maria E. Orlowska 等ICDE 2024 · 15 次引用
- PiPAD: Pipelined and Parallel Dynamic GNN Training on GPUsChunyang Wang, Desen Sun, Yuebin BaiPPoPP 2023 · 27 次引用
- ETC: Efficient Training of Temporal Graph Neural Networks over Large-scale Dynamic GraphsShihong Gao, Yiming Li, Yanyan Shen, Yingxia Shao 等VLDB 2024 · 32 次引用
