Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Detecting Backdoor Attacks in Federated Learning via Direction Alignment Inspection

About

The distributed nature of training makes Federated Learning (FL) vulnerable to backdoor attacks, where malicious model updates aim to compromise the global model's performance on specific tasks. Existing defense methods show limited efficacy as they overlook the inconsistency between benign and malicious model updates regarding both general and fine-grained directions. To fill this gap, we introduce AlignIns, a novel defense method designed to safeguard FL systems against backdoor attacks. AlignIns looks into the direction of each model update through a direction alignment inspection process. Specifically, it examines the alignment of model updates with the overall update direction and analyzes the distribution of the signs of their significant parameters, comparing them with the principle sign across all model updates. Model updates that exhibit an unusual degree of alignment are considered malicious and thus be filtered out. We provide the theoretical analysis of the robustness of AlignIns and its propagation error in FL. Our empirical results on both independent and identically distributed (IID) and non-IID datasets demonstrate that AlignIns achieves higher robustness compared to the state-of-the-art defense methods. The code is available at https://github.com/JiiahaoXU/AlignIns.

Jiahao Xu, Zikai Zhang, Rui Hu• 2025

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 IID
Average BA0.0221
37
Image ClassificationCIFAR-10 iid (test)
Accuracy89.23
22
Sentiment AnalysisSentiment140
Mean Accuracy69.26
14
Backdoor DefenseCIFAR-10 non-IID (test)
Clean MA83.77
13
Image ClassificationCIFAR-10 non-IID, beta=0.5 (test)
Accuracy0.8561
10
Image ClassificationCIFAR-10 non-IID, beta=0.7 (test)
Accuracy87.13
10
Image ClassificationCIFAR-10 beta=0.3 (test)
MAE85.32
10
Image ClassificationCIFAR-100 IID
Clean Accuracy63.45
9
Backdoor DefenseCIFAR-100 non-IID (test)
Clean Accuracy59.18
9
Backdoor DefenseTiny-ImageNet
Badnet BA0.22
7
Showing 10 of 16 rows

Other info

Code

Follow for update