Multi-metrics adaptively identifies backdoors in Federated learning

Siquan Huang, Yijiang Li, Chong Chen, Leyu Shi, Ying Gao
3/12/2023
cs.CRcs.CVcs.LG

No official code found. Best implementation: siquanhuang/Multi-metrics (39 stars, last commit 2025-08-07).

Abstract

The decentralized and privacy-preserving nature of federated learning (FL) makes it vulnerable to backdoor attacks aiming to manipulate the behavior of the resulting model on specific adversary-chosen inputs. However, most existing defenses based on statistical differences take effect only against specific attacks, especially when the malicious gradients are similar to benign ones or the data are highly non-independent and identically distributed (non-IID). In this paper, we revisit the distance-based defense methods and discover that i) Euclidean distance becomes meaningless in high dimensions and ii) malicious gradients with diverse characteristics cannot be identified by a single metric. To this end, we present a simple yet effective defense strategy with multi-metrics and dynamic weighting to identify backdoors adaptively. Furthermore, our novel defense has no reliance on predefined assumptions over attack settings or data distributions and little impact on benign performance. To evaluate the effectiveness of our approach, we conduct comprehensive experiments on different datasets under various attack settings, where our method achieves the best defensive performance. For instance, we achieve the lowest backdoor accuracy of 3.06% under the difficult Edge-case PGD, showing significant superiority over previous defenses. The results also demonstrate that our method can be well-adapted to a wide range of non-IID degrees without sacrificing the benign performance.

View on arXivView PDF

Code Implementations(1)

Multi-metrics adaptively identifies backdoors in Federated learning

397Shell, PythonAug 10, 20231 years ago

Similar Papers

Cite this paper

@article{huang2023multimetrics,
  title  = {Multi-metrics adaptively identifies backdoors in Federated learning},
  author = {Siquan Huang and Yijiang Li and Chong Chen and Leyu Shi and Ying Gao},
  year   = {2023},
  eprint = {2303.06601},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06601v2},
  journal = {ICCV 2023 2023}
}

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/2303.06601.svg)](https://codeofpaper.com/paper/2303.06601)

Discussion