Optimizing Federated Learning by Entropy-Based Client Selection

Andreas Lutz, Gabriele Steidl, Karsten Müller, Wojciech Samek

Abstract

Federated Learning (FL) often suffers from performance degradation due to non-IID data distributions, specifically label skew. This paper proposes FedEntOpt, an entropy-based client selection strategy that greedily selects clients to maximize the Shannon entropy of the aggregated label distribution in each round. By ensuring a balanced global view of data, FedEntOpt significantly improves model accuracy and robustness, particularly in low-participation and unreliable environments.

Introduction: The Challenge of Label Skew

In Federated Learning, data is distributed across numerous clients and is rarely Independent and Identically Distributed (IID). This "label skew" means certain classes may be heavily over-represented or entirely missing in any given subset of clients. When a central server selects a small group of clients for a training round at random, the resulting aggregated update is often biased, leading to poor global model performance. While many existing methods attempt to mitigate this bias during training (e.g., via modified loss functions), FedEntOpt addresses the root cause at the selection stage.

Methodology: Federated Entropy Optimization

The core innovation of FedEntOpt is a greedy selection algorithm designed to create a "mini-world" of balanced data in every communication round.

Entropy Maximization

Before training, clients share a one-time, low-overhead "label count vector" with the server. During each round, the server iteratively selects clients that maximize the Shannon entropy of the combined label distribution. Maximizing entropy pushes the aggregated distribution toward uniformity, ensuring the model is exposed to all classes equally.

Figure 1: Entropy of accumulated label distribution across communication rounds for different selection strategies. FedEntOpt (Proposed Selection) consistently maintains higher entropy than random selection.

Diversity and Privacy

To ensure all clients eventually contribute and to prevent overfitting to a small "balanced" subset, a FIFO (First-In-First-Out) buffer is used to temporarily bench recently selected clients. Furthermore, the method supports Differential Privacy (DP) by adding Laplace noise to the label counts, maintaining high accuracy while protecting sensitive data distribution information.

Experimental Results

The authors evaluated FedEntOpt on several benchmarks, including CIFAR-10, CIFAR-100, CINIC-10, and specialized medical imaging datasets like PathMNIST and Brain-Tumor MRI.

Performance in Low-Participation Scenarios

FedEntOpt demonstrates its greatest strengths when only a small percentage of clients participate in each round. As shown in the results, the performance gap between FedEntOpt and standard methods like FedAvg or FedProx widens significantly as the participation rate decreases.

Figure 2: Test accuracy across different datasets and partitions. FedEntOpt (yellow bars) consistently outperforms baseline methods, especially at lower client participation rates.

Robustness and Synergy

The method proved highly robust to real-world issues like client dropout and straggling. Additionally, because FedEntOpt is a selection strategy, it is orthogonal to training-based optimizations. Combining it with algorithms like SCAFFOLD or FedNova resulted in accuracy improvements of over 40% in highly skewed partitions.

Conclusion

FedEntOpt provides a simple yet powerful solution to the label skew problem in Federated Learning. By prioritizing label diversity during client selection, it achieves state-of-the-art performance with minimal communication overhead. Future work will focus on addressing adversarial clients who might misreport label counts and adapting the strategy for dynamic datasets where local distributions change over time.

Summary updated

BibTeX
@misc{lutz2024optimizing,
  author = {Andreas Lutz and Gabriele Steidl and Karsten Müller and Wojciech Samek},
  title = {{Optimizing Federated Learning by Entropy-Based Client Selection}},
  year = {2024},
  eprint = {2411.01240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.01240},
}
Figure