[Paper Review] BackdoorBench: A Comprehensive Benchmark of Backdoor Learning
BackdoorBench provides an extensible codebase and standardized protocol to benchmark 8 backdoor attacks against 9 defenses, conducting up to 8,000 attack-defense evaluations across 4 datasets and 5 models with 5 poisoning ratios.
Backdoor learning is an emerging and vital topic for studying deep neural networks' vulnerability (DNNs). Many pioneering backdoor attack and defense methods are being proposed, successively or concurrently, in the status of a rapid arms race. However, we find that the evaluations of new methods are often unthorough to verify their claims and accurate performance, mainly due to the rapid development, diverse settings, and the difficulties of implementation and reproducibility. Without thorough evaluations and comparisons, it is not easy to track the current progress and design the future development roadmap of the literature. To alleviate this dilemma, we build a comprehensive benchmark of backdoor learning called BackdoorBench. It consists of an extensible modular-based codebase (currently including implementations of 8 state-of-the-art (SOTA) attacks and 9 SOTA defense algorithms) and a standardized protocol of complete backdoor learning. We also provide comprehensive evaluations of every pair of 8 attacks against 9 defenses, with 5 poisoning ratios, based on 5 models and 4 datasets, thus 8,000 pairs of evaluations in total. We present abundant analysis from different perspectives about these 8,000 evaluations, studying the effects of different factors in backdoor learning. All codes and evaluations of BackdoorBench are publicly available at \url{https://backdoorbench.github.io}.
Motivation & Objective
- Motivate fair, thorough evaluation in backdoor learning amid rapid methodological advances.
- Provide an extensible codebase with modular attack, defense, and evaluation components.
- Enable comprehensive, standardized evaluations across multiple attacks, defenses, datasets, models, and poisoning ratios.
Proposed method
- Implement 8 state-of-the-art backdoor attack methods and 9 defense methods in a modular framework.
- Define a standardized protocol for data preparation, attack, defense, and evaluation to ensure reproducibility.
- Conduct 8,000 attack-defense evaluations (8 attacks × 9 defenses × 5 poisoning ratios × 4 datasets × 5 models).
- Provide 5 analysis tools (t-SNE, Grad-CAM, Shapley value map, frequency saliency map, neuron activation) for deeper insights.
Experimental results
Research questions
- RQ1How do different backdoor attacks interact with various defenses under varying poisoning ratios?
- RQ2What are the effects of dataset size/class count and model architecture on backdoor effectiveness and defense performance?
- RQ3Can a standardized benchmark reveal generalizable insights and guide future backdoor learning research?
Key findings
- Most defenses can mitigate backdoor effects with limited impact on clean accuracy across many pairs.
- ASR tends to increase with poisoning ratio in some setups, but higher ratios can also make defenses more effective, depending on the method.
- Performance varies significantly across model architectures, with some attacks failing to plant backdoors on certain models and defenses succeeding differently per architecture.
- Analyses reveal dynamics like quick backdoor learning, trigger generalization, memorization/forgetting of poisoned samples, and architecture-dependent defense efficacy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.