arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.02622cs.LGcs.AI
收藏

论图神经网络的初始化

On the Initialization of Graph Neural Networks

The Hong Kong Polytechnic University(香港理工大学);Shanghai Jiao Tong University(上海交通大学);Amazon AI(亚马逊人工智能);Amazon Shanghai AI Lab(亚马逊上海人工智能实验室)

Jiahang Li, Yakun Song, Xiang Song, David Paul Wipf

AI总结:

针对经典初始化忽视图结构与消息传递导致 GNN 方差不稳定的问题,本文提出 Virgo 初始化方法,并在 15 个数据集的三类任务上验证其性能与方差稳定性。

摘要:

图神经网络(GNN)已在各类应用的图表示学习中展现出巨大潜力。其核心学习过程需要初始化每个 GNN 层内的模型权重矩阵,这通常通过 Xavier 初始化等经典初始化方法完成。然而,这些方法最初的动机是稳定前馈神经网络(FNN)和卷积神经网络(CNN)各层之间隐藏嵌入与梯度的方差,以避免梯度消失并维持稳定的信息流。相比之下,在 GNN 场景中,经典初始化忽视了输入图结构和消息传递对方差的影响。本文分析了 GNN 各层前向与反向传播的方差,并证明 GNN 初始化的方差不稳定性源于激活函数、隐藏维度、图结构和消息传递的共同作用。为更好地考虑这些影响因素,我们提出了一种用于降低 GNN 优化中方差不稳定性的新初始化方法 Virgo,它自然地趋向于使连续层之间的前向和反向方差相等。我们在 15 个数据集上进行了综合实验,结果表明 Virgo 能在节点分类、链接预测和图分类任务上带来更优的模型性能以及初始化时更稳定的方差。代码位于 https://github.com/LspongebobJH/virgo_icml2023。

英文摘要:

Graph Neural Networks (GNNs) have displayed considerable promise in graph representation learning across various applications. The core learning process requires the initialization of model weight matrices within each GNN layer, which is typically accomplished via classic initialization methods such as Xavier initialization. However, these methods were originally motivated to stabilize the variance of hidden embeddings and gradients across layers of Feedforward Neural Networks (FNNs) and Convolutional Neural Networks (CNNs) to avoid vanishing gradients and maintain steady information flow. In contrast, within the GNN context classical initializations disregard the impact of the input graph structure and message passing on variance. In this paper, we analyze the variance of forward and backward propagation across GNN layers and show that the variance instability of GNN initializations comes from the combined effect of the activation function, hidden dimension, graph structure and message passing. To better account for these influence factors, we propose a new initialization method for Variance Instability Reduction within GNN Optimization (Virgo), which naturally tends to equate forward and backward variances across successive layers. We conduct comprehensive experiments on 15 datasets to show that Virgo can lead to superior model performance and more stable variance at initialization on node classification, link prediction and graph classification tasks. Codes are in https://github.com/LspongebobJH/virgo_icml2023.

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

↑