A continuous-time analysis of distributed stochastic gradient
Preprint
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 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 which 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.Keywords
All Related Versions
This publication has 31 references indexed in Scilit:
- Deep relaxation: partial differential equations for optimizing deep neural networksResearch in the Mathematical Sciences, 2018
- Minimizing finite sums with the stochastic average gradientMathematical Programming, 2016
- Parallel stochastic gradient algorithms for large-scale matrix completionMathematical Programming Computation, 2013
- Individual differences in the rubber-hand illusion: Predicting self-reports of people's personal experiencesActa Psychologica, 2012
- Managing Diversified Portfolios2009
- Fast computation with neural oscillatorsNeurocomputing, 2006
- On partial contraction analysis for coupled nonlinear oscillatorsBiological Cybernetics, 2004
- Introductory Lectures on Convex Optimization2004
- Modular stability tools for distributed computation and controlInternational Journal of Adaptive Control and Signal Processing, 2003
- A CONVERGENCE THEOREM FOR NON NEGATIVE ALMOST SUPERMARTINGALES AND SOME APPLICATIONS**Research supported by NIH Grant 5-R01-GM-16895-03 and ONR Grant N00014-67-A-0108-0018.1971