├── .gitignore ├── LICENSE.txt ├── README.md ├── benchmark_all.sh ├── benchmark_results_table.py ├── benchmark_test.py ├── how_to.md ├── learning_module.py ├── models ├── __init__.py ├── alexnet.py ├── clbd_resnet.py ├── htbd_alexnet.py ├── mobilenetv2.py ├── resnet.py └── vgg.py ├── poison_crafting ├── Bullseye │ ├── SignedAdam.py │ ├── dataloader.py │ ├── trainer.py │ └── utils.py ├── ConvexPolytope │ ├── SignedAdam.py │ ├── __init__.py │ ├── dataloader.py │ ├── trainer.py │ └── utils.py ├── README.md ├── craft_poisons_bp.py ├── craft_poisons_clbd.py ├── craft_poisons_cp.py ├── craft_poisons_fc.py ├── craft_poisons_htbd.py └── triggers │ ├── clbd.png │ └── htbd.png ├── poison_examples └── README.md ├── poison_setups ├── cifar10_from_scratch.pickle ├── cifar10_transfer_learning.pickle ├── tinyimagenet_from_scratch.pickle └── tinyimagenet_transfer_learning.pickle ├── poison_test.py ├── pretrained_models └── README.md ├── requirements.txt ├── test_model.py ├── tinyimagenet_module.py └── train_model.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/README.md -------------------------------------------------------------------------------- /benchmark_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/benchmark_all.sh -------------------------------------------------------------------------------- /benchmark_results_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/benchmark_results_table.py -------------------------------------------------------------------------------- /benchmark_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/benchmark_test.py -------------------------------------------------------------------------------- /how_to.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/how_to.md -------------------------------------------------------------------------------- /learning_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/learning_module.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/alexnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/alexnet.py -------------------------------------------------------------------------------- /models/clbd_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/clbd_resnet.py -------------------------------------------------------------------------------- /models/htbd_alexnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/htbd_alexnet.py -------------------------------------------------------------------------------- /models/mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/mobilenetv2.py -------------------------------------------------------------------------------- /models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/resnet.py -------------------------------------------------------------------------------- /models/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/models/vgg.py -------------------------------------------------------------------------------- /poison_crafting/Bullseye/SignedAdam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/Bullseye/SignedAdam.py -------------------------------------------------------------------------------- /poison_crafting/Bullseye/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/Bullseye/dataloader.py -------------------------------------------------------------------------------- /poison_crafting/Bullseye/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/Bullseye/trainer.py -------------------------------------------------------------------------------- /poison_crafting/Bullseye/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/Bullseye/utils.py -------------------------------------------------------------------------------- /poison_crafting/ConvexPolytope/SignedAdam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/ConvexPolytope/SignedAdam.py -------------------------------------------------------------------------------- /poison_crafting/ConvexPolytope/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /poison_crafting/ConvexPolytope/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/ConvexPolytope/dataloader.py -------------------------------------------------------------------------------- /poison_crafting/ConvexPolytope/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/ConvexPolytope/trainer.py -------------------------------------------------------------------------------- /poison_crafting/ConvexPolytope/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/ConvexPolytope/utils.py -------------------------------------------------------------------------------- /poison_crafting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/README.md -------------------------------------------------------------------------------- /poison_crafting/craft_poisons_bp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/craft_poisons_bp.py -------------------------------------------------------------------------------- /poison_crafting/craft_poisons_clbd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/craft_poisons_clbd.py -------------------------------------------------------------------------------- /poison_crafting/craft_poisons_cp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/craft_poisons_cp.py -------------------------------------------------------------------------------- /poison_crafting/craft_poisons_fc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/craft_poisons_fc.py -------------------------------------------------------------------------------- /poison_crafting/craft_poisons_htbd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/craft_poisons_htbd.py -------------------------------------------------------------------------------- /poison_crafting/triggers/clbd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/triggers/clbd.png -------------------------------------------------------------------------------- /poison_crafting/triggers/htbd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_crafting/triggers/htbd.png -------------------------------------------------------------------------------- /poison_examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_examples/README.md -------------------------------------------------------------------------------- /poison_setups/cifar10_from_scratch.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_setups/cifar10_from_scratch.pickle -------------------------------------------------------------------------------- /poison_setups/cifar10_transfer_learning.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_setups/cifar10_transfer_learning.pickle -------------------------------------------------------------------------------- /poison_setups/tinyimagenet_from_scratch.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_setups/tinyimagenet_from_scratch.pickle -------------------------------------------------------------------------------- /poison_setups/tinyimagenet_transfer_learning.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_setups/tinyimagenet_transfer_learning.pickle -------------------------------------------------------------------------------- /poison_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/poison_test.py -------------------------------------------------------------------------------- /pretrained_models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/pretrained_models/README.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/requirements.txt -------------------------------------------------------------------------------- /test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/test_model.py -------------------------------------------------------------------------------- /tinyimagenet_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/tinyimagenet_module.py -------------------------------------------------------------------------------- /train_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aks2203/poisoning-benchmark/HEAD/train_model.py --------------------------------------------------------------------------------