HiHGNN:通过挖掘并行性和数据可重用性来加速HGNN
HiHGNN: Accelerating HGNNs through Parallelism and Data Reusability Exploitation
AI总结:
本文提出高性能HGNN加速器HiHGNN,通过感知瓶颈的阶段融合、感知独立性的并行执行和感知相似性的执行调度,挖掘语义图间并行性与数据可重用性,相比NVIDIA GPU实现显著加速与能效提升。
摘要:
异构图神经网络(HGNNs)已成为处理异构图(HetGs)的强大算法,广泛应用于许多关键领域。为了捕捉HetGs中的结构和语义信息,HGNNs首先为每个语义图中的每个顶点聚合相邻特征向量,然后为每个顶点融合所有语义图中的聚合结果。遗憾的是,现有的图神经网络加速器不适合加速HGNNs。这是因为它们无法有效处理特定的执行模式,也无法利用HGNNs中语义图处理内部和跨语义图处理的高度并行性及数据可重用性。在这项工作中,我们首先在GPU上定量表征了一组具有代表性的HGNN模型,以揭示HGNNs中每个阶段的执行瓶颈、语义图间并行性和语义图间数据可重用性。在我们的发现指导下,我们提出了一种高性能的HGNN加速器HiHGNN,以缓解执行瓶颈并利用HGNNs中新发现的并行性和数据可重用性。具体而言,我们首先提出了一种感知瓶颈的阶段融合方法,专为HGNN加速定制,以在感知其执行瓶颈的情况下融合和流水线化执行阶段。其次,我们设计了一种感知独立性的并行执行设计,以利用语义图间并行性。最后,我们提出了一种感知相似性的执行调度,以利用语义图间数据可重用性。与在NVIDIA GPU T4和GPU A100上运行的最先进的软件框架相比,HiHGNN分别实现了平均41.5倍和8.6倍的加速,以及在仅有GPU A100四分之一内存带宽的情况下,实现了106倍和73倍的能效。
英文摘要:
Heterogeneous graph neural networks (HGNNs) have emerged as powerful algorithms for processing heterogeneous graphs (HetGs), widely used in many critical fields. To capture both structural and semantic information in HetGs, HGNNs first aggregate the neighboring feature vectors for each vertex in each semantic graph and then fuse the aggregated results across all semantic graphs for each vertex. Unfortunately, existing graph neural network accelerators are ill-suited to accelerate HGNNs. This is because they fail to efficiently tackle the specific execution patterns and exploit the high-degree parallelism as well as data reusability inside and across the processing of semantic graphs in HGNNs. In this work, we first quantitatively characterize a set of representative HGNN models on GPU to disclose the execution bound of each stage, inter-semantic-graph parallelism, and inter-semantic-graph data reusability in HGNNs. Guided by our findings, we propose a high-performance HGNN accelerator, HiHGNN, to alleviate the execution bound and exploit the newfound parallelism and data reusability in HGNNs. Specifically, we first propose a bound-aware stage-fusion methodology that tailors to HGNN acceleration, to fuse and pipeline the execution stages being aware of their execution bounds. Second, we design an independency-aware parallel execution design to exploit the inter-semantic-graph parallelism. Finally, we present a similarity-aware execution scheduling to exploit the inter-semantic-graph data reusability. Compared to the state-of-the-art software framework running on NVIDIA GPU T4 and GPU A100, HiHGNN respectively achieves an average 41.5$\times$ and 8.6$\times$ speedup as well as 106$\times$ and 73$\times$ energy efficiency with quarter the memory bandwidth of GPU A100.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。