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

ATLAS:针对十亿级图神经网络的高效外存推断

ATLAS: Efficient Out-of-Core Inference for Billion-Scale Graph Neural Networks

Indian Institute of Science (IISc)(印度科学学院)

Pranjal Naman, Yogesh Simmhan

AI总结:

ATLAS通过广播模型和分层内存-磁盘架构,实现十亿级图神经网络的高效全图逐层推断,相比现有外存基线系统在单台工作站上提升12-30倍的端到端推断时间。

摘要:

图神经网络(GNN)在十亿级图上的推断对于金融和推荐系统等领域至关重要。在分布式设置中,对这些大图进行完整图推断具有挑战性,因为通信成本高,而在基于磁盘的外存(OOC)设置中,I/O成本也高。现有外存系统主要专注于GNN训练,且在完整图推断中表现不佳,因为存在大量的读取放大、不规则I/O和内存压力。我们提出了ATLAS,一个基于磁盘的GNN推断框架,能够高效地在图拓扑、特征和中间嵌入超过单台机器可用内存的图上进行完整图、逐层推断。ATLAS用广播模型替代了基于收集的执行方式,从而实现了逐层的顺序单次流式读取特征和嵌入。一个分层的内存-磁盘架构,结合最小待处理消息的淘汰、图重排序和GPU加速的流水线,能够在128 GiB RAM和2 TiB SSD内维持高吞吐量。在具有多达4B条边和550 GiB特征的外存图以及多种GNN架构上,ATLAS在单台工作站上将端到端推断时间比现有外存基线系统提升约12-30倍,而在特征能放入内存时,保持在约5%的范围内。

英文摘要:

Graph Neural Network (GNN) inference on billion-scale graphs is critical for domains like fintech and recommendation systems. Full-graph inference on these large graphs can be challenging due to high communication costs in distributed settings and high I/O costs in disk-backed Out-of-Core (OOC) settings. Existing OOC systems, operating across disk and memory, primarily focus on GNN training and perform poorly for full-graph inference due to massive read amplification, irregular I/O, and memory pressure. We present ATLAS, a disk-based GNN inference framework that enables efficient full-graph, layer-wise inference on graphs whose topologies, features and intermediate embeddings exceed the available memory on single machines. ATLAS replaces gather-based execution with a broadcast-based model that enables sequential, single-pass streaming reads of features and embeddings per layer. A tiered memory-disk hierarchy with minimum-pending-message eviction, graph reordering and a GPU-accelerated pipeline sustains high throughput within $128$ GiB RAM and $2$ TiB SSD. Across out-of-core graphs with up to $4$B edges and $550$ GiB features and multiple GNN architectures, ATLAS improves end-to-end inference time by $\approx12$--$30\times$ over State-of-the-Art (SOTA) OOC baselines on a single workstation, while remaining within $\approx5\%$ when features fit in memory.

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

↑