Practical overview
When it fits
Use it when you need a research codebase for configuring and exploring backdoor experiments in deep-learning systems, including federated-learning settings.
Who it is for
- Researchers studying machine-learning security and neural backdoors
- Practitioners investigating attacks and defenses in centralized or federated learning
Documented uses
- Explore pixel-pattern, physical and semantic backdoor attacks.
- Investigate data, batch and loss poisoning approaches.
- Configure training experiments using YAML parameter files.
- Study documented MNIST and ImageNet experiment workflows.
Requirements & limits
The repository is public and specifies an MIT license.
- It is a code framework rather than a hosted research service; the documented workflow uses Python and repository files.
- The README documents real-world datasets, centralized and federated learning, and several attack and injection types.
- Clean-label attacks and model poisoning are listed as TODO areas in the README.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare the documented research environment
Set up the dependencies, output directories and TensorBoard logging described in the README.
Before you start
- A local copy of the BACKDOORS101 repository
- Python environment capable of installing the repository's requirements
Steps
Install dependencies with the command below.
pip install -r requirements.txtCreate
runsfor TensorBoard graphs andsaved_modelsfor stored results.Start TensorBoard with
tensorboard --logdir=runs/.
Expected outcome
The README's stated environment preparation is complete, with directories for logs and saved models and TensorBoard started.
Guide limitations
- These steps cover setup only; they do not establish that a training experiment has run successfully.
Configure and launch the documented MNIST example
Use the README's MNIST YAML configuration and training command to start its example attack experiment.
Before you start
- The repository's dependencies installed
- The README's setup directories created
- The
configs/mnist_params.yamlconfiguration file
Steps
Refer to
configs/mnist_params.yamlfor the MNIST attack configuration.Start the documented training command: the command below.
python training.py --name mnist --params configs/mnist_params.yaml --commit none
Expected outcome
The documented command is configured to start the MNIST training experiment; `name` supplies the TensorBoard name and `commit` records the commit ID in a log file.
Guide limitations
- The README provides the command but does not establish experiment results or guarantee successful execution.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- ebagdasa/backdoors101 · Official homepage title · retained in its source language

