Skip to main content
QUICK REVIEW

[Paper Review] FLIP: A Provable Defense Framework for Backdoor Mitigation in Federated Learning

Kaiyuan Zhang, Guanhong Tao|arXiv (Cornell University)|Oct 23, 2022
Privacy-Preserving Technologies in DataComputer Science17 citations
TL;DR

FLIP is a provable defense framework for federated learning that hardens benign clients by adversarially training on synthesized backdoor triggers, thereby reducing attack success rates without degrading clean accuracy. It theoretically guarantees loss elevation on backdoored samples while maintaining minimal loss variation on clean data, outperforming SOTA defenses in continuous backdoor attack settings with attack success rates reduced to ~15%.

ABSTRACT

Federated Learning (FL) is a distributed learning paradigm that enables different parties to train a model together for high quality and strong privacy protection. In this scenario, individual participants may get compromised and perform backdoor attacks by poisoning the data (or gradients). Existing work on robust aggregation and certified FL robustness does not study how hardening benign clients can affect the global model (and the malicious clients). In this work, we theoretically analyze the connection among cross-entropy loss, attack success rate, and clean accuracy in this setting. Moreover, we propose a trigger reverse engineering based defense and show that our method can achieve robustness improvement with guarantee (i.e., reducing the attack success rate) without affecting benign accuracy. We conduct comprehensive experiments across different datasets and attack settings. Our results on eight competing SOTA defense methods show the empirical superiority of our method on both single-shot and continuous FL backdoor attacks. Code is available at https://github.com/KaiyuanZh/FLIP.

Motivation & Objective

  • To address the vulnerability of federated learning to continuous backdoor attacks where malicious clients poison data over multiple rounds.
  • To develop a defense that provably reduces attack success rate without degrading clean accuracy on benign data.
  • To analyze how adversarial training on benign clients affects both the global model and malicious clients, filling a gap in existing literature.
  • To provide a theoretically grounded defense that ensures robustness during model training, not just inference.
  • To design a defense effective against adaptive attacks aware of the defense mechanism.

Proposed method

  • FLIP adversarially trains each benign client on synthetic backdoor triggers to harden their local models against poisoning.
  • It leverages trigger reverse engineering to generate realistic backdoor patterns for adversarial training on benign clients.
  • The framework derives a sufficient condition for backdoor mitigation based on loss changes on clean and backdoored samples, ensuring provable effectiveness.
  • It uses theoretical analysis to show that loss on backdoored samples increases deterministically while loss on clean samples varies only slightly.
  • The defense is integrated into the FL training pipeline, where local models are updated with adversarial examples before aggregation on the global server.
  • It provides a provable guarantee that the attack success rate decreases due to increased loss on backdoored inputs, while clean accuracy is preserved.

Experimental results

Research questions

  • RQ1Can adversarial training on benign clients provably reduce the attack success rate of backdoor attacks in federated learning?
  • RQ2How does hardening benign clients affect the global model's robustness and the behavior of malicious clients?
  • RQ3What theoretical conditions ensure that loss increases on backdoored samples while remaining stable on clean samples?
  • RQ4Can the defense remain effective against adaptive attacks that target the defense mechanism?
  • RQ5Does the framework maintain high clean accuracy while significantly reducing attack success rates in continuous backdoor attack scenarios?

Key findings

  • FLIP reduces the attack success rate (ASR) to approximately 15% on CIFAR-10, MNIST, and Fashion-MNIST under continuous backdoor attacks, significantly outperforming SOTA defenses that often achieve 100% ASR.
  • The proposed defense maintains clean accuracy with minimal degradation, as theoretical analysis shows only slight loss variation on clean data.
  • FLIP provides a provable guarantee that the loss on backdoored samples increases deterministically, ensuring a reduction in attack success rate.
  • The framework remains effective against an adaptive attack that is aware of the defense, demonstrating robustness to sophisticated adversaries.
  • Ablation studies confirm that individual components of FLIP, including trigger inversion and adversarial training, are effective across different datasets and trigger inversion techniques.
  • Theoretical analysis establishes a sufficient condition on trigger recovery quality that ensures the defense is provably effective in mitigating backdoor attacks.

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.