Gradient Energy Matching for Distributed Asynchronous Gradient Descent

Joeri Hermans, Gilles Louppe
5/22/2018
5 citations
cs.LGcs.DCstat.ML

Official code: montefiore-institute/gradient-energy-matching (19 stars, Python, last commit 2018-05-25).

Abstract

Distributed asynchronous SGD has become widely used for deep learning in large-scale systems, but remains notorious for its instability when increasing the number of workers. In this work, we study the dynamics of distributed asynchronous SGD under the lens of Lagrangian mechanics.

Show full abstract

Using this description, we introduce the concept of energy to describe the optimization process and derive a sufficient condition ensuring its stability as long as the collective energy induced by the active workers remains below the energy of a target synchronous process. Making use of this criterion, we derive a stable distributed asynchronous optimization procedure, GEM, that estimates and maintains the energy of the asynchronous system below or equal to the energy of sequential SGD with momentum. Experimental results highlight the stability and speedup of GEM compared to existing schemes, even when scaling to one hundred asynchronous workers. Results also indicate better generalization compared to the targeted SGD with momentum.

View on arXivView PDF

Code Implementations(1)

Manuscript and code for the paper "Gradient Energy Matching for Distributed Asynchronous Gradient Descent".

194Python, ShellMay 22, 20188 years ago
deep-learningmachine-learningoptimization

Similar Papers

Cite this paper

@article{hermans2018gradient,
  title  = {Gradient Energy Matching for Distributed Asynchronous Gradient Descent},
  author = {Joeri Hermans and Gilles Louppe},
  year   = {2018},
  eprint = {1805.08469},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.08469}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1805.08469.svg)](https://codeofpaper.com/paper/1805.08469)

Discussion