arXiv Analytics

Sign in

arXiv:2110.04175 [cs.LG]AbstractReferencesReviewsResources

RelaySum for Decentralized Deep Learning on Heterogeneous Data

Thijs Vogels, Lie He, Anastasia Koloskova, Tao Lin, Sai Praneeth Karimireddy, Sebastian U. Stich, Martin Jaggi

Published 2021-10-08, updated 2022-01-31Version 2

In decentralized machine learning, workers compute model updates on their local data. Because the workers only communicate with few neighbors without central coordination, these updates propagate progressively over the network. This paradigm enables distributed training on networks without all-to-all connectivity, helping to protect data privacy as well as to reduce the communication cost of distributed training in data centers. A key challenge, primarily in decentralized deep learning, remains the handling of differences between the workers' local data distributions. To tackle this challenge, we introduce the RelaySum mechanism for information propagation in decentralized learning. RelaySum uses spanning trees to distribute information exactly uniformly across all workers with finite delays depending on the distance between nodes. In contrast, the typical gossip averaging mechanism only distributes data uniformly asymptotically while using the same communication volume per step as RelaySum. We prove that RelaySGD, based on this mechanism, is independent of data heterogeneity and scales to many workers, enabling highly accurate decentralized deep learning on heterogeneous data. Our code is available at http://github.com/epfml/relaysgd.

Comments: Presented at NeurIPS 2021
Journal: Advances in Neural Information Processing Systems 34, 2021
Categories: cs.LG, cs.DC, math.OC, stat.ML
Related articles: Most relevant | Search more
arXiv:1906.01736 [cs.LG] (Published 2019-06-04)
Distributed Training with Heterogeneous Data: Bridging Median and Mean Based Algorithms
arXiv:2204.04452 [cs.LG] (Published 2022-04-09)
Yes, Topology Matters in Decentralized Optimization: Refined Convergence and Topology Learning under Heterogeneous Data
arXiv:1903.00091 [cs.LG] (Published 2019-02-28)
A block-random algorithm for learning on distributed, heterogeneous data