arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.15575cs.LGcs.AIstat.ML
收藏

Sketch-GNN:具有亚线性训练复杂度的可扩展图神经网络

Sketch-GNN: Scalable Graph Neural Networks with Sublinear Training Complexity

University of Maryland(马里兰大学)

Mucong Ding, Tahseen Rabbani, Bang An, Evan Z Wang, Furong Huang

AI总结:

针对图神经网络训练复杂度随图规模线性增长的问题,提出基于多项式张量草图理论的Sketch-GNN,结合可训练局部敏感哈希技术,实现亚线性训练复杂度,在大规模图基准上取得有竞争力的性能。

摘要:

图神经网络(GNNs)被广泛应用于节点分类等图学习问题。当将GNN的底层图扩展到更大规模时,我们要么被迫在完整图上训练并将全图邻接关系和节点嵌入保存在内存中(这通常不可行),要么对图进行小批量采样(这会导致计算复杂度随GNN层数呈指数增长)。人们提出了各种基于采样和基于历史嵌入的方法来避免这种复杂度的指数增长。然而,这些解决方案都没有消除对图规模的线性依赖。本文提出了一种基于草图(sketch)的算法,通过在图邻接关系和节点嵌入的少量紧凑草图之上训练GNN,其训练时间和内存随图规模呈亚线性增长。基于多项式张量草图(PTS)理论,我们的框架提供了一种用于对GNN中的非线性激活和图卷积矩阵进行草图化的新协议,这与现有对神经网络中的线性权重或梯度进行草图化的方法不同。此外,我们开发了一种可训练的局部敏感哈希(LSH)技术,用于提升草图的质量。在大规模图基准测试上的实验表明,与全尺寸GNN相比,我们的Sketch-GNN具有可扩展性和具有竞争力的性能。

英文摘要:

Graph Neural Networks (GNNs) are widely applied to graph learning problems such as node classification. When scaling up the underlying graphs of GNNs to a larger size, we are forced to either train on the complete graph and keep the full graph adjacency and node embeddings in memory (which is often infeasible) or mini-batch sample the graph (which results in exponentially growing computational complexities with respect to the number of GNN layers). Various sampling-based and historical-embedding-based methods are proposed to avoid this exponential growth of complexities. However, none of these solutions eliminates the linear dependence on graph size. This paper proposes a sketch-based algorithm whose training time and memory grow sublinearly with respect to graph size by training GNNs atop a few compact sketches of graph adjacency and node embeddings. Based on polynomial tensor-sketch (PTS) theory, our framework provides a novel protocol for sketching non-linear activations and graph convolution matrices in GNNs, as opposed to existing methods that sketch linear weights or gradients in neural networks. In addition, we develop a locality-sensitive hashing (LSH) technique that can be trained to improve the quality of sketches. Experiments on large-graph benchmarks demonstrate the scalability and competitive performance of our Sketch-GNNs versus their full-size GNN counterparts.

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

↑