Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

wkim97/ADA

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attentive Diversity Attack (ADA)

Official PyTorch implementation of Diverse Generative Perturbations on Attention Space for Transferable Adversarial Attacks (ICIP 2022).

Getting Started

Installation

git clone https://github.com/wkim97/ADA.git
conda install --file requirements.txt

Preparing Datasets

Download the training and evaluation datasets here and unzip the file under ADA/data.

The official evaluation dataset can also be downloaded from the NIPS 2017 adversarial attack competition.

Pretrained Weights

You can download the pretrained weights here and unzip the file under ADA/weights.

Training

python train.py --surrogate inception_v3 --target_layer Mixed_7c --save_dir ./weights --save_name default

Testing

python test.py --surrogate inception_v3 --target_layer Mixed_7c --load_dir ./weights --load_name default

Acknowledgement

Some parts of the code are borrowed from grad-cam-pytorch and from DSGAN.

Citation

If you find this code useful for your research, please consider citing our paper

@article{kim2022diverse,
  title={Diverse Generative Adversarial Perturbations on Attention Space for Transferable Adversarial Attacks},
  author={Kim, Woo Jae and Hong, Seunghoon and Yoon, Sung-Eui},
  journal={arXiv preprint arXiv:2208.05650},
  year={2022}
}

About

Diverse Generative Perturbations on Attention Space for Transferable Adversarial Attacks (ICIP 2022 Oral)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.