Efficient Data Loader for Fast Sampling-Based GNN Training on Large Graphs
- 12 March 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 32 (10) , 2541-2556
Abstract
Emerging graph neural networks (GNNs) have extended the successes of deep learning techniques against datasets like images and texts to more complex graph-structured data. By leveraging GPU accelerators, existing frameworks combine mini-batch and sampling for effective and efficient model training on large graphs. However, this setup faces a scalability issue since loading rich vertex features from CPU to GPU through a limited bandwidth link usually dominates the training cycle. In this article, we propose PaGraph, a novel, efficient data loader that supports general and efficient sampling-based GNN training on single-server with multi-GPU. PaGraph significantly reduces the data loading time by exploiting available GPU resources to keep frequently-accessed graph data with a cache. It also embodies a lightweight yet effective caching policy that takes into account graph structural information and data access patterns of sampling-based GNN training simultaneously. Furthermore, to scale out on multiple GPUs, PaGraph develops a fast GNN-computation-aware partition algorithm to avoid cross-partition access during data-parallel training and achieves better cache efficiency. Finally, it overlaps data loading and GNN computation for further hiding loading costs. Evaluations on two representative GNN models, GCN and GraphSAGE, using two sampling methods, Neighbor and Layer-wise, show that PaGraph could eliminate the data loading time from the GNN training pipeline, and achieve up to 4.8× performance speedup over the state-of-the-art baselines. Together with preprocessing optimization, PaGraph further delivers up to 16.0× end-to-end speedup.Keywords
Funding Information
- National Key R&D Program of China (2018YFB1003204)
- National Natural Science Foundation of China (61 802 358, 61 772 484)
- USTC Research Funds of the Double First-Class Initiative (YD2150002006)
- Huawei and Microsoft
This publication has 23 references indexed in Scilit:
- An experimental comparison of partitioning strategies in distributed graph processingProceedings of the VLDB Endowment, 2017
- Speedup Graph Processing by Graph Ordering2016
- Defining and evaluating network communities based on ground-truthKnowledge and Information Systems, 2013
- The little engine(s) that couldACM SIGCOMM Computer Communication Review, 2010
- Measurement and analysis of online social networks2007
- Power laws, Pareto distributions and Zipf's lawContemporary Physics, 2005
- The webgraph framework I2004
- LRU Is Better than FIFOAlgorithmica, 1999
- A Fast and High Quality Multilevel Scheme for Partitioning Irregular GraphsSIAM Journal on Scientific Computing, 1998
- An Efficient Heuristic Procedure for Partitioning GraphsBell System Technical Journal, 1970