缓存算子重排序:面向快速GNN训练的统一视角
Cached Operator Reordering: A Unified View for Fast GNN Training
AI总结:
该研究针对GNN稀疏计算的性能优化难题,提出统一视角下带缓存的自适应算子重排序策略,在GCN和GAT上分别实现最高2.43倍和1.94倍的加速,且节省内存、易跨硬件部署。
摘要:
图神经网络(GNN)是处理结构化图数据、解决节点分类、图分类及聚类等任务的有力工具。然而,与传统深度神经网络相比,GNN计算的稀疏特性给性能优化带来了新的挑战。我们通过提出GNN计算、I/O与内存的统一视角来应对这些挑战。通过分析两种广泛使用的GNN层——图卷积网络(GCN)层和图注意力(GAT)层的计算图,我们提出了替代计算策略。我们提出了带缓存的自适应算子重排序方法,与当前最优方法相比,该方法在GCN上实现了最高2.43倍的加速。此外,对GAT的不同缓存方案的探索实现了最高1.94倍的加速。所提出的优化方法节省内存,易于在各类硬件平台上实现,并且有望缓解大规模GNN模型训练中的性能瓶颈。
英文摘要:
Graph Neural Networks (GNNs) are a powerful tool for handling structured graph data and addressing tasks such as node classification, graph classification, and clustering. However, the sparse nature of GNN computation poses new challenges for performance optimization compared to traditional deep neural networks. We address these challenges by providing a unified view of GNN computation, I/O, and memory. By analyzing the computational graphs of the Graph Convolutional Network (GCN) and Graph Attention (GAT) layers -- two widely used GNN layers -- we propose alternative computation strategies. We present adaptive operator reordering with caching, which achieves a speedup of up to 2.43x for GCN compared to the current state-of-the-art. Furthermore, an exploration of different caching schemes for GAT yields a speedup of up to 1.94x. The proposed optimizations save memory, are easily implemented across various hardware platforms, and have the potential to alleviate performance bottlenecks in training large-scale GNN models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。