arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.11500cs.LG
收藏

切片输入特征以加速深度学习:以图神经网络为例的案例研究

Slicing Input Features to Accelerate Deep Learning: A Case Study with Graph Neural Networks

College of Software Engineering, Southeast University(东南大学软件学院);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院)

Zhengjia Xu, Dingyang Lyu, Jinghui Zhang

AI总结:

本文提出SliceGCN,一种特征切片的分布式大规模图学习方法,通过将节点特征分配给多个GPU处理并拼接完整表示,避免mini-batch训练的精度损失并减少GPU间通信,同时引入特征融合和切片编码缓解精度下降,实验证明其在大型数据集上提升效率且训练更稳定。

摘要:

随着图规模不断增大,全批次GNN训练在单GPU内存下变得困难。因此,为了增强GNN训练的可扩展性,一些研究提出了基于采样的mini-batch训练和分布式图学习。然而,这些方法仍存在性能下降和通信开销大等缺陷。本文提出了SliceGCN,一种特征切片的分布式大规模图学习方法。SliceGCN对节点特征进行切片,每个计算设备(即GPU)处理部分特征。在每个GPU处理完其份额后,获得部分表示并拼接形成完整表示,使得单GPU内存能够处理整个图结构。这旨在避免mini-batch训练中因图结构不完整而导致的精度损失,并减少消息传递(GNN的前向传播过程)期间的GPU间通信。为了研究和缓解因特征切片可能导致的精度下降,本文提出了特征融合和切片编码。在六个节点分类数据集上进行了实验,得出了一些有趣的分析结果。结果表明,虽然SliceGCN在较小数据集上并未提升效率,但在较大数据集上确实提高了效率。此外,我们发现SliceGCN及其变体具有更好的收敛性,特征融合和切片编码能使训练更稳定,减少精度波动,且本研究还发现SliceGCN的设计具有潜在的参数高效性。

英文摘要:

As graphs grow larger, full-batch GNN training becomes hard for single GPU memory. Therefore, to enhance the scalability of GNN training, some studies have proposed sampling-based mini-batch training and distributed graph learning. However, these methods still have drawbacks, such as performance degradation and heavy communication. This paper introduces SliceGCN, a feature-sliced distributed large-scale graph learning method. SliceGCN slices the node features, with each computing device, i.e., GPU, handling partial features. After each GPU processes its share, partial representations are obtained and concatenated to form complete representations, enabling a single GPU's memory to handle the entire graph structure. This aims to avoid the accuracy loss typically associated with mini-batch training (due to incomplete graph structures) and to reduce inter-GPU communication during message passing (the forward propagation process of GNNs). To study and mitigate potential accuracy reductions due to slicing features, this paper proposes feature fusion and slice encoding. Experiments were conducted on six node classification datasets, yielding some interesting analytical results. These results indicate that while SliceGCN does not enhance efficiency on smaller datasets, it does improve efficiency on larger datasets. Additionally, we found that SliceGCN and its variants have better convergence, feature fusion and slice encoding can make training more stable, reduce accuracy fluctuations, and this study also discovered that the design of SliceGCN has a potentially parameter-efficient nature.

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

↑