Abstract: The issue of potential privacy leakage during centralized AI's model training has drawn intensive concern from the public. A Parallel and Distributed Computing (or PDC) scheme, termed Federated Learning (FL), has emerged as a new paradigm to cope with the privacy issue by allowing clients to perform model training locally, without the necessity to upload their personal sensitive data. In FL, the number of clients could be sufficiently large, but the bandwidth available for model distribution and re-upload is quite limited, making it sensible to only involve part of the volunteers to participate in the training process. The client selection policy is critical to an FL process in terms of training efficiency, the final model's quality as well as fairness. In this paper, we model the fairness guaranteed client selection as a Lyapunov optimization problem and propose a C2MAB-based method for estimation of the model exchange time between each client and the server, based on which we design a fairness guaranteed algorithm termed RBCS-F. The regret of RBCS-F is strictly bounded by a finite constant, justifying its theoretical feasibility. Barring the theoretical results, more empirical data can be derived from our real training experiments on public datasets.
Introduction
In the world of Federated Learning (FL), the objective is to train powerful AI models on decentralized data without compromising user privacy. However, a practical challenge arises: with thousands of potential "clients" (such as smartphones or IoT devices) and limited bandwidth, the server can only select a subset to participate in each training round.
Standard FL systems often face the "straggler" problem, where the server must wait for the slowest selected client to finish. To mitigate this, many systems adopt a greedy approach, selecting only the highest-performing devices. This creates a significant unfairness problem. Devices with poor network connections or older hardware are perpetually excluded. Because data is often non-IID (not identically distributed)—meaning hardware might correlate with data type—excluding these "slow" clients leads to a "data island" effect, where the resulting model performs poorly on the populations it ignored during training.
Methodology
The proposed RBCS-F (Reputation-Based Client Selection with Fairness) algorithm intelligently selects clients to minimize training time while guaranteeing long-term fairness. The workflow of this selection process within the broader FL cycle is illustrated below.
The authors tackle this as a constrained optimization problem using three primary tools:
- Lyapunov Optimization: To handle the "long-term fairness" constraint, virtual queues are employed. Each client has a virtual queue that grows when they are not selected. The algorithm minimizes a "drift-plus-cost" function, balancing immediate training time (cost) with the need to keep these queues short (fairness).
- Contextual Combinatorial Multi-Arm Bandit (C2MAB): Since the server does not know exactly how long a client will take to train and upload, each client is treated as an "arm" in a bandit setting. Contextual features—such as available CPU ratio and bandwidth—are used to estimate the expected model exchange time.
- RBCS-F Algorithm: This core contribution uses a divide-and-conquer strategy to solve the resulting Integer Linear Programming (ILP) problem, ensuring computational efficiency even with a large number of clients.
Experimental Evaluation
The researchers evaluated their approach using numerical simulations and public datasets:
- Numerical Simulations: A synthetic environment with 40 clients divided into four performance classes to test fairness queue stability.
- Datasets: Fashion-MNIST and CIFAR-10 were used for image classification tasks.
- Non-IID Synthesis: A Dirichlet distribution was used to simulate varying degrees of data heterogeneity among clients, reflecting real-world FL conditions.
Key Insights and Results
- The Fairness-Accuracy Link: Fairness is a performance booster. Experiments show that fairer selection consistently leads to higher final model accuracy because the model "sees" a more representative slice of the global data. On the CIFAR-10 dataset, RBCS-F achieved noticeably higher test accuracy than biased, "fast-only" methods in highly non-IID scenarios.
- Efficiency Gains: RBCS-F significantly outperformed random selection in training time. While slightly slower per round than purely greedy methods (like FedCS), it reached higher accuracy levels faster in the long run.
- The "V" Knob: The algorithm includes a penalty factor $V$ that allows operators to prioritize either training speed (high $V$) or fairness (low $V$).
- Reputation over A Priori Knowledge: Unlike previous studies assuming known training times, RBCS-F learns client "reputations" over time, making it robust for real-world deployments where device performance is stochastic.
Conclusion and Future Work
While RBCS-F provides a strong framework for balancing speed and fairness, several areas for future research remain. These include finding a rigorous mathematical way to quantify the exact relationship between fairness thresholds and convergence speed, developing incentive mechanisms for "slow" clients, and extending this fairness logic to asynchronous FL protocols.
Summary updated