Communication-Efficient Training Workload Balancing for Decentralized Multi-Agent Learning

Seyed Mahmoud Sajjadi Mohammadabadi, Lei Yang, Feng Yan, Junshan Zhang

TL;DR

ComDML is a decentralized framework that solves the "straggler problem" in multi-agent learning by dynamically offloading model layers from slow devices to faster ones. By combining local-loss split training with a peer-to-peer pairing scheduler, it reduces overall training time by up to 71% without requiring a vulnerable central coordinator.

What Problem Does This Paper Address?

In Decentralized Multi-Agent Learning (DML), a group of devices (agents) collaborates to train a model without sharing their raw data. However, real-world devices are rarely equal; they have different processing powers, network speeds, and dataset sizes.

This heterogeneity creates a massive bottleneck: the entire training round is only as fast as the slowest device (the "straggler"). While the straggler struggles, faster devices sit idle, wasting valuable computational resources. Traditional Federated Learning (FL) relies on a central server to manage this, but that server becomes a single point of failure and a communication bottleneck. The authors sought a way to balance this workload across a peer-to-peer network efficiently.

Methods

The authors introduce ComDML (Communication-Efficient Training Workload Balancing), which uses three main components:

  1. Local-Loss Split Training: Instead of every agent training the full model, the model is "split." A slow agent trains the initial layers, while a paired faster agent trains the remaining (usually more computationally expensive) layers. Crucially, they use "auxiliary networks" to compute losses locally, allowing both agents to update their parts of the model in parallel rather than waiting for backpropagation from each other.
  2. Dynamic Decentralized Pairing Scheduler: Agents maintain a shared list of training times. In each round, the slowest agents "shop" for a faster partner. They use a greedy algorithm to pair up based on observed computation and communication capacities, aiming to minimize the maximum training time across the whole network.
  3. Decentralized Aggregation: Once local updates are done, the agents use an AllReduce algorithm (specifically recursive halving and doubling) to synchronize and average their models across the network, completely bypassing the need for a central server.

Datasets

The framework was evaluated using standard image classification benchmarks:

  • CIFAR-10 & CIFAR-100: Standard datasets for small-to-medium-scale deep learning.
  • CINIC-10: A dataset designed to be more challenging than CIFAR-10 but easier than ImageNet.
  • Non-I.I.D. Variants: The authors used a Dirichlet distribution to simulate "data skew," where different agents have very different distributions of labels (mirroring real-world scenarios where one user might only take photos of cats while another only takes photos of cars).

Key Insights and Ideas

  • Layer Offloading vs. Data Offloading: Most workload balancing focuses on moving data. ComDML focuses on moving computation (model layers). This is often more efficient because intermediate data (activations) can be smaller than raw datasets.
  • Parallelism via Local Loss: Standard Split Learning is sequential (Agent A finishes, then Agent B starts). By using auxiliary layers to generate a "local" loss, ComDML allows the slow and fast agents to work at the same time, drastically cutting idle time.
  • Greedy but Global: The pairing strategy is decentralized and greedy (slowest picks first), yet the authors prove it effectively minimizes the "straggler" effect for the entire system.
  • Mathematical Rigor: The paper provides a formal convergence proof for both convex and non-convex functions, showing that even with different agents training different "splits" of the model, the global model still converges to an optimal state.

Key Results

  • Massive Speedups: ComDML reduced training time by up to 71% compared to decentralized baselines like BrainTorrent and Gossip Learning.
  • Outperforming Centralized FL: Even though it lacks a central coordinator, ComDML was faster than the standard FedAvg algorithm because it actively utilized the idle resources of fast agents.
  • Scalability: Testing with ResNet-56 and ResNet-110 showed that the method scales well to deep, complex models and up to 100 agents.
  • Robustness: The system maintained efficiency even in "sparse" networks where agents were only connected to 20% of their peers.
  • Privacy Integration: The authors demonstrated that ComDML can seamlessly incorporate privacy techniques like Differential Privacy and "patch shuffling" without significant hits to accuracy.

Limitations and Future Work

  • Communication Overhead: While more efficient than standard split learning, offloading layers still requires transferring intermediate data (activations). In extremely bandwidth-constrained environments, this could still be a hurdle.
  • Auxiliary Model Design: The performance of local-loss training depends on the design of the auxiliary layers. The paper uses simple fully connected layers, but more complex architectures might require more tuning.
  • Security: While the paper addresses privacy, it does not deeply explore "Byzantine" robustness—how the system handles malicious agents who might send fake updates to sabotage the model. This is a common area for future work in decentralized systems.

Summary updated

BibTeX
@inproceedings{mohammadabadi2024communication,
  author = {Seyed Mahmoud Sajjadi Mohammadabadi and Lei Yang and Feng Yan and Junshan Zhang},
  title = {{Communication-Efficient Training Workload Balancing for Decentralized Multi-Agent Learning}},
  booktitle = {ICDCS},
  year = {2024},
  url = {https://openreview.net/forum?id=CBeblLuGK8},
}

Loading related content...

Figure