arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.16342cs.LGcs.AR
收藏

一种数据驱动的数据流感知图神经网络推理在线调度方法

A Data-Driven Approach to Dataflow-Aware Online Scheduling for Graph Neural Network Inference

Universitat Politècnica de Catalunya(加泰罗尼亚理工大学);University of Catania(卡塔尼亚大学)

Pol Puigdemont, Enrico Russo, Axel Wassington, Abhijit Das, Sergi Abadal, Maurizio Palesi

AI总结:

针对不同数据流和图属性导致GNN加速器性能差异未被充分探索的问题,提出数据驱动框架预测延迟并引入在线调度算法,实现最优数据流选择,显著提升推理效率。

摘要:

图神经网络(GNN)在推荐系统、生物信息学和网络分析等多个领域展现出显著潜力。然而,图数据的不规则性为高效计算带来独特挑战,促使专门的GNN加速器架构得以开发,其性能超越传统CPU和GPU。尽管如此,输入图的结构多样性导致不同GNN加速器的性能因数据流而异。这种由不同数据流和图属性导致的性能差异在很大程度上未被探索,限制了GNN加速器的适应性。为此,我们提出一种数据驱动框架用于GNN推理中的数据流感知延迟预测。我们的方法包括训练回归器,通过在合成图上的模拟来预测特定图在特定数据流上执行的延迟。实验结果表明,我们的回归器预测给定图的最优数据流的准确率高达91.28%,平均绝对百分比误差(MAPE)为3.78%。此外,我们引入一种在线调度算法,利用这些回归器增强调度决策。实验显示,与所有数据集上的最佳可行基线相比,该算法的平均完成时间加速比高达3.17倍,平均执行时间加速比高达6.26倍。

英文摘要:

Graph Neural Networks (GNNs) have shown significant promise in various domains, such as recommendation systems, bioinformatics, and network analysis. However, the irregularity of graph data poses unique challenges for efficient computation, leading to the development of specialized GNN accelerator architectures that surpass traditional CPU and GPU performance. Despite this, the structural diversity of input graphs results in varying performance across different GNN accelerators, depending on their dataflows. This variability in performance due to differing dataflows and graph properties remains largely unexplored, limiting the adaptability of GNN accelerators. To address this, we propose a data-driven framework for dataflow-aware latency prediction in GNN inference. Our approach involves training regressors to predict the latency of executing specific graphs on particular dataflows, using simulations on synthetic graphs. Experimental results indicate that our regressors can predict the optimal dataflow for a given graph with up to 91.28% accuracy and a Mean Absolute Percentage Error (MAPE) of 3.78%. Additionally, we introduce an online scheduling algorithm that uses these regressors to enhance scheduling decisions. Our experiments demonstrate that this algorithm achieves up to $3.17\times$ speedup in mean completion time and $6.26\times$ speedup in mean execution time compared to the best feasible baseline across all datasets.

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

↑