├── .gitignore ├── LICENSE.md ├── README.md ├── Schematic.png ├── brew_poison.py ├── forest ├── __init__.py ├── consts.py ├── data │ ├── README.md │ ├── __init__.py │ ├── cached_dataset.py │ ├── datasets.py │ ├── diff_data_augmentation.py │ ├── kettle_base.py │ ├── kettle_benchmark_experiment.py │ ├── kettle_det_experiment.py │ ├── kettle_external.py │ ├── kettle_random_experiment.py │ ├── lmdb_datasets.py │ └── mixing_data_augmentations.py ├── filtering_defenses.py ├── hyperparameters.py ├── options.py ├── pytorch_diffusion │ ├── __init__.py │ ├── ckpt_util.py │ ├── diffusion.py │ └── model.py ├── utils.py ├── victims │ ├── README.md │ ├── __init__.py │ ├── batched_attacks.py │ ├── context.py │ ├── mobilenet.py │ ├── models.py │ ├── training.py │ ├── utils.py │ ├── vgg.py │ ├── victim_base.py │ ├── victim_distributed.py │ ├── victim_ensemble.py │ └── victim_single.py └── witchcoven │ ├── README.md │ ├── __init__.py │ ├── modules.py │ ├── utils.py │ ├── witch_base.py │ ├── witch_bullseye.py │ ├── witch_convex_polytope.py │ ├── witch_htbd.py │ ├── witch_matching.py │ ├── witch_metapoison.py │ ├── witch_patch.py │ ├── witch_poison_frogs.py │ └── witch_watermark.py └── patches ├── firefox.jpg └── trigger_10.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/README.md -------------------------------------------------------------------------------- /Schematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/Schematic.png -------------------------------------------------------------------------------- /brew_poison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/brew_poison.py -------------------------------------------------------------------------------- /forest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/__init__.py -------------------------------------------------------------------------------- /forest/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/consts.py -------------------------------------------------------------------------------- /forest/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/README.md -------------------------------------------------------------------------------- /forest/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/__init__.py -------------------------------------------------------------------------------- /forest/data/cached_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/cached_dataset.py -------------------------------------------------------------------------------- /forest/data/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/datasets.py -------------------------------------------------------------------------------- /forest/data/diff_data_augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/diff_data_augmentation.py -------------------------------------------------------------------------------- /forest/data/kettle_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/kettle_base.py -------------------------------------------------------------------------------- /forest/data/kettle_benchmark_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/kettle_benchmark_experiment.py -------------------------------------------------------------------------------- /forest/data/kettle_det_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/kettle_det_experiment.py -------------------------------------------------------------------------------- /forest/data/kettle_external.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/kettle_external.py -------------------------------------------------------------------------------- /forest/data/kettle_random_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/kettle_random_experiment.py -------------------------------------------------------------------------------- /forest/data/lmdb_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/lmdb_datasets.py -------------------------------------------------------------------------------- /forest/data/mixing_data_augmentations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/data/mixing_data_augmentations.py -------------------------------------------------------------------------------- /forest/filtering_defenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/filtering_defenses.py -------------------------------------------------------------------------------- /forest/hyperparameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/hyperparameters.py -------------------------------------------------------------------------------- /forest/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/options.py -------------------------------------------------------------------------------- /forest/pytorch_diffusion/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/pytorch_diffusion/__init__.py -------------------------------------------------------------------------------- /forest/pytorch_diffusion/ckpt_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/pytorch_diffusion/ckpt_util.py -------------------------------------------------------------------------------- /forest/pytorch_diffusion/diffusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/pytorch_diffusion/diffusion.py -------------------------------------------------------------------------------- /forest/pytorch_diffusion/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/pytorch_diffusion/model.py -------------------------------------------------------------------------------- /forest/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/utils.py -------------------------------------------------------------------------------- /forest/victims/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/README.md -------------------------------------------------------------------------------- /forest/victims/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/__init__.py -------------------------------------------------------------------------------- /forest/victims/batched_attacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/batched_attacks.py -------------------------------------------------------------------------------- /forest/victims/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/context.py -------------------------------------------------------------------------------- /forest/victims/mobilenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/mobilenet.py -------------------------------------------------------------------------------- /forest/victims/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/models.py -------------------------------------------------------------------------------- /forest/victims/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/training.py -------------------------------------------------------------------------------- /forest/victims/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/utils.py -------------------------------------------------------------------------------- /forest/victims/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/vgg.py -------------------------------------------------------------------------------- /forest/victims/victim_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/victim_base.py -------------------------------------------------------------------------------- /forest/victims/victim_distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/victim_distributed.py -------------------------------------------------------------------------------- /forest/victims/victim_ensemble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/victim_ensemble.py -------------------------------------------------------------------------------- /forest/victims/victim_single.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/victims/victim_single.py -------------------------------------------------------------------------------- /forest/witchcoven/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/README.md -------------------------------------------------------------------------------- /forest/witchcoven/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/__init__.py -------------------------------------------------------------------------------- /forest/witchcoven/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/modules.py -------------------------------------------------------------------------------- /forest/witchcoven/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/utils.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_base.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_bullseye.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_bullseye.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_convex_polytope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_convex_polytope.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_htbd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_htbd.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_matching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_matching.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_metapoison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_metapoison.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_patch.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_poison_frogs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_poison_frogs.py -------------------------------------------------------------------------------- /forest/witchcoven/witch_watermark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/forest/witchcoven/witch_watermark.py -------------------------------------------------------------------------------- /patches/firefox.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/patches/firefox.jpg -------------------------------------------------------------------------------- /patches/trigger_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsouri/GDP/HEAD/patches/trigger_10.png --------------------------------------------------------------------------------