arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.13866cs.LGstat.ML
收藏

图神经网络快速训练的可证明保证最小方差采样

Minimal Variance Sampling with Provable Guarantees for Fast Training of Graph Neural Networks

The Pennsylvania State University(宾夕法尼亚州立大学);Microsoft Bing(微软必应)

Weilin Cong, Rana Forsati, Mahmut Kandemir, Mehrdad Mahdavi

摘要:

取样方法(例如,节点式、层式或子图)已经成为加速训练大规模图神经网络(GNN)的不可或缺的策略。然而,现有的采样方法大多是基于图的结构信息,忽略了优化的动态性,这导致估计的随机梯度的方差很大。高方差问题在非常大的图中可能非常明显,这会导致收敛速度慢和泛化能力差。本文从理论上分析了抽样方法的方差,指出由于经验风险的复合结构,任何抽样方法的方差都可以分解为前向阶段的\textit{embedding approximation variance}和后向阶段的\textit{stochastic gradient variance},为了获得更快的收敛速度,需要对这两种方差进行抑制。我们提出了一个解耦的方差减少策略,采用(近似)梯度信息自适应采样节点的方差最小,并显式地减少嵌入近似引入的方差。我们从理论上和经验表明,所提出的方法,即使具有较小的小批量大小,享有更快的收敛速度,并需要更好的推广相比,现有的方法。

英文摘要:

Sampling methods (e.g., node-wise, layer-wise, or subgraph) has become an indispensable strategy to speed up training large-scale Graph Neural Networks (GNNs). However, existing sampling methods are mostly based on the graph structural information and ignore the dynamicity of optimization, which leads to high variance in estimating the stochastic gradients. The high variance issue can be very pronounced in extremely large graphs, where it results in slow convergence and poor generalization. In this paper, we theoretically analyze the variance of sampling methods and show that, due to the composite structure of empirical risk, the variance of any sampling method can be decomposed into \textit{embedding approximation variance} in the forward stage and \textit{stochastic gradient variance} in the backward stage that necessities mitigating both types of variance to obtain faster convergence rate. We propose a decoupled variance reduction strategy that employs (approximate) gradient information to adaptively sample nodes with minimal variance, and explicitly reduces the variance introduced by embedding approximation. We show theoretically and empirically that the proposed method, even with smaller mini-batch sizes, enjoys a faster convergence rate and entails a better generalization compared to the existing methods.

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

↑