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

梯度噪声卷积(GNC):分布式大批量SGD的平滑损失函数

Gradient Noise Convolution (GNC): Smoothing Loss Function for Distributed Large-Batch SGD

Toshiba Corporation(东芝公司);The University of Tokyo(东京大学);RIKEN(理化学研究所)

Kosuke Haruki, Taiji Suzuki, Yohei Hamakawa, Takeshi Toda, Ryuji Sakai, Masahiro Ozawa, Mitsuhiro Kimura

摘要:

大批量随机梯度下降(SGD)由于其训练时间效率而被广泛用于分布式深度学习中的训练,然而,极大批量SGD导致泛化能力差并且容易收敛到尖锐的最小值,这阻碍了朴素大规模数据并行SGD(DP-SGD)收敛到良好的最小值。为了克服这个困难,我们提出了梯度噪声卷积(GNC),它有效地平滑的损失函数的尖锐的最小值。对于DP-SGD,GNC利用所谓的梯度噪声,其由随机梯度变化引起并卷积到损失函数作为平滑效果。GNC计算可以通过简单地计算每个并行工作者上的随机梯度并合并它们来执行,因此非常容易实现。由于与梯度噪声的卷积,梯度噪声倾向于沿着损失函数的更尖锐的方向传播,GNC可以有效地平滑尖锐的最小值并实现更好的泛化,而各向同性随机噪声不能。我们通过将GNC与各向同性随机噪声进行比较来实证显示这种效果,并表明它在大规模深度神经网络优化中实现了最先进的泛化性能。

英文摘要:

Large-batch stochastic gradient descent (SGD) is widely used for training in distributed deep learning because of its training-time efficiency, however, extremely large-batch SGD leads to poor generalization and easily converges to sharp minima, which prevents naive large-scale data-parallel SGD (DP-SGD) from converging to good minima. To overcome this difficulty, we propose gradient noise convolution (GNC), which effectively smooths sharper minima of the loss function. For DP-SGD, GNC utilizes so-called gradient noise, which is induced by stochastic gradient variation and convolved to the loss function as a smoothing effect. GNC computation can be performed by simply computing the stochastic gradient on each parallel worker and merging them, and is therefore extremely easy to implement. Due to convolving with the gradient noise, which tends to spread along a sharper direction of the loss function, GNC can effectively smooth sharp minima and achieve better generalization, whereas isotropic random noise cannot. We empirically show this effect by comparing GNC with isotropic random noise, and show that it achieves state-of-the-art generalization performance for large-scale deep neural network optimization.

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

↑