Mitigating Disparate Impact of Differential Privacy in Federated Learning through Robust Clustering

Saber Malekmohammadi, Afaf Taïk, Golnoosh Farnadi · OpenReview

TL;DR

This paper introduces R-DPCFL, a novel differentially private federated learning algorithm that robustly clusters clients based on both their model updates and training losses. By strategically using large batch sizes in the initial rounds and a Gaussian Mixture Model, R-DPCFL effectively mitigates the performance disparities introduced by differential privacy, especially for minority client groups, leading to improved overall accuracy and fairness.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple clients to collaboratively train a machine learning model without sharing their raw data. To further enhance privacy, Differential Privacy (DP) is often integrated, leading to Differentially Private Federated Learning (DPFL). However, a significant challenge in DPFL is that DP noise can exacerbate existing performance disparities among clients, particularly impacting minority groups. While clustered FL has been proposed to address data heterogeneity in vanilla FL, these methods are sensitive to noise and prone to errors, which are amplified in DPFL. This paper tackles the problem of effectively clustering clients in DPFL settings with structured data heterogeneity to ensure fairer and more accurate model performance across all clients, especially those in minority groups.

Methods

The core of the proposed R-DPCFL algorithm lies in its robust clustering strategy. Instead of relying solely on model updates or loss values, R-DPCFL combines both for client clustering. Key methodological contributions include:

  • Hybrid Clustering: Clients are clustered based on a combination of their model updates and training loss values.
  • Strategic Batch Size Usage: In the crucial first round, clients use full batch sizes (equal to their local dataset size). This significantly reduces the noise in their model updates, making them more reliable for initial clustering. In subsequent rounds, smaller batch sizes are used.
  • Gaussian Mixture Model (GMM) for Initial Clustering: The server uses a GMM to soft-cluster clients based on their less noisy model updates from the first round. This approach is designed to be robust to DP and stochastic noise.
  • Adaptive Clustering Strategy: The algorithm dynamically switches its clustering strategy. Initially, it relies on the GMM-based soft clustering. After a certain number of rounds (determined by the GMM's confidence), it transitions to a local hard clustering based on clients' loss values.
  • Theoretical Analysis: The paper provides theoretical justifications for the effectiveness of using large initial batch sizes and the convergence properties of the GMM.

Datasets

The paper evaluates R-DPCFL on three standard benchmark datasets:

  • MNIST: Used for classification tasks.
  • FMNIST (Fashion-MNIST): Also used for classification.
  • CIFAR10: Used for image classification.

These datasets are utilized with both covariate shift (differences in data distributions) and concept shift (differences in label distributions) to simulate structured data heterogeneity across clusters.

Key Insights and Ideas

  • DP Amplifies Heterogeneity Issues: The paper highlights that DP, while crucial for privacy, can worsen existing performance gaps in FL, especially for smaller client groups.
  • Initial Clustering is Paramount: The success of clustered FL in DP settings hinges on accurate client grouping in the early stages. The proposed method's focus on reducing noise in the first round's model updates is critical for this.
  • Batch Size is a Double-Edged Sword: While larger batch sizes reduce noise in model updates, they can also increase DP noise. R-DPCFL cleverly uses large batches only in the first round to improve initial clustering, then switches to smaller batches to manage DP noise in subsequent training.
  • Combining Model Updates and Losses is Key: Relying on just one signal for clustering is insufficient in noisy DPFL environments. The hybrid approach provides a more robust signal.
  • GMM as a Noise-Resilient Clustering Tool: The use of GMM for initial soft clustering is effective in handling the inherent noise introduced by DP and stochasticity.

Key Results

  • Improved Accuracy: R-DPCFL consistently outperforms baseline algorithms (Global, Local, MR-MTL, IFCA) in terms of average test accuracy across clients, especially for minority groups.
  • Robust Clustering: The algorithm demonstrates a high success rate in correctly identifying the underlying cluster structure, even with significant data heterogeneity and DP noise. For instance, it correctly detects clusters in most experiments, outperforming IFCA, which struggles with minority cluster detection.
  • Fairness for Minority Clients: R-DPCFL significantly improves the performance of clients in minority clusters, preventing them from being mixed with majority clusters and thus receiving less optimal model updates.
  • Efficiency: The proposed method achieves these improvements with minimal computational overhead.
  • Theoretical Guarantees: The paper provides theoretical analysis supporting the effectiveness of the proposed batch size strategy and the robustness of the GMM-based clustering.

Limitations and Future Work

  • Scarcity of Data: While the paper envisions R-DPCFL for cross-silo FL with large local datasets, it acknowledges that performance might be affected with very scarce local data. However, it suggests that using smaller batch sizes after the first round can compensate for this.
  • Extension to Scarce Data Scenarios: The authors explicitly mention that a future direction is to extend the approach to be suitable for scarce data scenarios.
  • Hyperparameter Tuning: While the paper proposes methods for setting key hyperparameters like the number of clusters (M) and the switching time (Ec), further research could explore more automated or adaptive hyperparameter selection strategies.

Summary updated

BibTeX
@article{malekmohammadi2025mitigating,
  author = {Saber Malekmohammadi and Afaf Taïk and Golnoosh Farnadi},
  title = {{Mitigating Disparate Impact of Differential Privacy in Federated Learning through Robust Clustering}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=JSsko0a4yr},
}
Figure