BoBa: Boosting Backdoor Detection through Data Distribution Inference in Federated Learning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jiang, Zhengyuan, Lyu, Xingyu, Shi, Shanghao, Xiao, Yang, Chen, Yimin, Hou, Y. Thomas, Lou, Wenjing, Wanga, Ning
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915927525687296
author Jiang, Zhengyuan
Lyu, Xingyu
Shi, Shanghao
Xiao, Yang
Chen, Yimin
Hou, Y. Thomas
Lou, Wenjing
Wanga, Ning
author_facet Jiang, Zhengyuan
Lyu, Xingyu
Shi, Shanghao
Xiao, Yang
Chen, Yimin
Hou, Y. Thomas
Lou, Wenjing
Wanga, Ning
contents Federated learning, while being a promising approach for collaborative model training, is susceptible to backdoor attacks due to its decentralized nature. Backdoor attacks have shown remarkable stealthiness, as they compromise model predictions only when inputs contain specific triggers. As a countermeasure, anomaly detection is widely used to filter out backdoor attacks in FL. However, the non-independent and identically distributed (non-IID) data distribution nature of FL clients presents substantial challenges in backdoor attack detection, as the data variety introduces variance among benign models, making them indistinguishable from malicious ones. In this work, we propose a novel distribution-aware backdoor detection mechanism, BoBa, to address this problem. To differentiate outliers arising from data variety versus backdoor attacks, we propose to break down the problem into two steps: clustering clients utilizing their data distribution, and followed by a voting-based detection. We propose a novel data distribution inference mechanism for accurate data distribution estimation. To improve detection robustness, we introduce an overlapping clustering method, where each client is associated with multiple clusters, ensuring that the trustworthiness of a model update is assessed collectively by multiple clusters rather than a single cluster. Through extensive evaluations, we demonstrate that BoBa can reduce the attack success rate to lower than 0.001 while maintaining high main task accuracy across various attack strategies and experimental settings.
format Preprint
id arxiv_https___arxiv_org_abs_2407_09658
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle BoBa: Boosting Backdoor Detection through Data Distribution Inference in Federated Learning
Jiang, Zhengyuan
Lyu, Xingyu
Shi, Shanghao
Xiao, Yang
Chen, Yimin
Hou, Y. Thomas
Lou, Wenjing
Wanga, Ning
Machine Learning
Cryptography and Security
Federated learning, while being a promising approach for collaborative model training, is susceptible to backdoor attacks due to its decentralized nature. Backdoor attacks have shown remarkable stealthiness, as they compromise model predictions only when inputs contain specific triggers. As a countermeasure, anomaly detection is widely used to filter out backdoor attacks in FL. However, the non-independent and identically distributed (non-IID) data distribution nature of FL clients presents substantial challenges in backdoor attack detection, as the data variety introduces variance among benign models, making them indistinguishable from malicious ones. In this work, we propose a novel distribution-aware backdoor detection mechanism, BoBa, to address this problem. To differentiate outliers arising from data variety versus backdoor attacks, we propose to break down the problem into two steps: clustering clients utilizing their data distribution, and followed by a voting-based detection. We propose a novel data distribution inference mechanism for accurate data distribution estimation. To improve detection robustness, we introduce an overlapping clustering method, where each client is associated with multiple clusters, ensuring that the trustworthiness of a model update is assessed collectively by multiple clusters rather than a single cluster. Through extensive evaluations, we demonstrate that BoBa can reduce the attack success rate to lower than 0.001 while maintaining high main task accuracy across various attack strategies and experimental settings.
title BoBa: Boosting Backdoor Detection through Data Distribution Inference in Federated Learning
topic Machine Learning
Cryptography and Security
url https://arxiv.org/abs/2407.09658