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

面向科学应用的图神经网络操作级性能基准测试

Operation-Level Performance Benchmarking of Graph Neural Networks for Scientific Applications

Argonne National Laboratory(阿贡国家实验室);University of Michigan(密歇根大学)

Ryien Hosseini, Filippo Simini, Venkatram Vishwanath

摘要:

随着图神经网络(GNN)在科学机器学习中的普及,其训练和推理效率变得越来越重要。此外,深度学习领域作为一个整体,正朝着更广泛和更深入的网络发展,数据规模不断增加,以至于经常遇到硬件瓶颈。新兴的专业硬件平台为这个问题提供了令人兴奋的解决方案。在本文中,我们系统地分析和选择低层次的操作相关的GNN的科学计算中实现的Pytorch几何软件框架。然后在NVIDIA A100 GPU上针对输入值的多种组合(包括张量稀疏性)对这些值进行严格的基准测试。然后我们分析每个操作的结果。在高层次上,我们得出结论,在NVIDIA系统上:(1)诸如内存效率低下等混淆瓶颈通常比数据稀疏性更主导运行时成本,(2)原生Pytorch操作通常与其Pytorch Geometric等效操作一样或更具竞争力,特别是在低到中等水平的输入数据稀疏性时,以及(3)对于现有技术的GNN体系结构来说重要的许多操作很少或没有针对稀疏性的优化。我们希望这些结果可以作为那些在专用硬件上开发这些操作的人的基线,并且我们随后的分析有助于促进未来基于软件和硬件的这些操作的优化,从而整体上可扩展GNN性能。

英文摘要:

As Graph Neural Networks (GNNs) increase in popularity for scientific machine learning, their training and inference efficiency is becoming increasingly critical. Additionally, the deep learning field as a whole is trending towards wider and deeper networks, and ever increasing data sizes, to the point where hard hardware bottlenecks are often encountered. Emerging specialty hardware platforms provide an exciting solution to this problem. In this paper, we systematically profile and select low-level operations pertinent to GNNs for scientific computing implemented in the Pytorch Geometric software framework. These are then rigorously benchmarked on NVIDIA A100 GPUs for several various combinations of input values, including tensor sparsity. We then analyze these results for each operation. At a high level, we conclude that on NVIDIA systems: (1) confounding bottlenecks such as memory inefficiency often dominate runtime costs moreso than data sparsity alone, (2) native Pytorch operations are often as or more competitive than their Pytorch Geometric equivalents, especially at low to moderate levels of input data sparsity, and (3) many operations central to state-of-the-art GNN architectures have little to no optimization for sparsity. We hope that these results serve as a baseline for those developing these operations on specialized hardware and that our subsequent analysis helps to facilitate future software and hardware based optimizations of these operations and thus scalable GNN performance as a whole.

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

↑