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

图神经网络的稀疏分解

Sparse Decomposition of Graph Neural Networks

Huawei Noah’s Ark Lab(华为诺亚方舟实验室);McGill University(麦吉尔大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);ILLS - International Laboratory on Learning Systems(国际学习系统实验室)

Yaochen Hu, Mai Zeng, Ge Zhang, Pavel Rumiantsev, Liheng Ma, Yingxue Zhang, Mark Coates

AI总结:

针对 GNN 在线推理聚合开销大的问题,本文提出稀疏分解方法,仅用扩展邻域中精选节点的线性变换特征加权近似表示,实现随平均度和层数线性的复杂度,并在节点分类与时空预测上以相当推理时间显著提升准确率。

摘要:

图神经网络(GNN)在图表示学习中表现出优异性能,但其推理成本可能很高,原因在于聚合操作可能需要为极大量节点进行内存读取。这一推理成本是部署具有在线预测能力、以反映潜在动态节点特征的 GNN 模型的主要障碍。为解决该问题,我们提出了一种减少聚合过程中所包含节点数量的方法。我们通过稀疏分解实现这一点:学习利用扩展邻域内精心选择的节点子集的线性变换特征的加权和,来近似节点表示。该方法相对于平均节点度和图神经网络中的层数实现线性复杂度。我们提出了一种计算稀疏分解最优参数的算法,以确保对原始 GNN 模型的准确近似,并给出了减少训练时间、改进学习过程的有效策略。通过大量实验,我们证明本方法优于其他面向推理加速设计的基线方法;在节点分类和时空预测任务上,本方法在推理时间相当的情况下取得了显著的准确率提升。

英文摘要:

Graph Neural Networks (GNN) exhibit superior performance in graph representation learning, but their inference cost can be high, due to an aggregation operation that can require a memory fetch for a very large number of nodes. This inference cost is the major obstacle to deploying GNN models with \emph{online prediction} to reflect the potentially dynamic node features. To address this, we propose an approach to reduce the number of nodes that are included during aggregation. We achieve this through a sparse decomposition, learning to approximate node representations using a weighted sum of linearly transformed features of a carefully selected subset of nodes within the extended neighbourhood. The approach achieves linear complexity with respect to the average node degree and the number of layers in the graph neural network. We introduce an algorithm to compute the optimal parameters for the sparse decomposition, ensuring an accurate approximation of the original GNN model, and present effective strategies to reduce the training time and improve the learning process. We demonstrate via extensive experiments that our method outperforms other baselines designed for inference speedup, achieving significant accuracy gains with comparable inference times for both node classification and spatio-temporal forecasting tasks.

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

↑