Abstract
Federated Learning (FL) enables multiple devices to collaboratively train a shared model while ensuring data privacy. The selection of participating devices in each training round critically affects both the model performance and training efficiency, especially given the vast heterogeneity in training capabilities and data distribution across devices. To address these challenges, we introduce a novel device selection solution called FedRank, which is an end-to-end, ranking-based approach that is pre-trained by imitation learning against state-of-the-art analytical approaches. It not only considers data and system heterogeneity at runtime but also adaptively and efficiently chooses the most suitable clients for model training. Specifically, FedRank views client selection in FL as a ranking problem and employs a pairwise training strategy for the smart selection process. Additionally, an imitation learning-based approach is designed to counteract the cold-start issues often seen in state-of-the-art learning-based approaches. Experimental results reveal that FedRank boosts model accuracy by 5.2% to 56.9%, accelerates the training convergence up to 2.01x and saves the energy consumption up to 40.1%.
Introduction
In Federated Learning (FL), a central server coordinates a pool of edge devices to train a global model without accessing their raw data. However, the inherent heterogeneity of these devices—both in terms of hardware capabilities (system heterogeneity) and data quality (data heterogeneity)—presents a significant challenge. Selecting suboptimal clients can lead to "stragglers" that delay training rounds or biased updates that hinder model convergence.
Existing client selection methods typically rely on hand-crafted heuristics or Reinforcement Learning (RL). Heuristics often fail to generalize across diverse environments, while RL approaches suffer from a "cold-start" problem, performing poorly during the initial exploration phase. FedRank addresses these limitations by combining imitation learning with a ranking-based selection strategy to jumpstart performance.
Methodology: The FedRank Framework
FedRank is designed as an end-to-end framework that treats client selection as a ranking problem rather than an absolute scoring task. It incorporates three key innovations:
- Imitation Learning (IL): To overcome the cold-start problem, FedRank is pre-trained offline by mimicking "expert" heuristic policies like Oort or FedMarl. This allows the agent to start with a high baseline performance before deployment.
- Learning to Rank (LTR): Instead of predicting a single value for each device, FedRank uses a pairwise ranking loss. By comparing pairs of devices (e.g., "Is Device A better than Device B?"), the model more robustly identifies the top-K participants from a large pool.
- Early Exit Probing: FedRank utilizes a "probing" phase where devices perform a minimal amount of local training. The server uses this fresh status data to decide which devices should complete the full training round, effectively filtering out stragglers early to save energy.
Experimental Evaluation
The researchers evaluated FedRank using a hybrid testbed of simulations and real mobile devices across various datasets, including MNIST, CIFAR10, CINIC10, and TinyImageNet. To test generalization, they included both In-Domain (ID) and Out-of-Domain (OOD) scenarios, where the model encountered entirely new datasets and architectures.
Key Results
FedRank consistently outperformed standard baselines such as FedAvg, FedProx, and Oort across multiple metrics:
- Accuracy Boost: Model accuracy improved by 5.2% to 56.9%, with the most significant gains observed in highly non-IID (heterogeneous) data settings.
- Convergence Speed: The framework achieved up to a 2.01x speedup in time-to-accuracy (ToA).
- Energy Efficiency: By avoiding inefficient training on stragglers, FedRank reduced energy consumption by up to 40.1%.
Conclusion and Future Work
FedRank demonstrates that leveraging expert heuristics through imitation learning can effectively jumpstart learning-based client selection in FL. By focusing on relative ranking and early probing, it significantly enhances both training speed and energy efficiency. Future research may explore reducing the dependency on expert policies and further optimizing the communication overhead introduced by the probing phase.
Summary updated