arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.10995math.OCcs.LG
收藏

分布随机梯度的连续时间分析

A continuous-time analysis of distributed stochastic gradient

Harvard University(哈佛大学);Massachusetts Institute of Technology(麻省理工学院)

Nicholas M. Boffi, Jean-Jacques E. Slotine

摘要:

我们分析了同步对分布式随机梯度算法的影响。通过利用生物群体感应的动力学模型的类比-其中代理之间的同步是通过与一个共同的信号通信诱导-我们量化同步如何可以显着降低噪声的幅度所感受到的个人分布式代理和他们的空间平均值。这种噪声降低又与由随机梯度近似施加的损失函数的平滑的降低相关联。通过对模型非凸目标的仿真,我们证明了耦合可以稳定更高的噪声水平并提高收敛性。我们提供了一个强凸函数的收敛性分析,推导出一个约束的预期偏差的空间平均的代理从全局最小的算法的基础上群体感应,相同的算法与动量,和弹性平均SGD(EASGD)算法。我们讨论了新算法的扩展,允许每个代理广播其当前的成功措施,并相应地塑造集体计算。我们用在CIFAR-10数据集上训练的卷积神经网络的数值实验来补充我们的理论分析,其中我们注意到EASGD的令人惊讶的正则化特性,即使应用于非分布式情况。这一观察结果表明,非分布式优化的替代二阶实时算法与动量方法具有竞争力。

英文摘要:

We analyze the effect of synchronization on distributed stochastic gradient algorithms. By exploiting an analogy with dynamical models of biological quorum sensing - where synchronization between agents is induced through communication with a common signal - we quantify how synchronization can significantly reduce the magnitude of the noise felt by the individual distributed agents and by their spatial mean. This noise reduction is in turn associated with a reduction in the smoothing of the loss function imposed by the stochastic gradient approximation. Through simulations on model non-convex objectives, we demonstrate that coupling can stabilize higher noise levels and improve convergence. We provide a convergence analysis for strongly convex functions by deriving a bound on the expected deviation of the spatial mean of the agents from the global minimizer for an algorithm based on quorum sensing, the same algorithm with momentum, and the Elastic Averaging SGD (EASGD) algorithm. We discuss extensions to new algorithms that allow each agent to broadcast its current measure of success and shape the collective computation accordingly. We supplement our theoretical analysis with numerical experiments on convolutional neural networks trained on the CIFAR-10 dataset, where we note a surprising regularizing property of EASGD even when applied to the non-distributed case. This observation suggests alternative second-order in-time algorithms for non-distributed optimization that are competitive with momentum methods.

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

↑