wubaoyuan / Sparse-Adversarial-Attack

Implementation of ECCV 2020 "Sparse Adversarial Attack via Perturbation Factorization"
27 stars 7 forks source link

Sparse-Adversarial-Attack

This repository provides a simple implementation of our recent work "Sparse Adversarial Attack via Perturbation Factorization", ECCV 2020.

Dependencies

Demo

The following demo can generate sparse adversarial perturbations by attacking a CNN model trained on CIFAR-10, using the proposed attack method.

python main.py --attacked_model cifar_best.pth --img_file img0.png --target 1 --k 200   

Citations

@inproceedings{sapf-ECCV2020,
  title={Sparse Adversarial Attack via Perturbation Factorization},
  author={Fan, Yanbo and Wu, Baoyuan and Li, Tuanhui and Zhang, Yong and Li, Mingyang and Li, Zhifeng and Yang, Yujiu},
  booktitle={European conference on computer vision},
  year={2020}
}