Emulating Full Client Participation: A Long-Term Client Selection Strategy for Federated Learning

Qingming Li, Juzheng Miao, Puning Zhao, Li Zhou, Shouling Ji, Bowen Zhou, Furui Liu · OpenReview

Abstract

Client selection significantly affects the system convergence efficiency and is a crucial problem in federated learning. Existing methods often select clients by evaluating each round individually and overlook the necessity for long-term optimization, resulting in suboptimal performance and potential fairness issues. In this study, we propose a novel client selection strategy designed to emulate the performance achieved with full client participation. In a single round, we select clients by minimizing the gradient-space estimation error between the client subset and the full client set. In multi-round selection, we introduce a novel individual fairness constraint, which ensures that clients with similar data distributions have similar frequencies of being selected. This constraint guides the client selection process from a long-term perspective. We employ Lyapunov optimization and submodular functions to efficiently identify the optimal subset of clients, and provide a theoretical analysis of the convergence ability. Experiments demonstrate that the proposed strategy significantly improves both accuracy and fairness compared to previous methods while also exhibiting efficiency by incurring minimal time overhead.

Introduction

In Federated Learning (FL), a central server coordinates model training across numerous edge devices (clients) without accessing their raw data. Due to bandwidth and resource constraints, only a small subset of clients can be selected for participation in each training round. This selection process faces a fundamental trade-off: maximizing model performance often involves selecting clients with high loss or informative gradients, which can lead to neglecting other clients and creating fairness issues. Conversely, uniform sampling may ignore the diversity and utility of specific client data.

Existing strategies often focus on short-term, per-round optimization, which can lead to suboptimal global convergence and marginalize certain data distributions. To address this, we propose LongFed, a strategy that treats client selection as a long-term optimization problem aimed at emulating "Full Participation"—the gold standard where every client contributes to every round.

Methodology

The LongFed strategy is built upon two core principles:

  1. Principle I: Distribution Matching. The goal is to select a subset of clients whose combined gradients most closely approximate the gradient of the entire population. This transforms client selection into a "coreset" problem, ensuring the selected group is representative of the whole.
  2. Principle II: Individual Fairness. To ensure long-term stability and fairness, clients with similar data distributions should be selected with similar frequencies over time. This prevents the system from repeatedly favoring specific clients while ignoring their "twins" with similar data.
Visualization of client selection in clustering and non-clustering scenarios across multiple rounds.

To implement these principles, we utilize Lyapunov Optimization. This control-theoretic approach allows us to transform long-term fairness constraints into immediate, per-round decisions by maintaining "virtual queues" that track the "fairness debt" owed to different client types. As a client remains unselected, the "pressure" in its virtual queue increases, eventually forcing its selection to maintain system stability.

The resulting objective function is shown to be submodular (specifically a facility location function), allowing for an efficient greedy selection process as detailed in Algorithm 1.

The proposed greedy client selection strategy (Algorithm 1).

Experimental Evaluation

We evaluated LongFed using standard benchmarks, including Fashion-MNIST (FMNIST) and CIFAR-10. To simulate realistic, heterogeneous (non-IID) environments, we employed various partitioning methods:

  • 1SPC/2SPC: Clients hold data for only 1 or 2 specific labels.
  • Dirichlet Distribution: A heterogeneous split where both label distribution and data volume vary per client.

Results and Discussion

The experimental results highlight the effectiveness of the LongFed strategy:

  • Accuracy Gains: In highly heterogeneous 1SPC scenarios, LongFed achieved a 20% improvement in test accuracy over standard baselines. In other settings, it consistently provided an 8% boost.
  • Emulating Full Participation: LongFed's performance trajectory closely mirrors the "Full Participation" scenario, demonstrating that it effectively captures the global data distribution with only a fraction of clients.
  • Enhanced Fairness: The strategy significantly reduced the standard deviation in selection frequencies among similar clients compared to traditional loss-based methods.
  • Efficiency: The computational overhead is negligible; the selection process adds less than 0.5ms to a training round that typically lasts 2,000ms.

Conclusion

LongFed successfully reconciles the tension between accuracy and fairness in federated learning by adopting a long-term optimization perspective. By emulating full client participation through gradient-space matching and Lyapunov-based fairness constraints, it provides a robust and efficient solution for client selection. Future work will investigate the strategy's resilience against adversarial or noisy data environments and explore alternative metrics for client similarity.

Summary updated

BibTeX
@misc{li2024emulating,
  author = {Qingming Li and Juzheng Miao and Puning Zhao and Li Zhou and Shouling Ji and Bowen Zhou and Furui Liu},
  title = {{Emulating Full Client Participation: A Long-Term Client Selection Strategy for Federated Learning}},
  year = {2024},
  eprint = {2405.13584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.13584},
}
Figure