Skip to main content
QUICK REVIEW

[Paper Review] Decentralized Federated Averaging

Tong Sun, Dongsheng Li|arXiv (Cornell University)|Apr 23, 2021
Stochastic Gradient Optimization TechniquesComputer Science23 citations
TL;DR

This paper proposes Decentralized Federated Averaging with Momentum (DFedAvgM), a communication-efficient, privacy-preserving alternative to centralized FedAvg that replaces the central server with peer-to-peer client communication over an undirected graph. It integrates momentum and quantization to reduce communication costs while proving convergence under nonconvex and Polyak-Łojasiewicz (PŁ) conditions, with empirical results showing performance on par with FedAvg but with significantly lower communication overhead and improved privacy.

ABSTRACT

Federated averaging (FedAvg) is a communication efficient algorithm for the distributed training with an enormous number of clients. In FedAvg, clients keep their data locally for privacy protection; a central parameter server is used to communicate between clients. This central server distributes the parameters to each client and collects the updated parameters from clients. FedAvg is mostly studied in centralized fashions, which requires massive communication between server and clients in each communication. Moreover, attacking the central server can break the whole system's privacy. In this paper, we study the decentralized FedAvg with momentum (DFedAvgM), which is implemented on clients that are connected by an undirected graph. In DFedAvgM, all clients perform stochastic gradient descent with momentum and communicate with their neighbors only. To further reduce the communication cost, we also consider the quantized DFedAvgM. We prove convergence of the (quantized) DFedAvgM under trivial assumptions; the convergence rate can be improved when the loss function satisfies the PŁ property. Finally, we numerically verify the efficacy of DFedAvgM.

Motivation & Objective

  • To address the communication bottleneck and privacy risks in centralized Federated Averaging (FedAvg), where a central server coordinates all client updates.
  • To eliminate reliance on a central server, which is a single point of failure and privacy vulnerability in FedAvg.
  • To develop a decentralized alternative that maintains training efficiency while reducing communication costs between clients.
  • To integrate momentum and quantization into decentralized federated learning for improved convergence and reduced bandwidth usage.
  • To theoretically establish convergence guarantees for DFedAvgM under general nonconvex and PŁ conditions, and empirically validate its performance on DNNs.

Proposed method

  • Proposes DFedAvgM, a decentralized variant of FedAvg where clients are connected via an undirected graph and perform local SGD with momentum.
  • Each client performs multiple local updates using its own data and communicates only with its neighbors, eliminating the need for a central parameter server.
  • Introduces a quantized version of DFedAvgM, where clients exchange compressed (quantized) model parameters to further reduce communication costs.
  • Theoretical analysis shows that the convergence rate of DFedAvgM matches that of decentralized SGD (DSGD) under standard nonconvex assumptions.
  • Under the Polyak-Łojasiewicz (PŁ) condition, the convergence rate of DFedAvgM is faster than the general case, indicating improved optimization efficiency.
  • Derives a sufficient condition for reducing communication costs, linking it to the graph structure and local training dynamics.

Experimental results

Research questions

  • RQ1Can decentralized federated learning with momentum achieve comparable convergence to FedAvg while reducing communication costs and improving privacy?
  • RQ2Does integrating quantization into decentralized federated learning preserve model performance and convergence while minimizing bandwidth usage?
  • RQ3What is the theoretical convergence behavior of decentralized FedAvg with momentum under nonconvex and PŁ conditions?
  • RQ4How does the graph structure connecting clients influence the convergence rate of DFedAvgM?
  • RQ5Can DFedAvgM maintain robustness and efficiency in both IID and Non-IID data settings?

Key findings

  • DFedAvgM achieves a convergence rate comparable to decentralized SGD (DSGD) under general nonconvex assumptions, with no degradation in performance.
  • Under the PŁ condition, DFedAvgM exhibits a faster sublinear convergence rate, indicating improved optimization efficiency for certain loss landscapes.
  • The quantized version of DFedAvgM maintains strong performance, with minimal accuracy drop even at low bit precision (e.g., 16-bit), demonstrating effective communication compression.
  • Empirical results show that DFedAvgM matches FedAvg in test accuracy and loss over communication rounds, but significantly reduces communication cost in terms of bits transmitted.
  • Increasing local epochs beyond one often degrades performance in DFedAvgM, especially under quantization, suggesting a trade-off between local computation and communication efficiency.
  • Membership inference attacks (MIA) show that DFedAvgM better protects data privacy than FedAvg, as the absence of a central server reduces the risk of model inversion and data leakage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.