驯服图神经网络中的梯度过平滑与梯度膨胀问题
Taming Gradient Oversmoothing and Expansion in Graph Neural Networks
AI总结:
针对图神经网络过平滑瓶颈,本文发现梯度过平滑会阻碍训练优化,且残差连接会引发梯度膨胀无法实现深度GNN,提出约束每层Lipschitz界的归一化方法,可高效训练数百层残差GNN且不损失性能。
摘要:
过平滑被认为是多层图神经网络(GNNs)的主要瓶颈。已有多项研究分析了过平滑的发生机制与成因,但现有工作均未探讨过平滑状态下的优化过程。本文研究发现训练过程中存在“梯度过平滑”现象,会阻碍优化进程。进一步分析表明,常用于深度架构中改善梯度流动的残差连接,在GNN中会引入“梯度膨胀”——即梯度在多个方向上发生爆炸的现象,因此添加残差连接并不能解决GNN的深度堆叠问题。分析显示,约束每一层的Lipschitz界可抵消梯度膨胀效应。据此本文提出一种简单有效的归一化方法来防止梯度膨胀。实验结果表明,采用该归一化方法后,数百层的残差GNN可被高效训练,且性能不会下降。补充实验验证了理论分析的结论。
英文摘要:
Oversmoothing has been claimed as a primary bottleneck for multi-layered graph neural networks (GNNs). Multiple analyses have examined how and why oversmoothing occurs. However, none of the prior work addressed how optimization is performed under the oversmoothing regime. In this work, we show the presence of $\textit{gradient oversmoothing}$ preventing optimization during training. We further analyze that GNNs with residual connections, a well-known solution to help gradient flow in deep architecture, introduce $\textit{gradient expansion}$, a phenomenon of the gradient explosion in diverse directions. Therefore, adding residual connections cannot be a solution for making a GNN deep. Our analysis reveals that constraining the Lipschitz bound of each layer can neutralize the gradient expansion. To this end, we provide a simple yet effective normalization method to prevent the gradient expansion. An empirical study shows that the residual GNNs with hundreds of layers can be efficiently trained with the proposed normalization without compromising performance. Additional studies show that the empirical observations corroborate our theoretical analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。