Abstract
Federated Learning (FL) faces significant challenges when dealing with non-IID (Not Independent and Identically Distributed) data across decentralized devices. Biased local updates can degrade global model performance and waste communication resources. We present FedEntropy, a novel framework that utilizes a "Maximum Entropy Judgment" heuristic to pre-screen devices. By analyzing lightweight "soft labels," the server identifies and aggregates only those local models that contribute to a more balanced global distribution. Experimental results across CIFAR-10, CIFAR-100, and CINIC-10 demonstrate that FedEntropy significantly improves model accuracy and communication efficiency compared to standard FL baselines.
Introduction
Standard Federated Learning algorithms, such as FedAvg, typically treat all participating devices as equal contributors. In real-world scenarios, however, edge devices often possess highly biased datasets (e.g., an IoT sensor only observing a specific class of objects). Aggregating these biased updates can "poison" the global model, leading to poor generalization and increased communication overhead. The core challenge lies in filtering these harmful updates without compromising user privacy or requiring access to raw local data.
The FedEntropy Framework
FedEntropy introduces a judgment phase into the standard FL loop to evaluate device contributions before full model transmission. The workflow is divided into two primary stages:
- Soft Label Collection: Instead of immediate model uploading, the server requests "soft labels" from devices. These are the averaged outputs of the local model's softmax layer, serving as a privacy-preserving "fingerprint" of the local data distribution.
- Maximum Entropy Judgment: The server applies the Maximum Entropy Principle to these fingerprints. It iteratively selects a subset of devices—the "positive pool"—that maximizes the overall information entropy of the aggregated group. Only these devices are authorized to upload their full model weights.
To prevent the permanent exclusion of certain devices, an $\epsilon$-greedy policy is employed, occasionally selecting devices from the "negative pool" to allow them to contribute as the global model evolves.
Experimental Evaluation
The framework was evaluated on three image classification benchmarks: CIFAR-10, CIFAR-100 (grouped into 20 superclasses), and CINIC-10. To simulate diverse real-world conditions, three non-IID scenarios were tested:
- Case 1: Extreme bias (one label per device).
- Case 2: Moderate bias (two labels per device).
- Case 3: Imbalanced distribution (Dirichlet distribution).
Results and Discussion
FedEntropy consistently outperformed baselines like FedAvg, FedProx, and Moon across all datasets and non-IID cases.
Accuracy and Efficiency
In the most challenging Case 1 scenario on CIFAR-10, FedEntropy achieved an accuracy of 32.52%, surpassing FedAvg (27.08%) and Moon (22.10%). Furthermore, FedEntropy reached target accuracy thresholds significantly faster; for instance, it required only 340 rounds to reach 30% accuracy on CIFAR-10, compared to 591 rounds for FedAvg.
Compatibility and Synergy
A key strength of FedEntropy is its role as a grouping strategy rather than a replacement for existing optimizers. When integrated with FedAvg, the combined "FedAvg + FedEntropy" approach reached 40.74% accuracy in CIFAR-10 Case 1, nearly doubling the performance of standalone baselines. This demonstrates that the entropy-based selection mechanism effectively complements existing weight-optimization techniques.
Conclusion
FedEntropy provides a mathematically grounded approach to managing data heterogeneity in Federated Learning. By prioritizing "quality over quantity" through soft-label-based entropy judgment, the framework achieves superior accuracy and communication efficiency. Future work will focus on optimizing the iterative selection algorithm for scenarios with massive class counts and further reducing the overhead of the initial soft-label exchange.
Summary updated