EventGraD: Event-Triggered Communication in Parallel Machine Learning

Soumyadip Ghosh, Bernardo Aquino, Vijay Gupta
3/12/2021
9 citations
cs.LGcs.DCeess.SY

Official code: soumyadipghosh/eventgrad (29 stars, C++, BSD-3-Clause, PyTorch, last commit 2021-12-08).

Abstract

Communication in parallel systems imposes significant overhead which often turns out to be a bottleneck in parallel machine learning. To relieve some of this overhead, in this paper, we present EventGraD - an algorithm with event-triggered communication for stochastic gradient descent in parallel machine learning.

Show full abstract

The main idea of this algorithm is to modify the requirement of communication at every iteration in standard implementations of stochastic gradient descent in parallel machine learning to communicating only when necessary at certain iterations. We provide theoretical analysis of convergence of our proposed algorithm. We also implement the proposed algorithm for data-parallel training of a popular residual neural network used for training the CIFAR-10 dataset and show that EventGraD can reduce the communication load by up to 60% while retaining the same level of accuracy. In addition, EventGraD can be combined with other approaches such as Top-K sparsification to decrease communication further while maintaining accuracy.

View on arXivView PDF

Code Implementations(1)

PyTorchBSD-3-Clause

Event-Triggered Communication in Parallel Machine Learning

295C++, CMakeDec 9, 20194 years agoBSD-3-Clause
communication-efficientdistributed-machine-learningmachine-learningmpiparallel-machine-learning+1 more

Similar Papers

Cite this paper

@article{ghosh2021eventgrad,
  title  = {EventGraD: Event-Triggered Communication in Parallel Machine Learning},
  author = {Soumyadip Ghosh and Bernardo Aquino and Vijay Gupta},
  year   = {2021},
  eprint = {2103.07454},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.07454}
}

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

Discussion