Pipelined Gradient Coding
Abstract
In large-scale machine learning, distributed training commonly involves multiple workers evaluating the gradients of the model on different dataset partitions.
A common challenge is the presence of straggling workers, which may significantly slow down training.
Traditional gradient coding (GC) addresses this by duplicating dataset partitions across workers, allowing for the replacement of missing gradients from stragglers.
However, GC requires workers to evaluate gradients on multiple dataset partitions in each step, potentially increasing overall training time.
In this paper, we propose to pipeline GC, such that gradient evaluation is segmented across multiple steps and each worker evaluates gradients on just a single dataset partition per step.
We develop the pipelined version for fractional repetition (FR) and cyclic repetition (CR), two representative dataset placement schemes in GC, and prove convergence guarantees for both.
Through extensive simulations and experiments on cloud infrastructure, our schemes not only significantly reduce training time but also accelerate convergence compared to GC and other baselines.
이 뉴스, 어떠셨어요?
탭 한 번으로 반응 · 로그인 불필요