arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.09258cs.DC
收藏

大规模高效图嵌入:优化CPU-GPU-SSD集成

Efficient Graph Embedding at Scale: Optimizing CPU-GPU-SSD Integration

Alibaba Group, Hangzhou, China(阿里巴巴集团);Zhejiang University, Hangzhou, China(浙江大学)

Zhonggen Li, Xiangyu Ke, Yifan Zhu, Yunjun Gao, Feifei Li

AI总结:

Legend通过优化CPU-GPU-SSD集成,实现大规模图嵌入的高效处理,提升性能并降低资源消耗

摘要:

图嵌入将图节点映射到连续向量,是社区检测、推荐和许多科学应用的基础。然而,在十亿级规模下,现有图嵌入系统面临权衡:它们要么依赖多个GPU上的大内存占用(可扩展性受限),要么反复从磁盘流式传输数据(导致严重的I/O开销和低GPU利用率)。在本文中,我们提出了Legend,一个轻量级的异构系统,用于图嵌入,系统性地重新设计CPU、GPU和NVMe SSD资源的数据管理。Legend结合了三个实用想法:(1)一种友好的预取嵌入加载顺序,使GPU能够高效地从NVMe SSD直接预取必要的嵌入向量,且I/O放大率低;(2)一种高吞吐量的GPU-SSD直接访问驱动程序,针对嵌入训练的访问模式进行了优化;(3)一种定制的并行执行策略,最大限度地提高GPU利用率。这些组件共同使Legend能够存储和流式传输大量的嵌入数据,而无需过度配置GPU内存或遭受I/O停滞。在十亿级图的广泛实验中,Legend在端到端工作负载上比最先进的系统快了高达4.8倍,而在最大工作负载上,其性能与之匹配,但只使用了四分之一的GPU。

英文摘要:

Graph embeddings map graph nodes to continuous vectors and are foundational to community detection, recommendation, and many scientific applications. At billion-scale, however, existing graph embedding systems face a trade-off: they either rely on large in-memory footprints across many GPUs (limited scalability) or repeatedly stream data from disk (incurring severe I/O overhead and low GPU utilization). In this paper, we propose Legend, a lightweight heterogeneous system for graph embedding that systematically redesigns data management across CPU, GPU, and NVMe SSD resources. Legend combines three practical ideas: (1) a prefetch-friendly embedding-loading order that lets GPUs efficiently prefetch necessary embeddings directly from NVMe SSD with low I/O amplification; (2) a high-throughput GPU-SSD direct-access driver tuned for the access patterns of embedding training; and (3) a customized parallel execution strategy that maximizes GPU utilization. Together, these components let Legend store and stream vast embedding data without overprovisioning GPU memory or suffering I/O stalls. Extensive experiments on billion-scale graphs demonstrate that Legend speeds up end-to-end workloads by up to 4.8x versus state-of-the-art systems, and matches their performance on the largest workloads while using only one quarter of the GPUs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑