TL;DR
This paper introduces an adaptive client sampling strategy for Federated Learning (FL) that minimizes "wall-clock" convergence time by jointly addressing system heterogeneity (varying device speeds) and statistical heterogeneity (non-i.i.d. data). By optimizing sampling probabilities and bandwidth allocation, the authors demonstrate up to a 71% reduction in the time required to reach target accuracy compared to standard uniform sampling.
What Problem Does This Paper Address?
In Federated Learning, a central server coordinates many edge devices (clients) to train a model without sharing raw data. Because communication bandwidth is limited, the server typically samples only a fraction of clients per round.
Most existing research focuses on reducing the number of rounds to reach convergence. However, in real-world wireless networks, the actual wall-clock time is what matters. This time is plagued by two issues:
- System Heterogeneity: Devices have different computation and communication speeds. In synchronous FL, the slowest device (the "straggler") dictates the round's duration.
- Statistical Heterogeneity: Data is often non-i.i.d. (not identically and independently distributed). Some clients have "better" data for training than others, but these might be the slowest devices.
The authors tackle the "chicken-and-egg" problem: how do you design an optimal sampling scheme when you don't know the data quality or system performance of the clients before training begins?
Methods
The authors propose a framework that moves beyond simple uniform or data-size-proportional sampling. Their approach includes:
- A New Convergence Bound: They derived a tractable mathematical bound for FL convergence that accounts for arbitrary client sampling probabilities. This allows them to predict how different sampling choices affect the final error.
- Adaptive Bandwidth Allocation: To mitigate the straggler effect, they designed a scheme that allocates more wireless bandwidth to slower devices within a round, aiming for all sampled clients to finish their updates simultaneously.
- Non-Convex Optimization: They formulated the "total time minimization" as an optimization problem. Since this problem is non-convex and contains unknown parameters (like gradient norms), they developed Algorithm 2.
- Parameter Estimation: The algorithm uses a brief "substitute sampling" phase at the start of training to estimate the unknown system and data parameters needed to solve the optimization.
Datasets
The researchers evaluated their approach using both a hardware prototype (40 Raspberry Pis) and large-scale simulations:
- MNIST: The classic handwritten digit dataset.
- EMNIST: An "Extended" version of MNIST with more classes (letters and digits), used in an unbalanced, non-i.i.d. fashion.
- Synthetic Dataset: A custom dataset of 60-dimensional vectors designed to strictly control levels of statistical heterogeneity.
- Models: They tested both convex (Multinomial Logistic Regression) and non-convex (CNN with LeNet-5 architecture) models.
Key Insights and Ideas
- The Interplay of Speed and Quality: The optimal sampling probability for a client is not just about having the most data or the fastest processor; it is characterized by the product of their data "importance" and their system efficiency.
- The "K" Trade-off: As the number of sampled clients ($K$) increases, the number of rounds needed for convergence decreases. However, because they share a limited wireless bandwidth, the time per round increases. The paper reveals a "U-shaped" curve for total convergence time, identifying an optimal $K$ for a given network.
- Beyond Convexity: While the theoretical bounds rely on standard convexity assumptions, the experimental results show the method is highly effective for non-convex neural networks, suggesting broader practical utility.
Key Results
The proposed "Adaptive Heterogeneous Sampling" significantly outperformed baselines (uniform, weighted, and purely statistical sampling) across all setups:
- Hardware Prototype (EMNIST): Reached the target loss 71% faster than uniform sampling.
- Simulation (Synthetic): Achieved speedups of 1.8x to 2.6x compared to various baselines.
- CNN Performance: In non-convex scenarios, the proposed scheme reached target accuracy while uniform sampling often failed to reach the same target within a reasonable time budget (e.g., 4,000 seconds).
Limitations and Future Work
- Offline vs. Online: The current parameter estimation happens early in the process. The authors note that moving toward a fully "online" adaptation—where sampling probabilities shift dynamically as wireless channel conditions change—is a key next step.
- Joint Control: The paper focuses on sampling probabilities. Future work could involve jointly optimizing other "knobs," such as the number of local SGD iterations ($E$) or the specific number of clients ($K$) per round, to further squeeze out performance gains.
- Synchronous Assumption: The work assumes a synchronized FL framework. Exploring how these sampling principles apply to asynchronous FL (where the server doesn't wait for stragglers) remains an open question.
Summary updated