Decentralized Learning Made Practical with Client Sampling
Martijn de Vos, Akash Dhasade, Anne-Marie Kermarrec, Erick Lavoie, Johan Pouwelse, Rishi Sharma
TL;DR
Plexus tackles the problem of deploying decentralized learning on large-scale, heterogeneous edge networks with churn. It introduces a decentralized peer sampler that selects a small subset of online nodes per round and a single per round aggregator to perform sample wide aggregation, enabling global progress without centralized coordination. The paper provides a full system design, formalized sampling, churn handling, parameter guidelines, and an open source implementation, and demonstrates substantial improvements in time to accuracy, communication, and training resources across four tasks on realistic traces, up to 1000 nodes. This approach offers a practical path to scalable, privacy-preserving cross-device learning with robust performance in real-world edge environments.
Abstract
Decentralized learning (DL) leverages edge devices for collaborative model training while avoiding coordination by a central server. Due to privacy concerns, DL has become an attractive alternative to centralized learning schemes since training data never leaves the device. In a round of DL, all nodes participate in model training and exchange their model with some other nodes. Performing DL in large-scale heterogeneous networks results in high communication costs and prolonged round durations due to slow nodes, effectively inflating the total training time. Furthermore, current DL algorithms also assume all nodes are available for training and aggregation at all times, diminishing the practicality of DL. This paper presents Plexus, an efficient, scalable, and practical DL system. Plexus (1) avoids network-wide participation by introducing a decentralized peer sampler that selects small subsets of available nodes that train the model each round and, (2) aggregates the trained models produced by nodes every round. Plexus is designed to handle joining and leaving nodes (churn). We extensively evaluate Plexus by incorporating realistic traces for compute speed, pairwise latency, network capacity, and availability of edge devices in our experiments. Our experiments on four common learning tasks empirically show that Plexus reduces time-to-accuracy by 1.2-8.3x, communication volume by 2.4-15.3x and training resources needed for convergence by 6.4-370x compared to baseline DL algorithms.
