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

WaveGAS:用于扩展图神经网络的波形松弛方法

WaveGAS: Waveform Relaxation for Scaling Graph Neural Networks

Technical University of Munich(慕尼黑工业大学);IBM Research(IBM研究院);University of Toronto(多伦多大学);University of Bayreuth(拜罗伊特大学)

Jana Vatter, Mykhaylo Zayats, Marcos Martínez Galindo, Vanessa López, Ruben Mayer, Hans-Arno Jacobsen, Hoang Thanh Lam

AI总结:

针对GAS中历史嵌入过时导致误差累积的问题,提出WaveGAS,通过多次前向传播细化近似并引入梯度跟踪,提升GNN训练精度,甚至超越全图训练方法。

摘要:

随着现实世界图规模的不断增长,人们开发了许多技术来克服训练图神经网络(GNN)时的资源限制。其中一种方法,GNNAutoScale(GAS),利用图划分来实现在受限GPU内存下的训练。GAS还存储历史嵌入向量,这些向量从其他分区中的一跳邻居检索,确保跨分区边界捕获关键信息。与GAS估计的嵌入相比,来自前一次训练迭代的历史嵌入是过时的,导致训练算法的近似误差。此外,这些误差在多层中累积,导致节点嵌入次优。为了解决这一缺陷,我们提出两项改进:首先,WaveGAS,受波形松弛启发,在反向传播之前在GAS内执行多次前向传播,细化历史嵌入和梯度的近似以提高准确性;其次,一种梯度跟踪方法,在训练过程中存储并利用更准确的历史梯度。实验结果表明,WaveGAS增强了GAS并实现了更好的准确性,甚至优于在全图上训练的方法,这得益于其对节点嵌入的稳健估计。

英文摘要:

With the ever-growing size of real-world graphs, numerous techniques to overcome resource limitations when training Graph Neural Networks (GNNs) have been developed. One such approach, GNNAutoScale (GAS), uses graph partitioning to enable training under constrained GPU memory. GAS also stores historical embedding vectors, which are retrieved from one-hop neighbors in other partitions, ensuring critical information is captured across partition boundaries. The historical embeddings which come from the previous training iteration are stale compared to the GAS estimated embeddings, resulting in approximation errors of the training algorithm. Furthermore, these errors accumulate over multiple layers, leading to suboptimal node embeddings. To address this shortcoming, we propose two enhancements: first, WaveGAS, inspired by waveform relaxation, performs multiple forward passes within GAS before the backward pass, refining the approximation of historical embeddings and gradients to improve accuracy; second, a gradient-tracking method that stores and utilizes more accurate historical gradients during training. Empirical results show that WaveGAS enhances GAS and achieves better accuracy, even outperforming methods that train on full graphs, thanks to its robust estimation of node embeddings.

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

↑