GNNFlow: A Distributed Framework for Continuous Temporal GNN Learning on Dynamic Graphs

Yuchen Zhong, Guangming Sheng, Tianzuo Qin, Minjie Wang, Quan Gan +1 more
11/29/2023
cs.DCcs.LG

Official code: jasperzhong/GNNFlow (19 stars, Apache-2.0, last commit 2024-03-25).

Abstract

Graph Neural Networks (GNNs) play a crucial role in various fields. However, most existing deep graph learning frameworks assume pre-stored static graphs and do not support training on graph streams. In contrast, many real-world graphs are dynamic and contain time domain information. We introduce GNNFlow, a distributed framework that enables efficient continuous temporal graph representation learning on dynamic graphs on multi-GPU machines. GNNFlow introduces an adaptive time-indexed block-based data structure that effectively balances memory usage with graph update and sampling operation efficiency. It features a hybrid GPU-CPU graph data placement for rapid GPU-based temporal neighborhood sampling and kernel optimizations for enhanced sampling processes. A dynamic GPU cache for node and edge features is developed to maximize cache hit rates through reuse and restoration strategies. GNNFlow supports distributed training across multiple machines with static scheduling to ensure load balance. We implement GNNFlow based on DGL and PyTorch. Our experimental results show that GNNFlow provides up to 21.1x faster continuous learning than existing systems.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Distributed Deep Graph Learning Framework for Dynamic Graphs

193C++, CudaApr 25, 20222 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhong2023gnnflow,
  title  = {GNNFlow: A Distributed Framework for Continuous Temporal GNN Learning on Dynamic Graphs},
  author = {Yuchen Zhong and Guangming Sheng and Tianzuo Qin and Minjie Wang and Quan Gan and Chuan Wu},
  year   = {2023},
  eprint = {2311.17410},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.17410v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.17410.svg)](https://codeofpaper.com/paper/2311.17410)

Discussion