Dual Defense: Enhancing Privacy and Mitigating Poisoning Attacks in Federated Learning

Runhua Xu, Shiqi Gao, Chao Li, J. Joshi, Jianxin Li
2/10/2026

No official code found. Best implementation: irxyzzz/DualDefense (6 stars, MIT, last commit 2024-10-28).

Abstract

Federated learning (FL) is inherently susceptible to privacy breaches and poisoning attacks. To tackle these challenges, researchers have separately devised secure aggregation mechanisms to protect data privacy and robust aggregation methods that withstand poisoning attacks. However, simultaneously addressing both concerns is challenging; secure aggregation facilitates poisoning attacks as most anomaly detection techniques require access to unencrypted local model updates, which are obscured by secure aggregation. Few recent efforts to simultaneously tackle both challenges offen depend on impractical assumption of non-colluding two-server setups that disrupt FL's topology, or three-party computation which introduces scalability issues, complicating deployment and application. To overcome this dilemma, this paper introduce a Dual Defense Federated learning (DDFed) framework. DDFed simultaneously boosts privacy protection and mitigates poisoning attacks, without introducing new participant roles or disrupting the existing FL topology. DDFed initially leverages cutting-edge fully homomorphic encryption (FHE) to securely aggregate model updates, without the impractical requirement for non-colluding two-server setups and ensures strong privacy protection. Additionally, we proposes a unique two-phase anomaly detection mechanism for encrypted model updates, featuring secure similarity computation and feedback-driven collaborative selection, with additional measures to prevent potential privacy breaches from Byzantine clients incorporated into the detection process. We conducted extensive experiments on various model poisoning attacks and FL scenarios, including both cross-device and cross-silo FL. Experiments on publicly available datasets demonstrate that DDFed successfully protects model privacy and effectively defends against model poisoning threats.

View on arXivView PDF

Code Implementations(1)

irxyzzz/DualDefenseCommunity100%
MIT
62Shell, PythonMay 22, 20241 years agoMIT

Similar Papers

Cite this paper

@article{xu2026dual,
  title  = {Dual Defense: Enhancing Privacy and Mitigating Poisoning Attacks in Federated Learning},
  author = {Runhua Xu and Shiqi Gao and Chao Li and J. Joshi and Jianxin Li},
  year   = {2026},
  eprint = {2502.05547},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.05547},
  journal = {NEURIPS 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.05547.svg)](https://codeofpaper.com/paper/2502.05547)

Discussion