Fairness-Aware Client Selection for Federated Learning

Yuxin Shi, Zelei Liu, Zhuan Shi, Han Yu

Abstract

Federated Learning (FL) enables decentralized model training across multiple clients while preserving data privacy. However, standard client selection methods often face a trade-off between maximizing model performance and ensuring fair participation. This paper introduces FairFedCS, a novel framework that utilizes Lyapunov optimization to balance these competing objectives. By replacing rigid quality thresholds with a dynamic reputation system and virtual unfairness queues, FairFedCS prevents client attrition and mitigates the "free-rider" problem. Experimental results on Fashion-MNIST and CIFAR-10 demonstrate that FairFedCS improves Jain’s Fairness Index by 19.6% and enhances average test accuracy by 0.73% compared to state-of-the-art baselines.

1. Introduction

In Federated Learning (FL), a central server coordinates a global model by aggregating updates from various clients, such as mobile devices or medical institutions. Due to communication constraints, the server can only engage a subset of clients in each training round. Selecting the "right" clients is critical: focusing solely on high-quality data providers can lead to the exclusion of minority participants (client attrition), while indiscriminate selection can allow low-quality or malicious updates to degrade the model (the free-rider problem).

Existing selection strategies typically rely on fixed performance thresholds. If a client's data appears low-quality early in the training process, they are often permanently excluded. This is particularly problematic for "hard" data samples that are difficult to learn initially but essential for long-term model robustness. FairFedCS addresses this by treating client selection as a dynamic optimization problem that accounts for both historical contribution and participation equity.

2. The FairFedCS Framework

FairFedCS is built upon three mathematical pillars designed to create a sustainable and high-performing ecosystem for federated participants.

2.1 Contribution-based Reputation

To accurately measure a client's value, FairFedCS employs GTG-Shapley, a computationally efficient variation of Shapley Values from cooperative game theory. This metric quantifies the marginal improvement a specific client’s update brings to the global model. These values are then integrated into a Beta Reputation System (BRS), which tracks a client’s reliability over time rather than making decisions based on a single snapshot of performance.

2.2 Virtual Unfairness Queues

Drawing from control theory, the system maintains a "virtual queue" for every participant. When a client is not selected for a training round, their unfairness queue grows. Crucially, the growth rate is weighted by the client's reputation; high-reputation clients see their unfairness scores rise more rapidly if they are ignored, ensuring that the most valuable contributors are prioritized for "repayment" of their participation debt.

2.3 Lyapunov Optimization

The core engine of FairFedCS is the Client Suitability Index (CSI), calculated via Lyapunov optimization. The CSI is a weighted sum of a client’s current reputation and their accumulated unfairness score. A control parameter ($\sigma$) allows administrators to tune the system’s sensitivity, shifting the focus between maximum accuracy and maximum fairness as needed. This mathematical approach allows the system to naturally oscillate between picking high-performers and rewarding neglected clients without the need for manual "if-then" rules.

3. Experimental Evaluation

The researchers evaluated FairFedCS using the Fashion-MNIST and CIFAR-10 datasets. To simulate real-world heterogeneity, the data was distributed across 40 clients with varying levels of label noise (0% to 45%) and Non-IID (Independent and Identically Distributed) scenarios. In these scenarios, certain "minority clients" held unique data classes not present in the rest of the network.

3.1 Key Results

FairFedCS was compared against four baselines, including greedy performance-oriented selection and state-of-the-art fairness approaches like RBCS-F. The findings include:

  • Enhanced Fairness: FairFedCS achieved a 19.6% higher Jain’s Fairness Index (JFI) than the best-performing baseline, indicating a much more equitable distribution of participation.
  • Improved Accuracy: Despite the emphasis on fairness, the framework increased test accuracy by 0.73% on average. This suggests that including minority clients provides the model with a wider variety of data, improving generalization.
  • Robustness to Noise: In environments with 20% label noise, FairFedCS outperformed baselines by 2.71% on Fashion-MNIST. The reputation system effectively distinguished between clients with difficult but valuable data and those providing purely noisy updates.

4. Discussion and Conclusion

A primary innovation of FairFedCS is the "redemption" mechanism. By avoiding permanent blacklists, the system allows clients to rebuild their reputation if their data quality improves or if the model reaches a stage where it can finally benefit from their specific data samples. This prevents the permanent loss of potentially valuable participants.

While FairFedCS shows significant promise, future work is required to address the computational overhead of calculating Shapley Values in extremely large-scale networks. Additionally, the current model assumes a single-server environment; exploring multi-server marketplaces where clients can migrate between different FL tasks remains an open area for research. Ultimately, FairFedCS demonstrates that fairness is not merely a social constraint but a technical lever that can be used to build more robust and accurate decentralized AI systems.

Summary updated

BibTeX
@inproceedings{shi2023fairness,
  author = {Yuxin Shi and Zelei Liu and Zhuan Shi and Han Yu},
  title = {{Fairness-Aware Client Selection for Federated Learning}},
  booktitle = {ICME},
  year = {2023},
  doi = {10.1109/icme55011.2023.00063},
}
Figure