Adaptive Consensus Gradients Aggregation for Scaled Distributed Training

Yoni Choukroun, Shlomi Azoulay, Pavel Kisilev
11/6/2024
cs.LGcs.AIcs.DC

No official code found. Best implementation: yoniLc/AdaCons (2 stars, last commit 2024-11-17).

Abstract

Distributed machine learning has recently become a critical paradigm for training large models on vast datasets. We examine the stochastic optimization problem for deep learning within synchronous parallel computing environments under communication constraints. While averaging distributed gradients is the most widely used method for gradient estimation, whether this is the optimal strategy remains an open question. In this work, we analyze the distributed gradient aggregation process through the lens of subspace optimization. By formulating the aggregation problem as an objective-aware subspace optimization problem, we derive an efficient weighting scheme for gradients, guided by subspace coefficients. We further introduce subspace momentum to accelerate convergence while maintaining statistical unbiasedness in the aggregation. Our method demonstrates improved performance over the ubiquitous gradient averaging on multiple MLPerf tasks while remaining extremely efficient in both communicational and computational complexity.

View on arXivView PDF

Code Implementations(1)

yoniLc/AdaConsCommunity100%

Sample Implementation of the paper "Adaptive Consensus Gradients Aggregation for Scaled Distributed Training".

20PythonOct 30, 20241 years ago
data-paralleldeep-learningdistributed-trainingoptimization-algorithms

Similar Papers

Cite this paper

@article{choukroun2024adaptive,
  title  = {Adaptive Consensus Gradients Aggregation for Scaled Distributed Training},
  author = {Yoni Choukroun and Shlomi Azoulay and Pavel Kisilev},
  year   = {2024},
  eprint = {2411.03742},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.03742v1}
}

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/2411.03742.svg)](https://codeofpaper.com/paper/2411.03742)

Discussion