NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Backdoor Mitigation in Federated Learning with Contrastive Loss

Hal Ferguson, Rui Ning, Jiang Li, Hongyi Wu, Chunsheng XinOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Due to the data-driven nature of deep neural networks and privacy concerns around user data, a backdoor could be easily injected into deep neural networks in federated learning without attracting the attention of users. An affected global model operates normally as a clean model in regular tasks and behaves differently when the trigger is presented. In this paper, we propose a novel reverse engineering approach to detect and mitigate the backdoor attack in federated learning by adopting a self-supervised Contrastive learning loss. In contrast to existing reverse engineering techniques, such as Neural Cleanse, which involve iterating through each class in the dataset, we employ the contrastive loss as a whole to identify triggers in the backdoored model. Our method compares the last-layer feature outputs of a potentially affected model with these from a clean one preserved beforehand to reconstruct the trigger under the guidance of the contrastive loss. The reverse-engineered trigger is then applied to patch the affected global model to remove the backdoor. If the global model is free from backdoors, the Contrastive loss will lead to either a blank trigger or one with random pattern. We evaluated the proposed method on three datasets under two backdoor attacks and compared it against three existing defense methods. Our results showed that while many popular reverse engineering algorithms were successful in centralized learning settings, they had difficulties detecting backdoors in federated learning, including Neural Cleanse, TABOR, and DeepInspect. Our method successfully detected backdoors in federated learning and was more time-efficient.
BibTeX
@misc{ferguson2024efficient,
  author = {Hal Ferguson and Rui Ning and Jiang Li and Hongyi Wu and Chunsheng Xin},
  title = {{Efficient Backdoor Mitigation in Federated Learning with Contrastive Loss}},
  year = {2024},
  url = {https://openreview.net/forum?id=10BTKkFfhl},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure