Boosting Asynchronous Decentralized Learning with Model Fragmentation

Sayan Biswas, Anne-Marie Kermarrec, Alexis Marouani, Rafael Pires, Rishi Sharma, Martijn de Vos

Introduction

In the evolving landscape of Decentralized Learning (DL), networks of nodes—ranging from mobile devices to geo-distributed servers—collaborate to train machine learning models without a central coordinator. While promising, these systems are often crippled by network heterogeneity. DivShare is a novel asynchronous decentralized learning algorithm designed to overcome the "straggler" problem. By decomposing models into small, independently shared fragments, DivShare achieves up to 3.9x faster convergence and significantly higher accuracy than existing baselines in communication-constrained environments.

The Challenge of Heterogeneity

The primary bottleneck in real-world decentralized systems is the variance in internet speeds and processing power across nodes. Synchronous systems are forced to wait for the slowest participant, while traditional asynchronous systems typically require nodes to transmit their entire model to a neighbor. If a node is connected via a slow link, these full-model transfers lead to stale updates or cause the node to be ignored entirely. The core challenge lies in efficiently utilizing the collective bandwidth of a diverse network so that even slow nodes can contribute meaningful updates without impeding the group's progress.

The DivShare Approach: Model Fragmentation

DivShare departs from the conventional "send-full-model" paradigm by introducing Model Fragmentation. This method shifts the granularity of communication to ensure robustness against stragglers.

Comparison of standard Decentralized Learning (DL) versus the DivShare model fragmentation approach.

Methodology

  1. Fragmentation: Following a local training round, a node partitions its updated model into several disjoint subsets of parameters, or fragments.
  2. Randomized Dissemination: Instead of sending the complete model to a single neighbor, the node disseminates each small fragment to a different, randomly selected set of peers.
  3. Parallelism: Communication is handled in the background, allowing the node to proceed with subsequent local training rounds without waiting for transfers to complete.
  4. Buffer-based Aggregation: Nodes maintain a receive buffer. At the start of each round, they aggregate all successfully received fragments, ensuring the local model incorporates the most recent global information available.

This approach is supported by the first formal convergence proof for a decentralized learning algorithm that explicitly accounts for asynchronous communication delays and parameter-wise communication rates.

Experimental Evaluation

The researchers evaluated DivShare using standard benchmarks adapted for decentralized settings, including CIFAR-10 (image classification) and MovieLens 100K (recommendation systems). To simulate real-world data silos, they employed a "non-IID" setup where nodes held different classes of data. Network conditions were emulated using the Kollaps simulator, including a configuration based on actual bandwidth and latency measurements across 10 global AWS regions.

Results and Analysis

DivShare demonstrates that granularity is a vital feature for network resilience. By sending small pieces of a model to more nodes, information is spread across the network "stretch" more effectively than sending a full model to fewer nodes.

Timeline of a node with slow communication, illustrating how training and fragmented communication overlap.

Key Performance Metrics

  • Straggler Resilience: Even nodes with slow connections (as shown in the timeline above) can successfully upload individual fragments. In traditional systems, these nodes' updates would likely be dropped or arrive too late to be useful.
  • Convergence Speed: In the presence of communication stragglers, DivShare reached target accuracy 3.9x faster than AD-PSGD on CIFAR-10. In geo-distributed AWS simulations, it reached 60% accuracy 35.6% faster than competitors.
  • Final Utility: DivShare achieved up to 19.4% better accuracy on CIFAR-10 and 9.5% lower test loss on MovieLens when half the network consisted of stragglers.
  • The Fragmentation "Sweet Spot": Optimal performance was found when splitting the model into approximately 10 pieces. Excessive fragmentation (e.g., hundreds of pieces) eventually leads to message overhead and network congestion.

Conclusion and Future Work

DivShare provides a robust framework for decentralized learning in heterogeneous networks. While it effectively addresses communication stragglers, future research is needed to handle nodes with vastly different computation speeds (e.g., mixing CPUs and GPUs). Additionally, as fragmentation increases message counts, exploring the impact on extremely constrained IoT networks and integrating security measures like Byzantine resilience and Differential Privacy remain important next steps.

Summary updated

BibTeX
@inproceedings{biswas2024boosting,
  author = {Sayan Biswas and Anne-Marie Kermarrec and Alexis Marouani and Rafael Pires and Rishi Sharma and Martijn de Vos},
  title = {{Boosting Asynchronous Decentralized Learning with Model Fragmentation}},
  booktitle = {The Web Conference},
  year = {2024},
}
Figure