Slice-and-Forge:更好地利用图卷积网络加速器的缓存
Slice-and-Forge: Making Better Use of Caches for Graph Convolutional Network Accelerators
摘要:
图卷积网络(GCN)正变得越来越流行,因为它们可以处理各种各样的数据格式,而这些格式是之前的深度神经网络无法轻松支持的。设计GCN硬件加速器的一个关键挑战是其数据访问模式的巨大规模和随机性,这大大降低了有限的片上缓存的有效性。为了通过减少不规则的数据访问来提高缓存的有效性,以前的研究通常采用传统图处理应用中使用的顶点分片技术。虽然这些方法在提高缓存效率方面是有效的,但它们通常对平铺配置敏感,其中最佳设置严重依赖于目标输入数据集。此外,现有的解决方案需要通过试错法进行手动调整,或者依赖于次优的分析模型。在本文中,我们提出了切片和锻造(SnF),一个有效的硬件加速器GCN大大提高了有限的片上缓存的有效性。SnF选择了一种名为特征切片的平铺策略,该策略将特征拆分为垂直切片,并在执行的最外层循环中处理它们。这种特定的选择导致在多轮上对不规则图形数据重复相同的计算模式。利用这样的重复,SnF动态地调整其瓦片大小。我们的实验结果表明,SnF可以实现1.73倍更高的性能在几何相比,以前的工作多引擎设置,和1.46倍更高的性能在几何在小规模的设置,而不需要离线分析。
英文摘要:
Graph convolutional networks (GCNs) are becoming increasingly popular as they can process a wide variety of data formats that prior deep neural networks cannot easily support. One key challenge in designing hardware accelerators for GCNs is the vast size and randomness in their data access patterns which greatly reduces the effectiveness of the limited on-chip cache. Aimed at improving the effectiveness of the cache by mitigating the irregular data accesses, prior studies often employ the vertex tiling techniques used in traditional graph processing applications. While being effective at enhancing the cache efficiency, those approaches are often sensitive to the tiling configurations where the optimal setting heavily depends on target input datasets. Furthermore, the existing solutions require manual tuning through trial-and-error or rely on sub-optimal analytical models. In this paper, we propose Slice-and-Forge (SnF), an efficient hardware accelerator for GCNs which greatly improves the effectiveness of the limited on-chip cache. SnF chooses a tiling strategy named feature slicing that splits the features into vertical slices and processes them in the outermost loop of the execution. This particular choice results in a repetition of the identical computational patterns over irregular graph data over multiple rounds. Taking advantage of such repetitions, SnF dynamically tunes its tile size. Our experimental results reveal that SnF can achieve 1.73x higher performance in geomean compared to prior work on multi-engine settings, and 1.46x higher performance in geomean on small scale settings, without the need for off-line analyses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。