Skip to main content
QUICK REVIEW

[Paper Review] Thinking Two Moves Ahead: Anticipating Other Users Improves Backdoor Attacks in Federated Learning

Yuxin Wen, Jonas Geiping|arXiv (Cornell University)|Oct 17, 2022
Privacy-Preserving Technologies in DataComputer Science6 citations
TL;DR

This paper proposes a novel backdoor attack in federated learning that anticipates future updates from benign clients to make malicious model updates more persistent. By backpropagating through simulated future federated averaging steps, the attack ensures backdoors remain effective even with limited attack opportunities, achieving 60% backdoor accuracy after training when baseline methods drop to 20%.

ABSTRACT

Federated learning is particularly susceptible to model poisoning and backdoor attacks because individual users have direct control over the training data and model updates. At the same time, the attack power of an individual user is limited because their updates are quickly drowned out by those of many other users. Existing attacks do not account for future behaviors of other users, and thus require many sequential updates and their effects are quickly erased. We propose an attack that anticipates and accounts for the entire federated learning pipeline, including behaviors of other clients, and ensures that backdoors are effective quickly and persist even after multiple rounds of community updates. We show that this new attack is effective in realistic scenarios where the attacker only contributes to a small fraction of randomly sampled rounds and demonstrate this attack on image classification, next-word prediction, and sentiment analysis.

Motivation & Objective

  • Address the limitation of existing backdoor attacks in federated learning that fail under realistic conditions with sparse attack opportunities.
  • Overcome the challenge that individual malicious updates are quickly overwritten by benign updates in federated averaging.
  • Develop an attack strategy that models downstream effects of benign user updates to ensure long-term backdoor persistence.
  • Demonstrate the effectiveness of the attack in realistic, non-IID, and communication-constrained federated learning settings.
  • Evaluate the attack across diverse tasks including image classification, next-word prediction, and sentiment analysis.

Proposed method

  • The attack, named 'Anticipate', models future federated averaging steps by simulating the behavior of benign clients over k future rounds.
  • It uses differentiable simulation of the FedAvg aggregation process to backpropagate gradients through future model updates.
  • The attacker optimizes the malicious update to maximize backdoor accuracy after k simulated future rounds, ensuring resilience against subsequent benign updates.
  • The method incorporates norm-bounding as a defense, making it effective even under realistic constraints where individual updates are clipped.
  • Three efficient variants are introduced: (A) loss computed only on the final step, (B) random step selection with full loss, and (C) loss only on a randomly selected step to reduce computation.
  • The attack is implemented using gradient-based optimization over the malicious update, with the objective function designed to maximize long-term backdoor success.

Experimental results

Research questions

  • RQ1Can backdoor attacks in federated learning remain effective when attackers contribute to only a small fraction of training rounds?
  • RQ2How does anticipating future benign updates improve the persistence of backdoor triggers in federated models?
  • RQ3What is the optimal number of future rounds to anticipate for maximizing backdoor accuracy and longevity?
  • RQ4Can efficient variants of the attack maintain high performance while reducing computational cost?
  • RQ5Does the attack remain effective under norm-bounding defenses, a common mitigation in federated learning systems?

Key findings

  • The Anticipate attack achieves 100% backdoor accuracy within 500 rounds, significantly faster than the baseline, even when only 100 out of 20,000 contributions are malicious.
  • After the attack window ends, the Anticipate method maintains 60% backdoor accuracy, compared to only 20% for the baseline method.
  • The optimal anticipation length is 9 steps, where the final backdoor accuracy is maximized; longer anticipation does not improve persistence.
  • Efficient variants of the attack, particularly variant C (loss computed only on a randomly selected future step), reduce optimization time while still outperforming the baseline.
  • The attack remains effective under tight norm-bounding, demonstrating that this defense alone is insufficient against sophisticated, forward-looking attacks.
  • The attack is specifically tailored to bypass norm-bounded defenses and can be mitigated by alternative aggregation methods such as Krum, Multi-krum, or median aggregation.

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.