DCI:一种协调分配与填充的负载感知双缓存分配GNN推理加速系统
DCI: A Coordinated Allocation and Filling Workload-Aware Dual-Cache Allocation GNN Inference Acceleration System
AI总结:
针对GNN推理中数据加载冗余、传输低效及预处理时间长等问题,提出负载感知双缓存分配系统DCI,通过预采样阶段分配缓存与轻量级填充算法优化加载,实现显著端到端推理加速并大幅降低预处理时间。
摘要:
图神经网络(GNNs)是处理图结构数据的强大工具,越来越多地通过基于采样的推理方法用于大规模现实世界图。然而,邻居采样的固有特性导致GNN推理过程中存在冗余的数据加载,加之主机与GPU内存之间低效的数据传输,导致推理缓慢且资源利用率低。现有的GNN推理加速方法面临几个挑战:(1)GPU内存实际利用率低,(2)忽视邻接矩阵的局部性,(3)预处理时间长。为了解决这些挑战,我们引入了DCI,一个用于GNN推理加速的高效负载感知双缓存分配系统。DCI在预采样阶段基于负载模式为节点特征和邻接矩阵分配缓存容量,利用轻量级缓存填充算法优化数据加载效率。实验结果表明,DCI加速了采样和节点特征加载,与DGL相比实现了1.18倍至11.26倍的端到端推理加速,与RAIN相比实现了1.14倍至13.68倍的加速,同时将预处理时间减少了52.8%至98.7%。此外,DCI通过实现1.08倍至1.32倍的加速,超越了最先进的单缓存推理系统。我们还比较了DCI与DUCATI的双缓存填充策略。我们的轻量级填充算法使DCI能够达到几乎相同的推理速度,同时将预处理时间保持在DUCATI所需时间的20%以下。
英文摘要:
Graph Neural Networks (GNNs) are powerful tools for processing graph-structured data, increasingly used for large-scale real-world graphs via sampling-based inference methods. However, inherent characteristics of neighbor sampling lead to redundant data loading during GNN inference, compounded by inefficient data transfers between host and GPU memory, resulting in slow inference and low resource utilization. Existing methods to accelerate GNN inference face several challenges: (1) low practical GPU memory utilization, (2) overlooking adjacency matrix locality, and (3) long preprocessing time. To address these challenges, we introduce DCI, an efficient workload-aware dual-cache allocation system for GNN inference acceleration. DCI allocates cache capacities for both node features and adjacency matrices based on workload patterns during the pre-sampling phase, leveraging a lightweight cache-filling algorithm to optimize data loading efficiency. Experimental results demonstrate that DCI accelerates sampling and node feature loading, achieving end-to-end inference speedups of 1.18$\times$ to 11.26$\times$ compared to DGL, and 1.14$\times$ to 13.68$\times$ over RAIN, while reducing preprocessing time by 52.8\% to 98.7\%. Additionally, DCI outperforms state-of-the-art single-cache inference systems by achieving speedup of 1.08$\times$ to 1.32$\times$. We also compared DCI with DUCATI's dual-cache population strategy. Our lightweight population algorithm allows DCI to achieve nearly the same inference speed while keeping preprocessing time to less than 20\% of that required by DUCATI.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。