paper-with-me

Papers

Distributed Stochastic Gradient Descent with Staleness: A Stochastic Delay Differential Equation Based Framework

2024-06-17 · Siyuan Yu, Wei Chen, H. Vincent Poor

Distributed stochastic gradient descent (SGD) has attracted considerable recent attention due to its potential for scaling computational resources, reducing training time, and helping protect user privacy in machine learning. However, the staggers and limited bandwidth may induce random computational/communication delays, thereby severely hindering the learning process. Therefore, how to accelerate asynchronous SGD by efficiently scheduling multiple workers is an important issue. In this paper, a unified framework is presented to analyze and optimize the convergence of asynchronous SGD based on stochastic delay differential equations (SDDEs) and the Poisson approximation of aggregated gradient arrivals. In particular, we present the run time and staleness of distributed SGD without a memorylessness assumption on the computation times. Given the learning rate, we reveal the relevant SDDE's damping coefficient and its delay statistics, as functions of the number of activated clients, staleness threshold, the eigenvalues of the Hessian matrix of the objective function, and the overall computational/communication delay. The formulated SDDE allows us to present both the distributed SGD's convergence condition and speed by calculating its characteristic roots, thereby optimizing the scheduling policies for asynchronous/event-triggered SGD. It is interestingly shown that increasing the number of activated workers does not necessarily accelerate distributed SGD due to staleness. Moreover, a small degree of staleness does not necessarily slow down the convergence, while a large degree of staleness will result in the divergence of distributed SGD. Numerical results demonstrate the potential of our SDDE framework, even in complex learning tasks with non-convex objective functions.

📄 PDF Abstract BibTeX arXiv:2406.11159

Code (0)

등록된 구현이 없습니다.

Tasks

Scheduling

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Slow and Stale Gradients Can Win the Race: Error-Runtime Trade-offs in Distributed SGD

2018-03-03 · Sanghamitra Dutta, Gauri Joshi, Soumyadip Ghosh, Parijat Dube 외

Distributed Stochastic Gradient Descent (SGD) when run in a synchronous manner, suffers from delays in waiting for the slowest learners (stragglers). Asynchronous methods can alleviate stragglers, but cause gradient stal…

Toward Understanding the Impact of Staleness in Distributed Machine Learning

2018-10-08 · ICLR 2019 5 · Wei Dai, Yi Zhou, Nanqing Dong, Hao Zhang 외

Many distributed machine learning (ML) systems adopt the non-synchronous execution in order to alleviate the network communication bottleneck, resulting in stale parameters that do not reflect the latest updates. Despite…

BIG-bench Machine LearningDiversity

Taming Momentum in a Distributed Asynchronous Environment

2019-07-26 · Ido Hakimi, Saar Barkai, Moshe Gabel, Assaf Schuster

Although distributed computing can significantly reduce the training time of deep neural networks, scaling the training process while maintaining high efficiency and final accuracy is challenging. Distributed asynchronou…

16kDistributed Computing

Gap Aware Mitigation of Gradient Staleness

2019-09-24 · Saar Barkai, Ido Hakimi, Assaf Schuster

Cloud computing is becoming increasingly popular as a platform for distributed training of deep neural networks. Synchronous stochastic gradient descent (SSGD) suffers from substantial slowdowns due to stragglers if the …

Cloud Computing

Gap-Aware Mitigation of Gradient Staleness

2020-05-01 · ICLR 2020 1 · Saar Barkai, Ido Hakimi, Assaf Schuster

Cloud computing is becoming increasingly popular as a platform for distributed training of deep neural networks. Synchronous stochastic gradient descent (SSGD) suffers from substantial slowdowns due to stragglers if the …

Cloud Computing