Comments (2)
I just find line 67 is the only difference between them. But in each iteration, the grad.data will be updated automatically. Why did you "zeros" grad.data by hand?
from deepsec.
Thanks. The difference between UMIFGSM and TMIFGSM is equal to the difference between un-target attack and target. More detail can be found in Equation 6-7 and Equation 11-12 of Yinpeng Dong et al. Boosting Adversarial Attacks with Momentum. In our implementation, there are totally different, and you can find these difference in "the loss calculation" and "update x in each iteration". For the zero_(), it is a dummy operation since the var_samples is built newly in each iteration.
Hope answered your questions.
from deepsec.
Related Issues (16)
- Attacks are not run on defenses in an all-pairs manner HOT 2
- Reporting success rate of unbounded attacks is meaningless HOT 2
- Paper does not report attack success rate for targeted adversarial examples HOT 2
- Discrepancies between tables, text, and code HOT 7
- Significant and fundamental flaws in methodology, analysis, and conclusions HOT 1
- JSMA implementation is incorrect
- PGD/BIM implementation is incorrect HOT 1
- Paper uses averages instead of the minimum for security analysis HOT 2
- FGSM implementation is incorrect HOT 9
- PGD adversarial training implementation is incorrect HOT 3
- Computing the average over different threat models is meaningless HOT 2
- Comparing attack effectiveness is done incorrectly HOT 2
- Epsilon values studied are too large to be meaningful HOT 4
- Detection defenses set per-attack thresholds HOT 2
- Attack success rate decreases with distortion bound HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepsec.