Lune

NeurIPS2023Top-tier venue

Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor Defense

Zhiyuan Zhang, Deli Chen, Hao Zhou, Fandong Meng, Jie Zhou, Xu Sun

Abstract

Federated learning algorithms enable neural network models to be trained across multiple decentralized edge devices without sharing private data. However, they are susceptible to backdoor attacks launched by malicious clients. Existing robust federated aggregation algorithms heuristically detect and exclude suspicious clients based on their parameter distances, but they are ineffective on Natural Language Processing (NLP) tasks. The main reason is that, although text backdoor patterns are obvious at the underlying dataset level, they are usually hidden at the parameter level, since injecting backdoors into texts with discrete feature space has less impact on the statistics of the model parameters. To settle this issue, we propose to identify backdoor clients by explicitly modeling the data divergence among clients in federated NLP systems. Through theoretical analysis, we derive the f-divergence indicator to estimate the client data divergence with aggregation updates and Hessians. Furthermore, we devise a dataset synthesization method with a Hessian reassignment mechanism guided by the diffusion theory to address the key challenge of inaccessible datasets in calculating clients’ data Hessians. We then present the novel Federated F-Divergence-Based Aggregation ( Fed-FA ) algorithm, which leverages the f-divergence indicator to detect and discard suspicious clients. Extensive empirical results show that Fed-FA outperforms all the parameter distance-based methods in defending against backdoor attacks among various natural language backdoor attack scenarios.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Input-Aware Dynamic Backdoor Attack cites Trojaning Attack on Neural Networks
  • Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks cites Trojaning Attack on Neural Networks
  • Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks cites Input-Aware Dynamic Backdoor Attack
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on19

  1. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations
  2. DBA: Distributed Backdoor Attacks against Federated LearningChulin Xie, Keli Huang, Pin-Yu Chen, Bo LiICLR 2020 · 901 citations
  3. Hidden Trigger Backdoor AttacksAniruddha Saha, Akshayvarun Subramanya, Hamed PirsiavashAAAI 2020 · 743 citations
  4. Input-Aware Dynamic Backdoor AttackTuan Anh Nguyen, Anh Tuan TranNeurIPS 2020 · 601 citations
  5. Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural NetworksYige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu et al.ICLR 2021 · 548 citations

Related papers

  1. Enhancing Byzantine-Resistant Aggregations with Client EmbeddingZhiyuan Zhang, Hao Zhou, Fandong Meng, Jie Zhou et al.EMNLP Findings 2024 · 2 citations
  2. Dim-Krum: Backdoor-Resistant Federated Learning for NLP with Dimension-wise Krum-Based AggregationZhiyuan Zhang, Qi Su, Xu SunEMNLP Findings 2022 · 16 citations
  3. Backdoor Attacks in Federated Learning by Rare Embeddings and Gradient EnsemblingKiYoon Yoo, Nojun KwakEMNLP 2022 · 24 citations
  4. Defending against Backdoors in Federated Learning with Robust Learning RateMustafa Safa Özdayi, Murat Kantarcioglu, Yulia R. GelAAAI 2021 · 250 citations
  5. Attack of the Tails: Yes, You Really Can Backdoor Federated LearningHongyi Wang, Kartik Sreenivasan, Shashank Rajput, Harit Vishwakarma et al.NeurIPS 2020 · 862 citations
Dusk over the sea between two cliffs drawn in fine vertical lines