TL;DR: FedRank optimizes Federated Learning (FL) by treating edge device selection as a "Learning to Rank" problem solved via Reinforcement Learning (RL). By using imitation learning to "warm up" the agent with existing high-performing heuristics, the authors eliminate the typical RL "cold start" problem, resulting in up to 12.75% higher accuracy and 2.25x faster training.
The Challenge of Device Selection in Federated Learning
Federated Learning allows mobile devices to collaboratively train a global model without sharing raw data. However, the "cross-device" reality is messy: some phones are slow (stragglers), some have low battery, and some possess data that is unhelpful for the model's convergence.
The core challenge is device selection: which subset of devices should the server pick for each training round?
- Heuristic-based methods (fixed rules) are often too rigid and fail to adapt to new, unseen environments.
- Reinforcement Learning (RL) methods are flexible but suffer from a "cold start"—they perform poorly in early rounds because the agent is still learning by trial and error, which is costly in a real-world FL setup.
The FedRank Solution
To address these issues, the authors introduce FedRank, a novel approach that combines three sophisticated techniques:
- Learning to Rank (LTR): In device selection, the absolute reward value doesn't actually matter—only the relative order does. Instead of trying to predict an absolute "utility score" for a device (pointwise), FedRank uses a pairwise loss function. It learns to compare devices to determine which one is better than another, making it highly effective at selecting the "Top-K" participants.
- Imitation Learning Warmup: To solve the cold-start problem, FedRank doesn't start from scratch. It is pre-trained to mimic Harmony, a state-of-the-art analytical heuristic. This ensures the agent starts with "expert" knowledge before it begins fine-tuning itself through real-world interactions, bypassing the "random guessing" phase.
- DQN-based Scheduler: The system uses a Deep Q-Network (DQN) that takes in a "state" vector for each device—including training latency, communication bandwidth, energy cost, and current local loss—to make its selection decisions. A "probing" step allows devices to perform a single epoch of training to report their current status, providing the RL agent with fresh, high-quality data.
Experimental Setup
The researchers evaluated FedRank using two standard computer vision benchmarks: MNIST (LeNet-5) and CIFAR-10 (VGG16). To make the simulation realistic, they used a hybrid testbed incorporating hardware profiles from four real-world mobile phones: Google Pixel 6, OnePlus 10 Pro, Redmi Note 10, and Realme Q3s. This allowed them to simulate actual system heterogeneity, such as varying CPU speeds and network conditions.
Key Results
FedRank consistently outperformed baselines like FedAvg (random selection), FedMarl (multi-agent RL), and Harmony (heuristic).
- Accuracy Gains: FedRank improved model accuracy by 2.59% to 12.75% compared to the baselines.
- Significant Speedup: It reached target accuracy levels much faster, accelerating the training process by 1.76x on average (and up to 2.25x in some scenarios).
- Convergence: As seen in the accuracy-to-time graphs, FedRank achieves a much smoother and steeper learning curve, especially in the difficult CIFAR-10/VGG16 setup.
Limitations and Future Work
- Heuristic Dependency: The effectiveness of the warmup phase depends on the quality of the heuristic being imitated. If the initial heuristic is poor, the RL agent might start with "bad habits."
- Scale: As a Tiny Paper, the evaluation was limited to 100 devices in the pool. Future work could explore how FedRank scales to thousands or millions of concurrent devices.
- Complexity: Implementing a DQN scheduler and imitation learning adds computational overhead to the central server, which must be balanced against the training speed gains.
Summary updated