Skip to main content
QUICK REVIEW

[Paper Review] Neurotoxin: Durable Backdoors in Federated Learning

Zhengming Zhang, Ashwinee Panda|arXiv (Cornell University)|Jun 12, 2022
Adversarial Robustness in Machine LearningComputer Science33 citations
TL;DR

Neurotoxin adds a single-line modification to backdoor attacks in federated learning to make backdoors last about 5x longer under retraining, across NLP and CV tasks, while preserving benign accuracy.

ABSTRACT

Due to their decentralized nature, federated learning (FL) systems have an inherent vulnerability during their training to adversarial backdoor attacks. In this type of attack, the goal of the attacker is to use poisoned updates to implant so-called backdoors into the learned model such that, at test time, the model's outputs can be fixed to a given target for certain inputs. (As a simple toy example, if a user types "people from New York" into a mobile keyboard app that uses a backdoored next word prediction model, then the model could autocomplete the sentence to "people from New York are rude"). Prior work has shown that backdoors can be inserted into FL models, but these backdoors are often not durable, i.e., they do not remain in the model after the attacker stops uploading poisoned updates. Thus, since training typically continues progressively in production FL systems, an inserted backdoor may not survive until deployment. Here, we propose Neurotoxin, a simple one-line modification to existing backdoor attacks that acts by attacking parameters that are changed less in magnitude during training. We conduct an exhaustive evaluation across ten natural language processing and computer vision tasks, and we find that we can double the durability of state of the art backdoors.

Motivation & Objective

  • Motivate the study of backdoor durability in federated learning (FL) systems and the real-world need for durable backdoors.
  • Introduce Neurotoxin as a simple, principled attack that increases backdoor robustness to retraining.
  • Evaluate durability of Neurotoxin across diverse NLP and CV tasks and model architectures.
  • Assess how Neurotoxin interacts with common defenses and its impact on benign accuracy.

Proposed method

  • Neurotoxin adds a single line to existing backdoor attacks by projecting the adversarial gradient onto the subspace not heavily used by benign users.
  • It relies on the observation that SGD gradients are sparse, with most norm concentrated in a small set of coordinates.
  • The attacker computes the top-k coordinates of the benign gradient and constrains updates to the bottom-k coordinates via projection (PGD).
  • The method updates only coordinates unlikely to be updated by benign devices, increasing backdoor stability during retraining.
  • Evaluations are conducted under FL simulations with norm clipping and various defenses, comparing durability to baselines across NLP and CV tasks.

Experimental results

Research questions

  • RQ1How durable are backdoors inserted by Neurotoxin under subsequent benign retraining in FL?
  • RQ2Does projecting updates onto underutilized gradient subspaces improve backdoor persistence without harming benign accuracy?
  • RQ3How does Neurotoxin perform across diverse tasks (NLP and CV) and model architectures?
  • RQ4Is Neurotoxin robust against common FL defenses (norm clipping, differential privacy, reconstruction loss, sparsification)?

Key findings

  • Neurotoxin achieves up to 5x greater durability of backdoors compared to baselines across 10 tasks.
  • The single-line modification enables backdoors to trigger with single words, including common triggers.
  • Backdoors maintain non-zero accuracy for hundreds of rounds after attacker participation ends, even with benign retraining.
  • Neurotoxin preserves benign accuracy with only minor impact, comparable to baseline.
  • The attack remains effective under several defenses, including DP, reconstruction loss, and sparsification, often outperforming prior approaches.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.