Boosting Asynchronous Decentralized Learning with Model Fragmentation

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

TL;DR

DivShare is a new asynchronous decentralized learning algorithm that tackles the "straggler" problem—nodes with slow network connections—by breaking machine learning models into small fragments. Instead of waiting to send a massive full model, nodes broadcast these fragments to random neighbors in parallel with training, allowing even the slowest participants to contribute useful updates quickly and boosting convergence speeds by up to 3.9x.

What Problem Does This Paper Address?

In Decentralized Learning (DL), a network of devices (nodes) collaborates to train a global model without ever sharing their raw, private data. Unlike Federated Learning, there is no central server; nodes simply talk to their neighbors.

The major bottleneck in these systems is heterogeneity. In the real world, some nodes have lightning-fast fiber connections while others struggle on spotty mobile data. These "communication stragglers" wreak havoc on standard DL:

  1. Synchronous DL forces everyone to wait for the slowest node, dragging the whole system down.
  2. Existing Asynchronous DL (like AD-PSGD or Swift) allows nodes to move at their own pace, but slow nodes still take forever to send their full models. By the time a slow node's model arrives, it’s often "stale" (outdated) and ignored, or it blocks the sender's bandwidth, preventing them from receiving newer updates.
Figure 1: The convergence plots for AD-PSGD and Swift on CIFAR-10, with and without communication stragglers.

Methods

The authors introduce DivShare, which shifts the paradigm from "send the whole model" to "fragment and share."

  • Model Fragmentation: A node splits its updated model into $1/\Omega$ disjoint subsets of parameters (fragments).
  • Randomized Dissemination: Instead of sending the full model to a few fixed neighbors, the node sends each small fragment to a random sample of $J$ nodes across the network.
  • Parallel Execution: Communication happens in the background while the node is busy with its next round of local training (SGD).
  • Wait-Free Aggregation: Recipient nodes maintain a buffer. Whenever they start a new training round, they aggregate whatever fragments they’ve received since the last round, regardless of who sent them.
Figure 2: Model sharing in DL (left) and DivShare (right), from the perspective of a single node. DivShare fragments models and sends each fragment to randomly selected nodes.

Crucially, the authors provide a formal convergence proof for DivShare. This is significant because it is the first proof for a DL algorithm that explicitly accounts for the delays inherent in asynchronous communication.

Datasets

The researchers evaluated DivShare using two standard benchmarks:

  • CIFAR-10: An image classification task. They used a non-IID (non-independent and identically distributed) partitioning to simulate realistic scenarios where different nodes see different types of data (e.g., one node sees mostly cats, another mostly cars).
  • MovieLens 100K: A recommendation system task using matrix factorization to predict user ratings.

Key Insights and Ideas

  • "Partial is Better Than Late": The core "aha" moment is that receiving some updated parameters from a slow node quickly is much more valuable for global convergence than receiving all parameters very late.
  • Bandwidth Efficiency: Fragmentation allows for more granular use of network capacity. Slow links don't become total blockages; they just contribute fewer fragments per second.
  • The Sweet Spot: The authors found an optimal fragmentation level ($\Omega \approx J/n$). If fragments are too large, you lose straggler resilience; if they are too small, the sheer number of messages creates network overhead.
  • Robustness to Data Bias: By spreading fragments randomly, DivShare prevents the global model from becoming overly biased toward the data held by the fastest nodes.

Key Results

DivShare consistently outperformed state-of-the-art baselines (AD-PSGD and Swift) in every tested scenario involving stragglers:

  • Speed: On CIFAR-10 with stragglers, DivShare reached target accuracy 3.9x faster than AD-PSGD.
  • Accuracy: It achieved up to 19.4% higher test accuracy on CIFAR-10 and 9.5% lower test loss on MovieLens compared to baselines in high-straggler environments.
  • Real-World Simulation: When tested using actual bandwidth/latency data from 10 different AWS regions, DivShare reached 60% accuracy 35.6% faster than its competitors.

Limitations and Future Work

  • Compute Stragglers: While DivShare is designed for communication delays, the current study assumes nodes have similar processing power (CPU/GPU). The authors suggest that handling vastly different computation speeds is a vital next step.
  • Message Overhead: Fragmentation increases the number of messages sent, even if the total volume of data (bytes) remains the same. While their tests showed this didn't hurt performance in geo-distributed setups, it might be a factor in extremely high-density local networks.
  • Static Networks: The paper assumes a "permissioned" setting where the list of participating nodes is fixed. Adapting DivShare for "churn" (nodes joining and leaving dynamically) remains an open challenge.

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