Abstract
Federated Learning (FL) often faces the "straggler problem," where heterogeneous device capabilities lead to significant training delays. We present FedCore, an algorithm that utilizes distributed coresets to align data volume with device velocity. By selecting representative data subsets on each device through gradient matching and efficient clustering, FedCore eliminates bottlenecks without sacrificing accuracy. Experimental results across vision, NLP, and synthetic benchmarks show up to an 8x speedup in training time compared to standard FL methods.
Introduction
Federated Learning (FL) enables thousands of decentralized devices, such as smartphones and IoT sensors, to collaboratively train a machine learning model without sharing raw data. However, standard synchronous FL frameworks often suffer from the straggler problem. In these systems, the central server must wait for every participant to complete local training before updating the global model. Consequently, a single device with outdated hardware or an unusually large dataset can become a significant bottleneck, potentially extending round completion times by over 20x.
Existing solutions typically involve dropping slow clients—which introduces data bias—or reducing their local training steps—which can degrade model accuracy. FedCore proposes a novel alternative: addressing the mismatch between a device's hardware capability and its data volume through the use of distributed coresets.
Methodology: Distributed Coreset Generation
The fundamental innovation of FedCore is the decentralized selection of coresets—small, weighted subsets of data that preserve the statistical properties of the full dataset. Instead of forcing slow devices to perform fewer iterations on their entire dataset, FedCore identifies the most representative samples for training.
The FedCore pipeline consists of several key technical components:
- Gradient Matching: FedCore selects data points whose gradients most closely approximate the gradient of the full local dataset, ensuring the model learns the most critical features.
- Efficient Optimization: The coreset selection is framed as a $k$-medoids clustering problem, solved on-device using the FasterPAM algorithm to minimize computational overhead.
- Lightweight Approximations: To handle high-dimensional models, FedCore utilizes "proxy" distances based on the gradients of the last neural network layer, capturing essential information with minimal cost.
- Adaptive Selection: Coresets are periodically re-evaluated to remain relevant as the global model evolves.
Experimental Evaluation
The researchers evaluated FedCore across three distinct benchmarks to prove its versatility:
- MNIST: A classic digit classification task using a CNN, distributed across 1,000 clients with a power-law distribution to simulate real-world data imbalance.
- Shakespeare: A next-character prediction task (NLP) using an LSTM model, where each "speaking role" acts as a unique client.
- Synthetic Dataset: A feature-based classification task using Logistic Regression, specifically designed to test performance under extreme statistical heterogeneity.
Key Results and Discussion
FedCore demonstrates significant improvements in both training efficiency and model performance. In practical tests, the algorithm achieved up to an 8x speedup in total training time compared to standard Federated Averaging (FedAvg) while maintaining or exceeding baseline accuracy.
As shown in the performance curves, FedCore consistently achieves lower training loss and faster convergence than FedProx, a common baseline that allows stragglers to perform partial work. This suggests that training on a representative subset (coreset) is more effective than training on a random subset for fewer iterations. Furthermore, FedCore was the only method to consistently meet strict training deadlines, whereas FedAvg often exceeded them by an order of magnitude.
Conclusion and Future Work
FedCore effectively mitigates the straggler problem by shifting from temporal adjustments to data-driven adjustments. While the algorithm requires an initial full-set epoch to gather gradients, the subsequent efficiency gains are substantial. Future work may address the "first epoch bottleneck" for extremely slow devices and explore methods to reduce communication overhead alongside computational costs. Overall, FedCore provides a theoretically grounded and empirically robust framework for scalable, heterogeneous federated learning.
Summary updated