Efficient Graph Embedding at Scale: Optimizing CPU-GPU-SSD Integration
Zhonggen Li, Xiangyu Ke, Yifan Zhu, Yunjun Gao, Feifei Li
TL;DR
Legend addresses the scalability gap in graph embedding for billion-scale graphs by orchestrating computation across CPU, GPU, and NVMe SSD storage. It introduces a prefetch-friendly partition loading order and a GPU-SSD direct access driver, paired with a GPU-centric computation pipeline that hides I/O latency and maximizes throughput. Across four large datasets, Legend delivers up to $4.8\\times$ speedup over state-of-the-art RAM/disk-based systems and attains competitive single-GPU performance relative to multi-GPU RAM-based systems, demonstrating strong scalability and high GPU utilization. These results underscore the practicality of a low-cost, heterogeneous architecture for scalable graph embedding.
Abstract
Graph embeddings provide continuous vector representations of nodes in a graph, which are widely applicable in community detection, recommendations, and various scientific fields. However, existing graph embedding systems either face scalability challenges due to the high cost of RAM and multiple GPUs, or rely on disk storage at the expense of I/O efficiency. In this paper, we propose Legend, a lightweight heterogeneous system for graph embedding that systematically redefines data management across CPU, GPU, and NVMe SSD resources. Legend is built on a foundation of efficient data placement and retrieval strategies tailored to the unique strengths of each hardware. Key innovations include a prefetch-friendly embedding loading strategy, enabling GPUs to directly prefetch data from SSDs with minimal I/O overhead, and a high-throughput GPU-SSD direct access driver optimized for graph embedding tasks. Furthermore, we propose a customized parallel execution strategy to maximize GPU utilization, ensuring efficient handling of billion-scale datasets. Extensive experiments demonstrate that Legend achieves up to 4.8x speedup compared to state-of-the-art systems. Moreover, Legend exhibits comparable performance on a single GPU to that of the state-of-the-art system using 4 GPUs on the billion-scale dataset.
