BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learning

Abstract

Backdoor learning is an emerging and important topic of studying the vulnerability of deep neural networks (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 real performance, mainly due to the rapid development, diverse settings, as well as the difficulties of implementation and reproducibility. Without thorough evaluations and comparisons, it is difficult 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) attack and 9 SOTA defense algorithms), as well as a standardized protocol of a 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 further present analysis from different perspectives about these 8,000 evaluations, studying the effects of attack against defense algorithms, poisoning ratio, model and dataset in backdoor learning.

Publication
arXiv
Baoyuan Wu
Baoyuan Wu

Associate Professor of CUHK-SZ

Mingda Zhang
Mingda Zhang

Ph.D. candidate in CUHKSZ

Zihao Zhu
Zihao Zhu
Ph.D. candidate in Data Science

My research interests include trustworthy AI, and security in LLMs.

Ruotong Wang
Ruotong Wang
Ph.D. candidate in Data Science

Ruotong Wang received a master’s degree from The Chinese University of Hong Kong, Shenzhen. She is pursuing a Ph.D. degree at the School of Data Science, The Chinese University of Hong Kong, Shenzhen, under the supervision of Prof. Baoyuan Wu. Her research interests include AI security, backdoor learning.