SmartSAGE:使用存储处理架构训练大规模图神经网络
SmartSAGE: Training Large-scale Graph Neural Networks using In-Storage Processing Architectures
摘要:
图神经网络(GNN)可以通过学习每个对象的表示(即,图形节点)和不同对象之间的关系(即,连接节点的边),在各种基于图形的任务中实现最先进的性能。尽管这些算法具有优势,但在生产环境中使用这些算法面临着几个挑战,因为图节点和边的数量达到数十亿到数千亿的规模,需要大量的存储空间用于训练。不幸的是,最先进的ML框架采用内存处理模型,这大大阻碍了ML从业者的生产力,因为它要求整个工作集适应DRAM容量。在这项工作中,我们首先对最先进的大规模GNN训练算法GraphSAGE进行了详细的描述。基于表征,然后我们探索了利用容量优化的NVM SSD存储内存饥饿的GNN数据的可行性,这使得大规模GNN训练超出了主存储器大小的限制。然而,鉴于DRAM和SSD之间的巨大性能差距,盲目地利用SSD作为DRAM的直接替代品会导致显著的性能损失。因此,我们开发SmartSAGE,我们的软件/硬件协同设计的基础上存储处理(ISP)架构。我们的工作表明,基于ISP的大规模GNN训练系统可以实现高容量存储和高性能,为ML从业者提供了训练大型GNN数据集的机会,而不会受到主存大小的物理限制。
英文摘要:
Graph neural networks (GNNs) can extract features by learning both the representation of each objects (i.e., graph nodes) and the relationship across different objects (i.e., the edges that connect nodes), achieving state-of-the-art performance in various graph-based tasks. Despite its strengths, utilizing these algorithms in a production environment faces several challenges as the number of graph nodes and edges amount to several billions to hundreds of billions scale, requiring substantial storage space for training. Unfortunately, state-of-the-art ML frameworks employ an in-memory processing model which significantly hampers the productivity of ML practitioners as it mandates the overall working set to fit within DRAM capacity. In this work, we first conduct a detailed characterization on a state-of-the-art, large-scale GNN training algorithm, GraphSAGE. Based on the characterization, we then explore the feasibility of utilizing capacity-optimized NVM SSDs for storing memory-hungry GNN data, which enables large-scale GNN training beyond the limits of main memory size. Given the large performance gap between DRAM and SSD, however, blindly utilizing SSDs as a direct substitute for DRAM leads to significant performance loss. We therefore develop SmartSAGE, our software/hardware co-design based on an in-storage processing (ISP) architecture. Our work demonstrates that an ISP based large-scale GNN training system can achieve both high capacity storage and high performance, opening up opportunities for ML practitioners to train large GNN datasets without being hampered by the physical limitations of main memory size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。