Litcius/Paper detail

On the Benefits of Multiple Gossip Steps in Communication-Constrained Decentralized Federated Learning

Abolfazl Hashemi, Anish Acharya, Rudrajit Das, Haris Vikalo, Sujay Sanghavi, Inderjit S. Dhillon

2021IEEE Transactions on Parallel and Distributed Systems36 citationsDOI

Abstract

Federated learning (FL) is an emerging collaborative machine learning (ML) framework that enables training of predictive models in a distributed fashion where the communication among the participating nodes are facilitated by a central server. To deal with the communication bottleneck at the server, decentralized FL (DFL) methods advocate rely on local communication of nodes with their neighbors according to a specific communication network. In DFL, it is common algorithmic practice to have nodes interleave (local) gradient descent iterations with gossip (i.e., averaging over the network) steps. As the size of the ML models grows, the limited communication bandwidth among the nodes does not permit communication of full-precision messages; hence, it is becoming increasingly common to require that messages be <i>lossy, compressed</i> versions of the local parameters. The requirement of communicating compressed messages gives rise to the important question: <i>given a fixed communication budget, what should be our communication strategy to minimize the (training) loss as much as possible?</i> In this article, we explore this direction, and show that in such compressed DFL settings, there are benefits to having <i>multiple</i> gossip steps between subsequent gradient iterations, even when the cost of doing so is appropriately accounted for, e.g., by means of reducing the precision of compressed information. In particular, we show that having <inline-formula><tex-math notation="LaTeX">${\mathcal O}(\log \frac{1}{\epsilon })$</tex-math></inline-formula> gradient iterations with constant step size - and <inline-formula><tex-math notation="LaTeX">${\mathcal O}(\log \frac{1}{\epsilon })$</tex-math></inline-formula> gossip steps between every pair of these iterations - enables convergence to within <inline-formula><tex-math notation="LaTeX">$\epsilon$</tex-math></inline-formula> of the optimal value for a class of non-convex problems that arise in the training of deep learning models, namely, smooth non-convex objectives satisfying Polyak-Łojasiewicz condition. Empirically, we show that our proposed scheme bridges the gap between centralized gradient descent and DFL on various machine learning tasks across different network topologies and compression operators.

Topics & Concepts

GossipComputer scienceBottleneckCommunication complexityLossy compressionNotationDistributed learningBandwidth (computing)Gradient descentTheoretical computer scienceDistributed computingAlgorithmComputer networkMathematicsArtificial intelligenceArtificial neural networkPedagogyPsychologyEmbedded systemSocial psychologyArithmeticPrivacy-Preserving Technologies in DataStochastic Gradient Optimization TechniquesDistributed Control Multi-Agent Systems