Optimal Client Sampling in Federated Learning with Client-Level Heterogeneous Differential Privacy

Jiahao Xu, Rui Hu, Olivera Kotevska · DOI

Abstract

Federated Learning with client-level differential privacy (DP) provides a promising framework for collaboratively training models while rigorously protecting clients' privacy. However, classic approaches like DP-FedAvg struggle when clients have heterogeneous privacy requirements, as they must uniformly enforce the strictest privacy level across all clients, leading to excessive DP noise and significant degradation in model utility. Existing methods to improve the model utility in such heterogeneous privacy settings often assume a trusted server and are largely heuristic, resulting in suboptimal performance and lacking strong theoretical foundations. In this work, we address these challenges under a practical attack model where both clients and the server are honest-but-curious. We propose GDPFed, which partitions clients into groups based on their privacy budgets and achieves client-level DP within each group to reduce the privacy budget waste and hence improve the model utility. Based on the privacy and convergence analysis of GDPFed, we find that the magnitude of DP noise depends on both model dimensionality and the per-group client sampling ratios. To further improve the performance of GDPFed, we introduce GDPFed+, which integrates model sparsification to eliminate unnecessary noise and optimizes per-group client sampling ratios to minimize convergence error. Extensive empirical evaluations on multiple benchmark datasets demonstrate the effectiveness of GDPFed+, showing substantial performance gains compared with state-of-the-art methods.

Introduction

Federated Learning (FL) enables collaborative model training across decentralized devices without centralizing raw data. To mitigate privacy risks from model updates, Differential Privacy (DP) is often employed by adding calibrated noise. However, standard DP-FL algorithms like DP-FedAvg suffer from a "lowest common denominator" problem: if a single client requires high privacy (a small $\epsilon$), the entire system must adopt that noise level. This leads to significant privacy budget waste for clients with more relaxed requirements and severely degrades model utility.

Furthermore, many existing solutions assume a fully trusted central server. In practice, a more realistic "honest-but-curious" model is necessary, where both the clients and the server follow the protocol but may attempt to infer private information from observed updates.

Methodology: GDPFed and GDPFed+

To address these challenges, we propose two frameworks:

  1. GDPFed (Group-based DP Federated Learning): This approach partitions clients into groups based on their specific privacy budgets. By calibrating noise per group rather than globally, GDPFed prevents the strictest privacy requirements from disproportionately impacting the utility of other groups.
  2. GDPFed+ (Optimized GDPFed): We enhance GDPFed with two critical optimizations:
  3. Model Sparsification (Top-k): Since DP noise scales with model dimensionality, we apply top-k sparsification to model updates. By transmitting only the most significant parameters, we effectively lower the noise floor.
  4. Optimal Client Sampling: We derive a formal convergence bound to determine the optimal sampling ratio ($q_m$) for each group. This balances the benefit of increased data participation against the cost of additional DP noise.

The system incorporates Secure Aggregation to ensure that the honest-but-curious server only observes the noisy aggregate, preserving individual client privacy.

Experimental Evaluation

We evaluated GDPFed+ on four benchmarks: FMNIST, SVHN, CIFAR-10, and Shakespeare. These cover a range of tasks from simple image classification to complex language modeling with non-IID data distributions.

Test accuracy across different training rounds for FMNIST, SVHN, CIFAR-10, and Shakespeare datasets.

Results and Discussion

Our results demonstrate that GDPFed+ consistently outperforms existing state-of-the-art methods. As shown in the performance curves, GDPFed+ maintains high accuracy even in complex settings where standard DP-FedAvg performance collapses (e.g., the Shakespeare dataset).

Final test accuracy comparison across different methods and datasets.

Key findings include:

  • Superior Accuracy: GDPFed+ achieved an average accuracy of 56.93%, surpassing PFA (53.76%) and IDP-FedAvg (54.00%). The framework achieves accuracy gains of up to 37% over standard methods in certain heterogeneous settings.
  • Noise Reduction: On FMNIST, GDPFed+ reduced total noise magnitude from 5.09 (DP-FedAvg) to 0.49, a ten-fold improvement.
  • Dimensionality and Sampling: Sparsification is a fundamental privacy-utility tool, not just a compression trick. Similarly, optimal sampling ensures that "strict" privacy groups do not introduce more noise than their data is worth.

Conclusion

GDPFed+ provides a robust and theoretically grounded framework for FL with heterogeneous privacy requirements. By combining group-based noise calibration, model sparsification, and optimized sampling, it achieves significant utility gains while maintaining rigorous DP guarantees. Future work will explore adaptive clipping thresholds and further refine sparsification strategies for diverse neural architectures.

Summary updated

BibTeX
@article{xu2025optimal,
  author = {Jiahao Xu and Rui Hu and Olivera Kotevska},
  title = {{Optimal Client Sampling in Federated Learning with Client-Level Heterogeneous Differential Privacy}},
  journal = {IEEE Internet of Things Journal},
  year = {2025},
  doi = {10.1109/jiot.2026.3661913},
}
Figure