arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.02749cs.ARcs.DCcs.LG
收藏

利用 Versal 架构片上异构性加速 GNN 推理

Exploiting On-chip Heterogeneity of Versal Architecture for GNN Inference Acceleration

University of Southern California(南加州大学)

Paul Chen, Pavan Manjunath, Sasindu Wijeratne, Bingyi Zhang, Viktor Prasanna

AI总结:

本文利用 AMD Versal ACAP 的 PL 与 AIE 异构计算能力,通过运行时稀疏性驱动的任务映射策略加速 GNN 推理,在 VCK5000 上相比 CPU、GPU、ACAP 及定制加速器取得显著性能提升。

摘要:

图神经网络(GNNs)已经革新了许多机器学习(ML)应用,例如社交网络分析、生物信息学等。GNN 推理可以通过利用输入图、顶点特征以及 GNN 计算中间数据中的数据稀疏性来加速。为了利用动态稀疏性,我们利用 AMD Versal ACAP 架构的异构计算能力来加速 GNN 推理。我们开发了一个定制硬件模块,在可编程逻辑(PL)上执行计算核的稀疏原语,并使用 AI 引擎(AIE)高效计算稠密原语。为了在推理过程中利用数据稀疏性,我们设计了一种运行时核映射策略,根据数据稀疏性动态地将计算任务分配给 PL 和 AIE。我们在 VCK5000 ACAP 平台上的实现与在 CPU、GPU、ACAP 以及其他定制 GNN 加速器上的最先进实现相比,取得了优越的性能。与这些实现相比,我们在各种模型和数据集上分别实现了 162.42 倍、17.01 倍、9.90 倍和 27.23 倍的显著平均运行时加速。此外,对于图卷积网络(GCN)推理,与在同一 ACAP 设备上仅使用 PL 的设计相比,我们的方法实现了 3.9-96.7 倍的加速。

英文摘要:

Graph Neural Networks (GNNs) have revolutionized many Machine Learning (ML) applications, such as social network analysis, bioinformatics, etc. GNN inference can be accelerated by exploiting data sparsity in the input graph, vertex features, and intermediate data in GNN computations. For dynamic sparsity exploitation, we leverage the heterogeneous computing capabilities of AMD Versal ACAP architecture to accelerate GNN inference. We develop a custom hardware module that executes the sparse primitives of the computation kernel on the Programmable Logic (PL) and efficiently computes the dense primitives using the AI Engine (AIE). To exploit data sparsity during inference, we devise a runtime kernel mapping strategy that dynamically assigns computation tasks to the PL and AIE based on data sparsity. Our implementation on the VCK5000 ACAP platform leads to superior performance compared with the state-of-the-art implementations on CPU, GPU, ACAP, and other custom GNN accelerators. Compared with these implementations, we achieve significant average runtime speedup across various models and datasets of 162.42x, 17.01x, 9.90x, and 27.23x, respectively. Furthermore, for Graph Convolutional Network (GCN) inference, our approach leads to a speedup of 3.9-96.7x compared to designs using PL only on the same ACAP device.

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

↑