English

Dim-Krum: Backdoor-Resistant Federated Learning for NLP with Dimension-wise Krum-Based Aggregation

Machine Learning 2022-10-14 v1 Cryptography and Security

Abstract

Despite the potential of federated learning, it is known to be vulnerable to backdoor attacks. Many robust federated aggregation methods are proposed to reduce the potential backdoor risk. However, they are mainly validated in the CV field. In this paper, we find that NLP backdoors are hard to defend against than CV, and we provide a theoretical analysis that the malicious update detection error probabilities are determined by the relative backdoor strengths. NLP attacks tend to have small relative backdoor strengths, which may result in the failure of robust federated aggregation methods for NLP attacks. Inspired by the theoretical results, we can choose some dimensions with higher backdoor strengths to settle this issue. We propose a novel federated aggregation algorithm, Dim-Krum, for NLP tasks, and experimental results validate its effectiveness.

Keywords

Cite

@article{arxiv.2210.06894,
  title  = {Dim-Krum: Backdoor-Resistant Federated Learning for NLP with Dimension-wise Krum-Based Aggregation},
  author = {Zhiyuan Zhang and Qi Su and Xu Sun},
  journal= {arXiv preprint arXiv:2210.06894},
  year   = {2022}
}

Comments

Accepted by Findings of EMNLP 2022

R2 v1 2026-06-28T03:32:15.801Z