Elastic Consistency: A Practical Consistency Model for Distributed Stochastic Gradient Descent
Autor: | Giorgi Nadiradze, Ilia Markov, Bapi Chatterjee, Vyacheslav Kungurtsev, Dan Alistarh |
---|---|
Rok vydání: | 2021 |
Předmět: | |
Zdroj: | Proceedings of the AAAI Conference on Artificial Intelligence. 35:9037-9045 |
ISSN: | 2374-3468 2159-5399 |
DOI: | 10.1609/aaai.v35i10.17092 |
Popis: | One key element behind the recent progress of machine learning has been the ability to train machine learning models in large-scale distributed shared-memory and message-passing environments. Most of these models are trained employing variants of stochastic gradient descent (SGD) based optimization, but most methods involve some type of consistency relaxation relative to sequential SGD, to mitigate its large communication or synchronization costs at scale. In this paper, we introduce a general consistency condition covering communication-reduced and asynchronous distributed SGD implementations. Our framework, called elastic consistency, decouples the system-specific aspects of the implementation from the SGD convergence requirements, giving a general way to obtain convergence bounds for a wide variety of distributed SGD methods used in practice. Elastic consistency can be used to re-derive or improve several previous convergence bounds in message-passing and shared-memory settings, but also to analyze new models and distribution schemes. As a direct application, we propose and analyze a new synchronization-avoiding scheduling scheme for distributed SGD, and show that it can be used to efficiently train deep convolutional models for image classification. |
Databáze: | OpenAIRE |
Externí odkaz: |