A Continuous-Time Analysis of Distributed Stochastic Gradient
- 1 January 2020
- journal article
- research article
- Published by MIT Press in Neural Computation
- Vol. 32 (1) , 36-96
Abstract
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 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 nonconvex 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 data set, where we note a surprising regularizing property of EASGD even when applied to the nondistributed case. This observation suggests alternative second-order in-time algorithms for nondistributed optimization that are competitive with momentum methods. 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 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 nonconvex 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 data set, where we note a surprising regularizing property of EASGD even when applied to the nondistributed case. This observation suggests alternative second-order in-time algorithms for nondistributed optimization that are competitive with momentum methods. 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 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 nonconvex 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 data set, where we note a surprising regularizing property of EASGD even when applied to the nondistributed case. This observation suggests alternative second-order in-time algorithms for nondistributed optimization that are competitive with momentum methods.Keywords
All Related Versions
This publication has 30 references indexed in Scilit:
- Parallel stochastic gradient algorithms for large-scale matrix completionMathematical Programming Computation, 2013
- Distributed Optimization and Statistical Learning via the Alternating Direction Method of MultipliersFoundations and Trends in Machine Learning, 2011
- Global convergence of quorum-sensing networksPhysical Review E, 2010
- How Synchronization Protects from NoisePLOS Computational Biology, 2010
- Collective atomic recoil laser as a synchronization transitionPhysical Review E, 2008
- QUORUM SENSING: Cell-to-Cell Communication in BacteriaAnnual Review of Cell and Developmental Biology, 2005
- Modular stability tools for distributed computation and controlInternational Journal of Adaptive Control and Signal Processing, 2003
- Quorum Sensing in BacteriaAnnual Review of Microbiology, 2001
- On Contraction Analysis for Non-linear SystemsAutomatica, 1998
- Acceleration of Stochastic Approximation by AveragingSIAM Journal on Control and Optimization, 1992