Bandit-based Communication-Efficient Client Selection Strategies for Federated Learning

Yae Jee Cho, Samarth Gupta, Gauri Joshi, Osman Yagan

Abstract

Federated Learning (FL) faces a significant challenge in selecting the most informative clients for training without incurring excessive communication overhead. While biasing selection toward clients with high local loss can accelerate convergence, relying on stale loss values often leads to performance degradation. This paper introduces UCB-CS, a novel client selection strategy that models the process as a Multi-Armed Bandit problem. By employing a discounted Upper Confidence Bound approach, UCB-CS balances the exploitation of high-loss clients with the exploration of less-frequently sampled ones. Experimental results demonstrate that UCB-CS achieves faster convergence and improved fairness with zero additional communication overhead compared to random selection.

Introduction

In Federated Learning, a central server coordinates training across a vast number of edge devices. Due to bandwidth constraints, only a small subset of clients can be selected in each communication round. Standard approaches like FedAvg typically employ random selection, which fails to prioritize clients that could most benefit the global model's progress.

Recent strategies have attempted to bias selection toward "struggling" clients (those with high local loss). However, these methods often require additional "polling" rounds to obtain current loss values, wasting bandwidth. Alternatively, using stale loss values from previous rounds can lead to an "error floor" where the model stops improving or even diverges. The authors address this trade-off by proposing a strategy that is both communication-efficient and robust to data staleness.

Methodology: The UCB-CS Strategy

The authors treat client selection as a Multi-Armed Bandit (MAB) problem, where the "reward" for selecting a client is its local loss.

Key Components of UCB-CS:

  1. Discounted UCB: Unlike traditional MAB algorithms that assume stationary rewards, FL involves a non-stationary environment as the model improves and losses decrease. UCB-CS uses a discount factor ($\gamma$) to prioritize recent observations, effectively phasing out stale data.
  2. Exploitation vs. Exploration: The selection index for each client combines an exploitation term (favoring high estimated loss) and an exploration term (favoring clients not recently selected). This ensures the model doesn't overfit to a specific subset of clients and maintains fairness across the entire population.
  3. Zero Overhead: UCB-CS utilizes loss values already reported during standard training updates. It requires no additional communication rounds, making it as efficient as random selection.

Results and Discussion

Synthetic Data and the Staleness Problem

The researchers first evaluated UCB-CS on a heterogeneous synthetic dataset. A critical finding was the impact of staleness: strategies that simply use the last known loss without accounting for its age (like rpow-d) performed significantly worse than random selection in many cases.

Global loss across communication rounds for synthetic data with varying numbers of selected clients (m). UCB-CS (red) consistently outperforms random selection and stale-loss strategies.

As shown in the figure above, UCB-CS (red dashed line) achieves the lowest global loss across different selection sizes ($m=1, 2, 3$). Notably, the stale-loss strategy rpow-d (blue dotted line) often plateaus at a much higher loss level, illustrating how misleading old data can be in a dynamic training environment.

Real-world Performance on FMNIST

On the Fashion-MNIST dataset with high data heterogeneity (simulated via a Dirichlet distribution $\alpha=2$), UCB-CS demonstrated superior stability and accuracy.

Test accuracy and training loss on the FMNIST dataset. UCB-CS (red) achieves higher accuracy and lower loss compared to random and stale-loss baselines.

UCB-CS not only converged faster but also reached a higher final test accuracy than random selection. Furthermore, the algorithm improved fairness, as measured by Jain’s Index, by ensuring that the model performs well for all clients rather than just a majority subset. By forcing exploration of uncertain clients, UCB-CS prevents the "Matthew Effect" where only the most informative clients are repeatedly trained.

Conclusion and Future Work

UCB-CS provides a robust, communication-efficient framework for client selection in Federated Learning. By balancing exploitation and exploration through a discounted bandit approach, it overcomes the pitfalls of stale information and biased selection. Future research directions include exploring Correlated Multi-Armed Bandits, which could leverage similarities between clients to further refine loss estimations and selection efficiency.

Summary updated

BibTeX
@inproceedings{cho2020bandit,
  author = {Yae Jee Cho and Samarth Gupta and Gauri Joshi and Osman Yagan},
  title = {{Bandit-based Communication-Efficient Client Selection Strategies for Federated Learning}},
  booktitle = {ACSSC},
  year = {2020},
  url = {https://openreview.net/forum?id=mOG2jMT_SL},
}
Figure