Skip to main content
QUICK REVIEW

[Paper Review] D-Cliques: Compensating NonIIDness in Decentralized Federated Learning with Topology.

Aurélien Bellet, Anne-Marie Kermarrec|arXiv (Cornell University)|Apr 15, 2021
Privacy-Preserving Technologies in DataComputer Science20 references11 citations
TL;DR

D-Cliques proposes a decentralized federated learning topology that groups nodes into interconnected cliques to mitigate gradient bias from non-IID data, especially local class imbalance. By aligning local joint distributions with the global class distribution and adapting decentralized SGD, D-Cliques achieves convergence speed comparable to fully connected networks while reducing edges by 98% and messages by 96% in a 1000-node setup.

ABSTRACT

The convergence speed of machine learning models trained with Federated Learning is significantly affected by non-independent and identically distributed (non-IID) data partitions, even more so in a fully decentralized setting without a central server. In this paper, we show that the impact of local class bias, an important type of data non-IIDness, can be significantly reduced by carefully designing the underlying communication topology. We present D-Cliques, a novel topology that reduces gradient bias by grouping nodes in interconnected cliques such that the local joint distribution in a clique is representative of the global class distribution. We also show how to adapt the updates of decentralized SGD to obtain unbiased gradients and implement an effective momentum with D-Cliques. Our empirical evaluation on MNIST and CIFAR10 demonstrates that our approach provides similar convergence speed as a fully-connected topology with a significant reduction in the number of edges and messages. In a 1000-node topology, D-Cliques requires 98% less edges and 96% less total messages, with further possible gains using a small-world topology across cliques.

Motivation & Objective

  • Address the challenge of non-IID data in decentralized federated learning, where local data distributions deviate significantly from the global distribution.
  • Reduce gradient bias caused by local class imbalance, a major source of convergence degradation in decentralized settings.
  • Design a communication topology that preserves global data distribution representativeness at the clique level without relying on a central server.
  • Enable unbiased gradient updates and effective momentum in decentralized SGD using the proposed topology.
  • Minimize communication overhead while maintaining model convergence speed comparable to fully connected topologies.

Proposed method

  • Structure the communication network into interconnected cliques where each clique contains nodes with locally representative joint data distributions.
  • Ensure that the union of data across nodes in a clique approximates the global class distribution, reducing local bias.
  • Adapt decentralized SGD to use clique-level statistics for gradient updates, enabling unbiased optimization despite non-IID data.
  • Integrate momentum into the update rule using local and clique-level gradient information to accelerate convergence.
  • Construct a small-world topology across cliques to further reduce long-range communication costs while preserving connectivity.

Experimental results

Research questions

  • RQ1Can a decentralized communication topology mitigate gradient bias caused by local class imbalance in federated learning?
  • RQ2To what extent can a clique-based topology reduce communication overhead while maintaining convergence speed compared to fully connected networks?
  • RQ3How effective is the proposed adaptation of decentralized SGD with D-Cliques in achieving unbiased gradients under non-IID data?
  • RQ4What is the impact of inter-clique topology (e.g., small-world) on communication efficiency and convergence in large-scale decentralized federated learning?
  • RQ5Can D-Cliques maintain performance comparable to fully connected topologies while drastically reducing the number of edges and messages?

Key findings

  • D-Cliques reduce the number of edges by 98% in a 1000-node decentralized network compared to a fully connected topology.
  • The total number of messages transmitted is reduced by 96% compared to fully connected topologies under the same training setup.
  • Model convergence speed with D-Cliques matches that of a fully connected topology on both MNIST and CIFAR10 datasets.
  • The clique-based topology effectively reduces gradient bias by ensuring local joint distributions within cliques reflect the global class distribution.
  • Using a small-world topology across cliques enables further gains in communication efficiency without sacrificing convergence performance.

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.