Introduction
Federated Learning (FL) enables a central server to train a global model by aggregating updates from decentralized clients, such as mobile devices or IoT sensors, without accessing their raw data. Despite its promise, FL faces two critical challenges: inefficient client sampling and extreme data heterogeneity (non-IID data). Most existing methods rely on random client selection, which can lead to redundant updates or biased models if the selected subset is not representative of the global data distribution. Furthermore, real-world data is rarely distributed uniformly; a single user might possess a disproportionately large or skewed dataset, complicating the training process and potentially compromising privacy if data volumes are revealed.
The FedSTaS Framework
To address these hurdles, we propose FedSTaS (Federated Stratification and Sampling), a dual-layered sampling strategy designed to bridge the performance gap between decentralized FL and centralized learning. The framework operates through three primary mechanisms:
- Client Stratification: The server clusters clients into distinct "strata" based on their Information Squeezed (IS) gradients. By utilizing compressed versions of model updates, the server identifies clients with similar data characteristics without ever inspecting raw local data.
- Optimal Allocation: Using Neyman allocation, the system calculates the optimal number of clients to sample from each stratum. This minimizes the variance of the global update by prioritizing clients with the most representative or high-impact gradients.
- Privacy-Preserving Data Sampling: Once selected, clients do not utilize their entire local dataset. Instead, they sample a specific ratio of their data to mimic a uniform global distribution. To protect the privacy of a client's total dataset size, FedSTaS employs a Local Differential Privacy (LDP) mechanism, mixing actual data counts with noise drawn from a multinomial distribution.
Experimental Evaluation
We evaluated FedSTaS using standard computer vision benchmarks, MNIST and CIFAR-100. To simulate challenging real-world conditions, we applied a Dirichlet distribution ($\alpha$) to create highly imbalanced partitions. At $\alpha = 0.01$, the data distribution is extremely skewed, serving as a rigorous stress test for the algorithm's robustness.
Key Results
FedSTaS demonstrates superior performance and faster convergence compared to baseline methods, particularly in non-IID scenarios.
- MNIST Performance: Under extreme imbalance ($\alpha=0.001$), FedSTaS achieved 61.90% accuracy, representing a 17.6% absolute improvement over the baseline FedSTS (44.3%) within 99 communication rounds.
- CIFAR-100 Performance: On the more complex CIFAR-100 task, FedSTaS reached 23.21% accuracy, a 28.9% relative improvement over the baseline.
- Privacy-Utility Trade-off: Notably, the integration of Differential Privacy (DP) for sampling ratio estimation resulted in only a marginal impact on final accuracy. As shown in the performance curves, the private variant (DP + Compressed) remains highly competitive with the non-private version and significantly outperforms standard stratified sampling.
Discussion and Future Work
The core innovation of FedSTaS lies in its "centralized mimicry"—ensuring that the global model is not over-influenced by data-heavy clients through precise data-level sampling. Furthermore, it demonstrates that gradient compression can serve as a powerful feature for client clustering rather than just a bandwidth-saving tool.
Future research will focus on providing a rigorous theoretical proof of the convergence rate and exploring "optimal allocation" logic at the data level to further reduce variance. Additionally, we aim to conduct head-to-head comparisons against other advanced aggregation techniques like Clustered Sampling to further validate the efficiency of the FedSTaS approach.
Summary updated