Towards the Robustness of Differentially Private Federated Learning

Tao Qi, Huili Wang, Yongfeng HuangAAAI 2024

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for collaborative model training without centralizing raw user data. To ensure "trustworthy" FL, systems typically rely on two pillars: Differential Privacy (DP) to protect against data leakage through gradient inversion, and Robust Aggregation to defend against model poisoning attacks. However, these two security measures are often studied in isolation. This research reveals a critical security gap: the noise introduced by DP to protect privacy actually undermines traditional robustness defenses, making models more vulnerable to sophisticated poisoning.

The Outlier Paradox in DP-FL

In conventional FL, malicious updates are typically "outliers"—they have significantly different magnitudes or directions compared to clean updates. Robust aggregators like Krum or Median exploit this by filtering out these outliers.

However, in a DP-enabled system, the "clean" updates are intentionally perturbed with random noise. This noise increases the variance and the norm of the updates. As a result, clean updates often appear more erratic than a carefully crafted poisoned update. This creates an "Outlier Paradox": traditional defenses end up discarding legitimate, noisy data while accepting poisoned updates that have been "norm-aligned" to mimic the expected noise level.

Comparison of gradient distributions in conventional FL vs. DP-FL. In DP-FL, poisoned gradients are harder to distinguish from clean ones due to DP noise.

Proposed Methods: Attack-DPFL and Robust-DPFL

The authors introduce two primary contributions to explore and mitigate this vulnerability.

Attack-DPFL: Exploiting the Noise

The Attack-DPFL method leverages the observation that DP noise significantly increases the typical "norm" (magnitude) of gradient updates. The adversary scales their malicious gradient to match the expected norm of a noisy DP update. To the server, this amplified poison appears as a standard, high-magnitude update, allowing it to bypass outlier-based filters and dominate the global model's learning process.

Robust-DPFL: A Statistical Defense

To counter this, the authors propose Robust-DPFL, a defense mechanism that works with the statistical properties of DP noise. The core of this defense is a "Detection Score" based on the zero-mean property of Gaussian noise.

When elements of a noisy but clean gradient are averaged, the random noise tends to cancel out, resulting in a score near zero. In contrast, a poisoned gradient is structured and amplified; its elements do not cancel out, leading to a significantly higher detection score.

Distribution of Detection Scores for clean (blue) and poisoned (red) updates on the FEMNIST dataset, showing clear separability.

The server calculates this score for every update and uses K-means clustering to separate "low-score" (clean) updates from "high-score" (poisoned) updates, aggregating only the former.

Experimental Results

The researchers evaluated Robust-DPFL against standard benchmarks (MNIST, FEMNIST, CIFAR-10) and compared it to industry-standard robust aggregators.

  • Attack Mitigation: On the FEMNIST dataset, traditional defenses like Krum suffered an Attack Success Rate (ASR) of nearly 100%. Robust-DPFL successfully reduced the ASR to just 2.49%.
  • Performance Preservation: While other defenses often caused model accuracy to collapse (dropping to ~10% on some tasks), Robust-DPFL maintained high performance. For instance, on MNIST, it achieved 97.43% accuracy, nearly matching the ideal non-attack scenario.
  • Resilience: The defense remained effective even as the proportion of malicious clients reached 20%, a threshold where most baseline defenses fail.

Conclusion

This work highlights that privacy and robustness in Federated Learning are not just additive components but interact in complex ways. By treating DP noise as a statistical "fingerprint" rather than just a nuisance, Robust-DPFL provides a path toward building FL systems that are both private and resilient to adversarial manipulation.

Summary updated

BibTeX
@inproceedings{qi2024towards,
  author = {Tao Qi and Huili Wang and Yongfeng Huang},
  title = {{Towards the Robustness of Differentially Private Federated Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i18.29967},
}
Figure