Saved in:
Bibliographic Details
Main Authors: Liu, Renjie, Wang, Yichuan, Yan, Xiao, Jiang, Haitian, Cai, Zhenkun, Wang, Minjie, Tang, Bo, Li, Jinyang
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.05231
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912232535752704
author Liu, Renjie
Wang, Yichuan
Yan, Xiao
Jiang, Haitian
Cai, Zhenkun
Wang, Minjie
Tang, Bo
Li, Jinyang
author_facet Liu, Renjie
Wang, Yichuan
Yan, Xiao
Jiang, Haitian
Cai, Zhenkun
Wang, Minjie
Tang, Bo
Li, Jinyang
contents Graph neural networks (GNNs) are machine learning models specialized for graph data and widely used in many applications. To train GNNs on large graphs that exceed CPU memory, several systems store data on disk and conduct out-of-core processing. However, these systems suffer from either read amplification when reading node features that are usually smaller than a disk page or degraded model accuracy by treating the graph as disconnected partitions. To close this gap, we build a system called DiskGNN, which achieves high I/O efficiency and thus fast training without hurting model accuracy. The key technique used by DiskGNN is offline sampling, which helps decouple graph sampling from model computation. In particular, by conducting graph sampling beforehand, DiskGNN acquires the node features that will be accessed by model computation, and such information is utilized to pack the target node features contiguously on disk to avoid read amplification. Besides, \name{} also adopts designs including four-level feature store to fully utilize the memory hierarchy to cache node features and reduce disk access, batched packing to accelerate the feature packing process, and pipelined training to overlap disk access with other operations. We compare DiskGNN with Ginex and MariusGNN, which are state-of-the-art systems for out-of-core GNN training. The results show that DiskGNN can speed up the baselines by over 8x while matching their best model accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2405_05231
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DiskGNN: Bridging I/O Efficiency and Model Accuracy for Out-of-Core GNN Training
Liu, Renjie
Wang, Yichuan
Yan, Xiao
Jiang, Haitian
Cai, Zhenkun
Wang, Minjie
Tang, Bo
Li, Jinyang
Machine Learning
Graph neural networks (GNNs) are machine learning models specialized for graph data and widely used in many applications. To train GNNs on large graphs that exceed CPU memory, several systems store data on disk and conduct out-of-core processing. However, these systems suffer from either read amplification when reading node features that are usually smaller than a disk page or degraded model accuracy by treating the graph as disconnected partitions. To close this gap, we build a system called DiskGNN, which achieves high I/O efficiency and thus fast training without hurting model accuracy. The key technique used by DiskGNN is offline sampling, which helps decouple graph sampling from model computation. In particular, by conducting graph sampling beforehand, DiskGNN acquires the node features that will be accessed by model computation, and such information is utilized to pack the target node features contiguously on disk to avoid read amplification. Besides, \name{} also adopts designs including four-level feature store to fully utilize the memory hierarchy to cache node features and reduce disk access, batched packing to accelerate the feature packing process, and pipelined training to overlap disk access with other operations. We compare DiskGNN with Ginex and MariusGNN, which are state-of-the-art systems for out-of-core GNN training. The results show that DiskGNN can speed up the baselines by over 8x while matching their best model accuracy.
title DiskGNN: Bridging I/O Efficiency and Model Accuracy for Out-of-Core GNN Training
topic Machine Learning
url https://arxiv.org/abs/2405.05231