TL;DR
PLEXUS is a practical decentralized learning system designed to handle the harsh realities of edge computing: high device churn and resource heterogeneity. By combining a decentralized peer-sampling mechanism with sample-wide global aggregation, PLEXUS drastically cuts down training time, communication costs, and resource consumption compared to traditional decentralized learning baselines.
What Problem Does This Paper Address?
Decentralized learning (DL) allows edge devices (nodes) to collaboratively train machine learning models without sharing their raw data, significantly boosting user privacy. However, standard DL algorithms like Decentralized Parallel Stochastic Gradient Descent (D-PSGD) assume a pristine environment where all nodes are reliable and always online.
In real-world edge settings (like mobile networks), devices suffer from massive churn (constantly joining and leaving the network) and heterogeneity (vastly different computational speeds and network bandwidths). When nodes drop offline or run slowly, traditional DL protocols stall, experience massive communication overheads, or fail to converge altogether. Furthermore, aggregating models only among immediate network neighbors slows down convergence compared to global aggregation.
Methods
PLEXUS introduces two core innovations to solve these edge challenges without relying on any central server or network-wide coordination:
- Decentralized Peer Sampling: Instead of requiring network-wide participation every round, PLEXUS uses a consistent hashing scheme parameterized by the round number and node IDs. This allows online nodes to independently agree on a small, randomized subset (a "sample") of active participants for each round. A quick parallel ping-pong mechanism filters out nodes that have recently gone offline.
- Sample-Wide Global Aggregation: Within each sample, PLEXUS dynamically selects the node with the highest bandwidth to act as the aggregator for that round. Participants push their trained models to this aggregator, achieving the convergence benefits of global aggregation within the sample before passing the updated model to the next round's sample.
To handle churn gracefully, membership updates (joins/leaves) are piggybacked on model transfer messages to continuously update local network views. Strict timeouts and a "success fraction" threshold ensure that the system progresses even if some nodes drop out mid-round.
Datasets
The authors evaluated PLEXUS across four distinct learning tasks, incorporating real-world mobile phone traces for network latency (WonderNetwork), hardware profiles (FedScale), and device availability:
- CIFAR-10: Image classification under an Independent and Identically Distributed (IID) setup (1,000 nodes).
- CelebA: Image classification from the LEAF benchmark under a non-IID setup (500 nodes).
- FEMNIST: Complex 62-class image classification from the LEAF benchmark under a non-IID setup (355 nodes).
- MovieLens 100K: A recommendation system task using a realistic one-user-one-node setup (610 nodes).
Key Insights and Ideas
- Less is More: Counterintuitively, involving all available nodes every round hurts performance in real-world edge settings due to stragglers and churn. Restricting training to a dynamically sampled subset stabilizes and accelerates the entire process.
- Bandwidth-Aware Aggregation: Dynamically electing the highest-bandwidth node in a sample to aggregate models significantly mitigates the bottleneck of model transfer times in wide-area networks (WANs).
- Weak Consistency is Enough: Even though local views of network membership can be temporarily inconsistent due to propagation delays, the resulting minor sampling discrepancies do not undermine model convergence.
Key Results
The comprehensive evaluation demonstrated the clear superiority of PLEXUS over state-of-the-art baselines like Gossip Learning (GL) and D-PSGD:
- Speed and Efficiency: PLEXUS achieved a 1.2× to 8.3× reduction in time-to-accuracy.
- Resource Savings: It reduced communication volume by 2.4× to 15.3× and slashed training resource usage by 6.4× to 370×.
- Resilience to Churn: PLEXUS proved remarkably robust; its convergence curve remained virtually unaffected even when simulating strict mobile phone availability traces where only 8.8% of devices were online at any given time.
Limitations and Future Work
- Security and Malicious Nodes: The current design assumes nodes are cooperative. It does not account for adversarial threats like data poisoning or Byzantine attacks, which would require integrating separate privacy-preserving or robust aggregation techniques.
- Computational Waste: To prevent stalling, PLEXUS uses a success fraction (e.g., 80%). If a node's trained model arrives late due to network delays, it is discarded, resulting in wasted local computation. The authors suggest exploring the integration of stale model updates or multi-aggregator schemes in future work to alleviate this overhead.
Summary updated