BiFeat:通过图形特征Quantization增强GNN训练
BiFeat: Supercharge GNN Training via Graph Feature Quantization
摘要:
图神经网络(GNNs)是一种很有前途的非欧数据应用方法。然而,在具有数亿个节点的大规模图上训练GNN既耗费资源又耗时。与DNN不同,GNN通常具有更大的内存占用,因此GPU内存容量和PCIe带宽是GNN训练中的主要资源瓶颈。为了解决这个问题,我们提出了BiFeat:一种图形特征量化方法,通过显着减少内存占用和PCIe带宽要求来加速GNN训练,以便GNN可以充分利用GPU计算能力。我们的关键见解是,与DNN不同,GNN不太容易因量化而导致输入特征的信息丢失。我们确定了图特征量化中的主要精度影响因素,并从理论上证明了BiFeat训练收敛到一个网络,其中损失在未压缩网络的最佳损失的$ε$范围内。我们使用几种流行的GNN模型和数据集对BiFeat进行了广泛的评估,包括最大的公共图形数据集MAG 240 M上的GraphSAGE。结果表明,BiFeat实现了超过30的压缩比,并将GNN训练速度提高了200%-320%,而精度损失较小。特别是,BiFeat仅使用四个GPU就在一小时内在MAG 240 M上训练GraphSAGE。
英文摘要:
Graph Neural Networks (GNNs) is a promising approach for applications with nonEuclidean data. However, training GNNs on large scale graphs with hundreds of millions nodes is both resource and time consuming. Different from DNNs, GNNs usually have larger memory footprints, and thus the GPU memory capacity and PCIe bandwidth are the main resource bottlenecks in GNN training. To address this problem, we present BiFeat: a graph feature quantization methodology to accelerate GNN training by significantly reducing the memory footprint and PCIe bandwidth requirement so that GNNs can take full advantage of GPU computing capabilities. Our key insight is that unlike DNN, GNN is less prone to the information loss of input features caused by quantization. We identify the main accuracy impact factors in graph feature quantization and theoretically prove that BiFeat training converges to a network where the loss is within $ε$ of the optimal loss of uncompressed network. We perform extensive evaluation of BiFeat using several popular GNN models and datasets, including GraphSAGE on MAG240M, the largest public graph dataset. The results demonstrate that BiFeat achieves a compression ratio of more than 30 and improves GNN training speed by 200%-320% with marginal accuracy loss. In particular, BiFeat achieves a record by training GraphSAGE on MAG240M within one hour using only four GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。