Training Graph Neural Networks (GNNs) on massive datasets is a "big data" problem in the truest sense. When graphs reach terabyte scales—common in industrial recommendation systems or fraud detection—they exceed the RAM capacity of even high-end servers. Traditionally, researchers faced a binary choice: invest in expensive distributed in-memory clusters or settle for slow, disk-based single-machine systems.
Helios bridges this gap. It is a novel out-of-core GNN training system that enables a single machine to train on terabyte-scale graphs while achieving performance nearly identical to keeping the entire dataset in memory.
The Memory Wall Challenge
Modern GNN datasets, such as Alibaba’s Taobao graph, contain billions of nodes and edges, requiring terabytes of storage. Since most servers have less than 1TB of RAM, data must reside on Solid State Drives (SSDs). Existing disk-based systems generally fall into two categories, both of which suffer from significant inefficiencies:
- CPU-managed systems (e.g., Ginex, MariusGNN): These rely on the CPU to prepare data. The CPU becomes a massive bottleneck, often spending over 80% of the time on data preparation while the GPU remains underutilized.
- GPU-managed systems (e.g., GIDS): These use the GPU to initiate disk IO but often employ "synchronous" IO stacks. In these systems, GPU cores sit idle waiting for disk responses, failing to saturate the full bandwidth of modern NVMe SSDs.
The Helios Approach
Helios introduces three primary innovations to overcome the disk-to-memory performance gap:
1. GPU-initiated Asynchronous Disk IO Stack
Unlike previous systems that "block" a GPU thread while waiting for data from a disk, Helios decouples the process. It utilizes a small fraction (~30%) of GPU cores to submit IO requests and a separate kernel to handle completions. This asynchronous design allows the majority of the GPU to perform actual GNN training while data is in flight, maximizing throughput.
2. GPU-managed Heterogeneous Cache
Helios treats GPU memory and CPU memory as a unified cache hierarchy. By leveraging the GPU’s massive parallelism for lightning-fast cache lookups, the system significantly reduces the frequency of slow SSD accesses.
3. Deep GNN-aware Pipeline
A sophisticated scheduler overlaps the three main phases of GNN training: neighbor sampling, feature extraction (from disk/cache), and model training. By pipelining these operations, the system ensures the GPU is rarely waiting for data.
Evaluation and Results
The authors evaluated Helios on real-world and synthetic benchmarks, scaling up to unprecedented sizes, including the LDBC-SNB-Bi-SF3000 dataset—a massive 5.6B vertex graph with 23TB of feature data.
- In-Memory Performance: On datasets that fit in memory, Helios achieved 91%–99% of the throughput of a pure in-memory system.
- Massive Speedups: On terabyte-scale graphs, Helios outperformed GIDS by up to 6.43× and outperformed CPU-managed systems like Ginex by over 182×.
- Unrivaled Scale: Helios was the only system tested capable of successfully training on the 23TB LD dataset; other systems either ran out of memory or were too slow to be practical.
Conclusion and Future Work
Helios demonstrates that the GPU is a superior "traffic cop" for IO, capable of managing thousands of concurrent disk requests more efficiently than a multi-core CPU. While Helios currently assumes the graph topology fits in CPU memory, it proves that feature-heavy GNN training can be performed at scale on a single machine without sacrificing performance. Future work may extend these techniques to handle out-of-memory topologies and multi-GPU configurations.
Summary updated