├── .gitignore ├── README.md ├── __init__.py ├── env.yml ├── eval_table_stats.py ├── forest ├── __init__.py ├── consts.py ├── data │ ├── README.md │ ├── __init__.py │ ├── cached_dataset.py │ ├── celebA.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 │ └── mixing_data_augmentations.py ├── hyperparameters.py ├── options.py ├── sponge │ ├── README.md │ ├── __init__.py │ ├── energy_estimator.py │ ├── hardware_model.py │ └── layers.py ├── utils.py └── victims │ ├── README.md │ ├── __init__.py │ ├── mobilenet.py │ ├── models.py │ ├── sponge_training.py │ ├── training.py │ ├── utils.py │ ├── vgg.py │ ├── victim_base.py │ └── victim_single.py ├── layers_activations.py ├── log └── README.md ├── plotting.ipynb ├── slurm ├── CIFAR10 │ ├── run_resnet.slurm │ └── run_vgg.slurm ├── Celeb │ ├── run_resnet.slurm │ └── run_vgg.slurm ├── GTSRB │ ├── run_resnet.slurm │ └── run_vgg.slurm └── run_l2.slurm ├── sponge_nets.pdf ├── sponge_nets.png └── sponger.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /env.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/env.yml -------------------------------------------------------------------------------- /eval_table_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/eval_table_stats.py -------------------------------------------------------------------------------- /forest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/__init__.py -------------------------------------------------------------------------------- /forest/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/consts.py -------------------------------------------------------------------------------- /forest/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/README.md -------------------------------------------------------------------------------- /forest/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/__init__.py -------------------------------------------------------------------------------- /forest/data/cached_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/cached_dataset.py -------------------------------------------------------------------------------- /forest/data/celebA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/celebA.py -------------------------------------------------------------------------------- /forest/data/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/datasets.py -------------------------------------------------------------------------------- /forest/data/diff_data_augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/diff_data_augmentation.py -------------------------------------------------------------------------------- /forest/data/kettle_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/kettle_base.py -------------------------------------------------------------------------------- /forest/data/kettle_benchmark_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/kettle_benchmark_experiment.py -------------------------------------------------------------------------------- /forest/data/kettle_det_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/kettle_det_experiment.py -------------------------------------------------------------------------------- /forest/data/kettle_external.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/kettle_external.py -------------------------------------------------------------------------------- /forest/data/kettle_random_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/kettle_random_experiment.py -------------------------------------------------------------------------------- /forest/data/mixing_data_augmentations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/data/mixing_data_augmentations.py -------------------------------------------------------------------------------- /forest/hyperparameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/hyperparameters.py -------------------------------------------------------------------------------- /forest/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/options.py -------------------------------------------------------------------------------- /forest/sponge/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/sponge/README.md -------------------------------------------------------------------------------- /forest/sponge/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /forest/sponge/energy_estimator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/sponge/energy_estimator.py -------------------------------------------------------------------------------- /forest/sponge/hardware_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/sponge/hardware_model.py -------------------------------------------------------------------------------- /forest/sponge/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/sponge/layers.py -------------------------------------------------------------------------------- /forest/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/utils.py -------------------------------------------------------------------------------- /forest/victims/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/README.md -------------------------------------------------------------------------------- /forest/victims/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/__init__.py -------------------------------------------------------------------------------- /forest/victims/mobilenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/mobilenet.py -------------------------------------------------------------------------------- /forest/victims/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/models.py -------------------------------------------------------------------------------- /forest/victims/sponge_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/sponge_training.py -------------------------------------------------------------------------------- /forest/victims/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/training.py -------------------------------------------------------------------------------- /forest/victims/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/utils.py -------------------------------------------------------------------------------- /forest/victims/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/vgg.py -------------------------------------------------------------------------------- /forest/victims/victim_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/victim_base.py -------------------------------------------------------------------------------- /forest/victims/victim_single.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/forest/victims/victim_single.py -------------------------------------------------------------------------------- /layers_activations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/layers_activations.py -------------------------------------------------------------------------------- /log/README.md: -------------------------------------------------------------------------------- 1 | # Log files go here. -------------------------------------------------------------------------------- /plotting.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/plotting.ipynb -------------------------------------------------------------------------------- /slurm/CIFAR10/run_resnet.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/CIFAR10/run_resnet.slurm -------------------------------------------------------------------------------- /slurm/CIFAR10/run_vgg.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/CIFAR10/run_vgg.slurm -------------------------------------------------------------------------------- /slurm/Celeb/run_resnet.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/Celeb/run_resnet.slurm -------------------------------------------------------------------------------- /slurm/Celeb/run_vgg.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/Celeb/run_vgg.slurm -------------------------------------------------------------------------------- /slurm/GTSRB/run_resnet.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/GTSRB/run_resnet.slurm -------------------------------------------------------------------------------- /slurm/GTSRB/run_vgg.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/GTSRB/run_vgg.slurm -------------------------------------------------------------------------------- /slurm/run_l2.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/slurm/run_l2.slurm -------------------------------------------------------------------------------- /sponge_nets.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/sponge_nets.pdf -------------------------------------------------------------------------------- /sponge_nets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/sponge_nets.png -------------------------------------------------------------------------------- /sponger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cinofix/sponge_poisoning_energy_latency_attack/HEAD/sponger.py --------------------------------------------------------------------------------