BackdoorBox: A Python Toolbox for Backdoor Learning
Not on the map. Why?
Abstract (arXiv)
Third-party resources (e.g., samples, backbones, and pre-trained models) are usually involved in the training of deep neural networks (DNNs), which brings backdoor attacks as a new training-phase threat. In general, backdoor attackers intend to implant hidden backdoor in DNNs, so that the attacked DNNs behave normally on benign samples whereas their predictions will be maliciously changed to a pre-defined target label if hidden backdoors are activated by attacker-specified trigger patterns. To facilitate the research and development of more secure training schemes and defenses, we design an open-sourced Python toolbox that implements representative and advanced backdoor attacks and defenses under a unified and flexible framework. Our toolbox has four important and promising characteristics, including consistency, simplicity, flexibility, and co-development. It allows researchers and developers to easily implement and compare different methods on benchmark or their local datasets. This Python toolbox, namely textttBackdoorBox, is available at urlhttps://github.com/THUYimingLi/BackdoorBox.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 43 of its 54 references that are in the map. First posted on arXiv 1 Feb 2023.
Builds on
43 of 54 references.
References · 43
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2018Spectral Signatures in Backdoor Attackscited by 457
- 2020Backdoor Learning: A Surveycited by 412
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
- 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
- 2020Input-Aware Dynamic Backdoor Attackcited by 304
- 2019Label-Consistent Backdoor Attackscited by 285
- 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
- 2020Blind Backdoors in Deep Learning Modelscited by 174
31 more
- 2020Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defensescited by 171
- 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
- 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
- 2021Rethinking the Backdoor Attacks' Triggers: A Frequency Perspectivecited by 155
- 2017Neural Trojanscited by 151
- 2022Backdoor Defense via Decoupling the Training Processcited by 149
- 2020Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustnesscited by 130
- 2022BackdoorBench: A Comprehensive Benchmark of Backdoor Learningcited by 124
- 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
- 2020RAB: Provable Robustness Against Backdoor Attackscited by 115
- 2020Certified Robustness to Label-Flipping Attacks via Randomized Smoothingcited by 103
- 2021Sleeper Agent: Scalable Hidden Trigger Backdoors for Neural Networks Trained from Scratchcited by 98
- 2021Backdoor Scanning for Deep Neural Networks through K-Arm Optimizationcited by 96
- 2019Robust Anomaly Detection and Backdoor Attack Detection Via Differential Privacycited by 93
- 2020Deep Feature Space Trojan Attack of Neural Networks by Controlled Detoxificationcited by 93
- 2020An Embarrassingly Simple Approach for Trojan Attack in Deep Neural Networkscited by 92
- 2020Strong Data Augmentation Sanitizes Poisoning and Backdoor Attacks Without an Accuracy Tradeoffcited by 86
- 2021Backdoor Attack in the Physical Worldcited by 82
- 2022Untargeted Backdoor Watermark: Towards Harmless and Stealthy Dataset Copyright Protectioncited by 80
- 2020DeepSweep: An Evaluation Framework for Mitigating DNN Backdoor Attacks using Data Augmentationcited by 75
- 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 66
- 2020Backdoor Attack against Speaker Verificationcited by 62
- 2020Certified Robustness of Nearest Neighbors against Data Poisoning and Backdoor Attackscited by 58
- 2021AEVA: Black-box Backdoor Detection Using Adversarial Extreme Value Analysiscited by 52
- 2021A Backdoor Attack against 3D Point Cloud Classifierscited by 50
- 2022Training with More Confidence: Mitigating Injected and Natural Backdoors During Trainingcited by 38
- 2021Towards Practical Deployment-Stage Backdoor Attack on Deep Neural Networkscited by 33
- 2020TrojanZoo: Towards Unified, Holistic, and Practical Evaluation of Neural Backdoorscited by 30
- 2022Post-Training Detection of Backdoor Attacks for Two-Class and Multi-Attack Scenarioscited by 29
- 2021End2End Occluded Face Recognition by Masking Corrupted Featurescited by 24
- 2022Hardly Perceptible Trojan Attack against Neural Networks with Bit Flipscited by 21
Built on by
Citing papers per year: 2023: 9; 2024: 9; 2025: 5; 2026: 2.
25 papers.
Sort:
By area:
- 2023Domain Watermark: Effective and Harmless Dataset Copyright Protection is Closed at Handcited by 52
- 2023Black-box Backdoor Defense via Zero-shot Image Purificationcited by 44
- 2023Backdoor Defense via Adaptively Splitting Poisoned Datasetcited by 43
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistencycited by 38
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2023Backdoor Attack with Sparse and Invisible Triggercited by 20
- 2023Defending Against Backdoor Attacks by Layer-wise Feature Analysiscited by 15
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attackscited by 14
- 2023Towards Robust Model Watermark via Reducing Parametric Vulnerabilitycited by 10
- 2023APBench: A Unified Benchmark for Availability Poisoning Attacks and Defensescited by 7
- 2024FLARE: Toward Universal Dataset Purification against Backdoor Attackscited by 7
- 2025BackdoorDM: A Comprehensive Benchmark for Backdoor Learning on Diffusion Modelcited by 7
13 more
- 2023Towards Sample-specific Backdoor Attack with Clean Labels via Attribute Triggercited by 4
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairnesscited by 3
- 2024Trading Devil: Robust backdoor attack via Stochastic investment models and Bayesian approachcited by 3
- 2024BackdoorMBTI: A Backdoor Learning Multimodal Benchmark Tool Kit for Backdoor Defense Evaluationcited by 3
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attackcited by 3
- 2025Holmes: Towards Effective and Harmless Model Ownership Verification to Personalized Large Vision Models via Decoupling Common Featurescited by 2
- 2024Be Persistent: Towards a Unified Solution for Mitigating Shortcuts in Deep Learningcited by 1
- 2024Using Interleaved Ensemble Unlearning to Keep Backdoors at Bay for Finetuning Vision Transformerscited by 1
- 2026APEX: Probing Neural Networks via Activation Perturbationcited by 1
- 2024Let the Noise Speak: Harnessing Noise for a Unified Defense Against Adversarial and Backdoor Attackscited by 0
- 2025Defending against Backdoor Attacks via Module Switchingcited by 0
- 2025CertDW: Towards Certified Dataset Ownership Verification via Conformal Calibrationcited by 0
- 2026Certification of Machine Learning Models via Directional Sharpnesscited by 0
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026APEX: Probing Neural Networks via Activation Perturbation3 Feb 2026
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack28 Sep 2025
- 2025Holmes: Towards Effective and Harmless Model Ownership Verification to Personalized Large Vision Models via Decoupling Common Features24 Jun 2025
- 2025CertDW: Towards Certified Dataset Ownership Verification via Conformal Calibration16 Jun 2025
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2025BackdoorDM: A Comprehensive Benchmark for Backdoor Learning on Diffusion Model17 Feb 2025
- 2024FLARE: Toward Universal Dataset Purification against Backdoor Attacks29 Nov 2024
- 2024BackdoorMBTI: A Backdoor Learning Multimodal Benchmark Tool Kit for Backdoor Defense Evaluation17 Nov 2024
- 2024Using Interleaved Ensemble Unlearning to Keep Backdoors at Bay for Finetuning Vision Transformers1 Oct 2024
- 2024Let the Noise Speak: Harnessing Noise for a Unified Defense Against Adversarial and Backdoor Attacks18 Jun 2024
- 2024Trading Devil: Robust backdoor attack via Stochastic investment models and Bayesian approach15 Jun 2024
13 more
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attacks21 May 2024
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency16 May 2024
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairness21 Feb 2024
- 2024Be Persistent: Towards a Unified Solution for Mitigating Shortcuts in Deep Learning17 Feb 2024
- 2023Towards Sample-specific Backdoor Attack with Clean Labels via Attribute Trigger3 Dec 2023
- 2023Domain Watermark: Effective and Harmless Dataset Copyright Protection is Closed at Hand9 Oct 2023
- 2023Towards Robust Model Watermark via Reducing Parametric Vulnerability9 Sep 2023
- 2023APBench: A Unified Benchmark for Availability Poisoning Attacks and Defenses7 Aug 2023
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May 2023
- 2023Backdoor Attack with Sparse and Invisible Trigger11 May 2023
- 2023Backdoor Defense via Adaptively Splitting Poisoned Dataset23 Mar 2023
- 2023Black-box Backdoor Defense via Zero-shot Image Purification21 Mar 2023
- 2023Defending Against Backdoor Attacks by Layer-wise Feature Analysis24 Feb 2023
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2023Towards Robust Model Watermark via Reducing Parametric Vulnerabilitycited by 10
- 2024BackdoorMBTI: A Backdoor Learning Multimodal Benchmark Tool Kit for Backdoor Defense Evaluationcited by 3
- 2024Using Interleaved Ensemble Unlearning to Keep Backdoors at Bay for Finetuning Vision Transformerscited by 1
- 2025CertDW: Towards Certified Dataset Ownership Verification via Conformal Calibrationcited by 0
- 2025CertDW: Towards Certified Dataset Ownership Verification via Conformal Calibration16 Jun 2025
- 2024BackdoorMBTI: A Backdoor Learning Multimodal Benchmark Tool Kit for Backdoor Defense Evaluation17 Nov 2024
- 2024Using Interleaved Ensemble Unlearning to Keep Backdoors at Bay for Finetuning Vision Transformers1 Oct 2024
- 2023Towards Robust Model Watermark via Reducing Parametric Vulnerability9 Sep 2023
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May 2023
- 2023Domain Watermark: Effective and Harmless Dataset Copyright Protection is Closed at Handcited by 52
- 2023Black-box Backdoor Defense via Zero-shot Image Purificationcited by 44
- 2023Backdoor Defense via Adaptively Splitting Poisoned Datasetcited by 43
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistencycited by 38
- 2023Backdoor Attack with Sparse and Invisible Triggercited by 20
- 2023Defending Against Backdoor Attacks by Layer-wise Feature Analysiscited by 15
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attackscited by 14
- 2023APBench: A Unified Benchmark for Availability Poisoning Attacks and Defensescited by 7
- 2024FLARE: Toward Universal Dataset Purification against Backdoor Attackscited by 7
- 2023Towards Sample-specific Backdoor Attack with Clean Labels via Attribute Triggercited by 4
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairnesscited by 3
- 2024Trading Devil: Robust backdoor attack via Stochastic investment models and Bayesian approachcited by 3
12 most cited of 19 All 19 (JSON)
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026APEX: Probing Neural Networks via Activation Perturbation3 Feb 2026
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack28 Sep 2025
- 2025Holmes: Towards Effective and Harmless Model Ownership Verification to Personalized Large Vision Models via Decoupling Common Features24 Jun 2025
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2024FLARE: Toward Universal Dataset Purification against Backdoor Attacks29 Nov 2024
- 2024Let the Noise Speak: Harnessing Noise for a Unified Defense Against Adversarial and Backdoor Attacks18 Jun 2024
- 2024Trading Devil: Robust backdoor attack via Stochastic investment models and Bayesian approach15 Jun 2024
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attacks21 May 2024
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency16 May 2024
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairness21 Feb 2024
- 2024Be Persistent: Towards a Unified Solution for Mitigating Shortcuts in Deep Learning17 Feb 2024
12 newest of 19 All 19 (JSON)