An Efficiency-Boosting Client Selection Scheme for Federated Learning With Fairness Guarantee

Tiansheng Huang, Weiwei Lin, Wentai Wu, Ligang He, Keqin Li, Albert Y. Zomaya

TL;DR

This paper introduces RBCS-F, a novel client selection scheme for Federated Learning (FL) that balances training efficiency with a long-term fairness guarantee. By combining Lyapunov optimization with a contextual multi-arm bandit model, the authors provide a way to pick the "fastest" clients while ensuring that slower devices aren't permanently excluded, ultimately leading to better model generalization and higher final accuracy.

What Problem Does This Paper Address?

Federated Learning allows multiple devices (clients) to train a global model without sharing their raw data, preserving privacy. However, a major bottleneck is communication: the server can't wait for thousands of slow mobile devices to finish every round.

Existing "greedy" selection methods simply pick the fastest available clients to speed up training. The authors argue this creates two major issues:

  1. Unfairness: Low-performance devices are systematically excluded.
  2. Poor Generalization: If "slow" devices hold unique data that "fast" devices don't have, the final model will be biased and less accurate.

Furthermore, a client's actual training and upload time (the "model exchange time") is often unknown and stochastic, making it hard to plan efficient rounds in advance.

Methods

The authors propose a reputation-based system called RBCS-F (Reputation Based Client Selection with Fairness) that uses two key mathematical frameworks:

  • Lyapunov Optimization: To handle the "soft" long-term fairness constraint (ensuring every client is selected at a minimum rate $\beta$), the authors transform the problem into a virtual queue system. If a client isn't selected, their "fairness queue" grows, increasing their priority in future rounds. This turns a complex time-coupled offline problem into a manageable online optimization task.
  • Contextual Combinatorial Multi-Arm Bandit ($C^2MAB$): Since the server doesn't know how long a client will take to train, it uses $C^2MAB$ to estimate the model exchange time. It looks at "contextual" features—like a client's available CPU, bandwidth, and whether they participated in the previous round (to account for "cold start" data loading times)—and updates its "reputation" estimate for that client after every round.

The overall workflow is illustrated in Figure 1:

Illustration of the Federated Learning workflow

The selection itself is solved using a divide-and-conquer algorithm that reduces the complex Integer Linear Programming (ILP) problem into smaller, solvable sub-problems with $O(N^2)$ complexity.

Datasets

The authors evaluated their scheme using:

  • Numerical Simulations: A synthetic environment with 40 clients divided into four performance classes to test the stability of fairness queues and regret bounds.
  • Fashion-MNIST: A dataset of clothing images, used to test model accuracy under different fairness settings.
  • CIFAR-10: A more complex image classification dataset (10 classes of objects/animals) used to demonstrate how fairness impacts harder learning tasks.
  • Dirichlet Distribution: Used to synthesize non-IID (non-independent and identically distributed) data across clients, simulating real-world scenarios where different users have very different data distributions.

Key Insights and Ideas

  • The Fairness-Accuracy Trade-off: The most striking insight is that fairness is not just a moral goal; it's a performance booster. While greedy selection is faster per round, a fairer selection (higher $\gamma_2$ in their experiments) leads to higher final model accuracy because the model sees a more diverse and representative set of data.
  • Harder Tasks Need More Fairness: The authors observed that for the more difficult CIFAR-10 task, the impact of fairness on final accuracy was even more pronounced than for Fashion-MNIST. Harder tasks require more diversified data to generalize well.
  • The "V" Parameter: The algorithm uses a penalty factor $V$ to balance speed vs. fairness. A high $V$ prioritizes speed (minimizing exchange time), while a low $V$ prioritizes fairness. Interestingly, a very high $V$ can actually slow down total training time because the model takes many more rounds to converge due to the lack of data diversity.

Key Results

  • Efficiency Gains: RBCS-F significantly outperformed random selection in terms of training time efficiency while maintaining a strict bound on "regret" (the performance gap compared to an ideal, omniscient scheduler).
  • Fairness Stability: The authors proved theoretically and showed empirically that the fairness queues remain "mean rate stable," meaning the long-term fairness constraint is never violated regardless of the $V$ setting.
  • Accuracy: In non-IID scenarios, RBCS-F achieved final accuracies close to the "random" baseline (which is perfectly fair but very slow) and significantly higher than greedy methods like FedCS, which suffered from data bias.

Limitations and Future Work

While the paper provides a robust framework, the authors note a few areas for further exploration:

  • Quantifying the Link: While they proved fairness helps accuracy, they could not yet provide a rigorous mathematical formula to quantify exactly how much fairness improves convergence speed or final accuracy.
  • Synchronous vs. Asynchronous: The current model assumes a synchronous protocol (the server waits for all selected clients). Future work could adapt these fairness constraints to asynchronous or semi-asynchronous FL systems.
  • Incentives: The paper assumes clients are volunteers; integrating incentive mechanisms to encourage participation from "slow" but "data-rich" clients is a logical next step.

Summary updated

BibTeX
@article{huang2021efficiency,
  author = {Tiansheng Huang and Weiwei Lin and Wentai Wu and Ligang He and Keqin Li and Albert Y. Zomaya},
  title = {{An Efficiency-Boosting Client Selection Scheme for Federated Learning With Fairness Guarantee}},
  journal = {IEEE Trans. Parallel Distributed Syst.},
  year = {2021},
  url = {https://openreview.net/forum?id=-Y2ll8AFYP},
}
Figure