# Code for paper submission.  
The code is for the ICML submission. We gave instruction of how to reproduce the result and will clean and optimize the code to make it public.
## Key file
Data Poisoning: Data/cifar.py

PRL: Solvers_BackDoor/PRL.py

PRL-AT: Solvers_BackDoor/PRL_innerMax.py

SPL-AT: Solvers_BackDoor/SPL_innerMax.py

PRL-SimCLR-SN: simclr.py

## Sample command to reproduce the result
###Run PRL-AT on CIFAR10 against blending attack:

python3 Solvers_BackDoor/PRL_innerMax.py  --data_name 'cifar10' --batch_size 128 --seed 1 --corruption_rate 0.15 --max_epochs 100 --corruption_type 'blend' --eps_neighbor 0.05 --alpha 0.0 --drop_decay_step 0

###Run PRL-SimCLR-SN

python simclr.py --data_name cifar10 --seed 1 --corruption_rate 0.15 --corruption_type blend --join_pretrain True --training_ratio 0.2