Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add simple spatial transform attack #80

Open
MasanoriYamada opened this issue Jul 14, 2020 · 3 comments
Open

add simple spatial transform attack #80

MasanoriYamada opened this issue Jul 14, 2020 · 3 comments

Comments

@MasanoriYamada
Copy link

MasanoriYamada commented Jul 14, 2020

A simple spatial transform attack was proposed at ICML2019.

This is a simple attack that creates an adversarial example of image rotation and translation with a grid search (or random).

The advertorch already has a spatial transform attack ICLR2018 is implemented, but the simpler ICML I think adding 2019 would be useful.

If possible, I am willing to contribute to this repository and share my implementation of the method compatible with your interface later.

However, I only checked the accuracy compared with the paper using mnist.
Because I only tried a random attack due to memory capacity issues, and this attack relies on random numbers

If I were to contribute, I would check for accuracy with an error bar.

@gwding
Copy link
Collaborator

gwding commented Jul 17, 2020

Hi @MasanoriYamada Thanks for the suggestion. It would be really nice if you could contribute your implementation. As long as contribution contains a benchmark report like this https://github.com/BorealisAI/advertorch/blob/master/advertorch_examples/attack_benchmarks/benchmark_fast_adaptive_boundary.py it'll be useful for the community. and an error bar would be even better, which we can also incorporate into the common practice of advertorch.

@MasanoriYamada
Copy link
Author

OK!
My experiment did not replicate the accuracy of the paper in cifar10.
If I can check that the values match the author's implementation of tensorflow in cifar10, I will contribute. Please wait a while longer.

MasanoriYamada added a commit to MasanoriYamada/advertorch that referenced this issue Jul 21, 2020
@MasanoriYamada
Copy link
Author

MasanoriYamada commented Jul 21, 2020

Just made a PR for a simple spatial transform attack! #82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants