Skip to content

satyanshukla/bayes_attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hard Label Black-box Adversarial Attacks

This is code associated with the paper Hard-Label Black Box Adversarial Attacks in Low Budget Query Regimes.

Prereqs:

To rerun, e.g., the L_2 norm attack experiments against the resnet50 architecture with epsilon = 20, you can run

python attack.py --dset imagenet --arch resnet50 --iter 995 --eps 20.0 --dim 12 --num_attacks 1000 --channel 3 --hard_label --optimize_acq scipy --cos --sin --save
  • For consistency, we fixed a set of 1000 ImageNet validation set images, and performed all of the experiments in our paper on this set. The indices of these images in the ImageNet validation set are contained in random_indices_imagenet.npy.

About

Code for "Hard Label Black-box Adversarial Attacks in Low Query Budget Regimes"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages