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

Attack > Evasion > Momentum Iterative Method: major issues #2439

Open
eliegoudout opened this issue Apr 27, 2024 · 1 comment
Open

Attack > Evasion > Momentum Iterative Method: major issues #2439

eliegoudout opened this issue Apr 27, 2024 · 1 comment
Labels
bug Something isn't working
Projects
Milestone

Comments

@eliegoudout
Copy link

eliegoudout commented Apr 27, 2024

Stumbled upon 2 issues regarding the implementation of the momentum for Fast Gradient Method adversarial attack:

The first issue should be fixed by #2382, while the second should be independently investigated and fixed, as it may require some refactoring. Furthermore, it could be well-advised to add a test for a different decay value.

Edit: It looks like the tensorflow framework doesn't work with the in-place modification.

@eliegoudout eliegoudout changed the title Attack > Evasion > BIM: Momentum issues Attack > Evasion > Momentum Iterative Method: major issues Apr 27, 2024
@eliegoudout
Copy link
Author

Quick notes for me when I'll fix it:

  • ProjectedGradientDescent.__init__ doesn't have decay attribute (but I guess it's fine, it's in self._attack)
  • TF: _compute_tf (has no decay argument) calls _compute_perturbation with decay=self.decay,
  • Torch: _compute_perturbation_pytorch (name inconsistency!) doesn't have decay as argument (signature inconsistency!)
  • Numpy: Rests on FastGradient. Method _compute takes decay as argument (signature inconsistency!) and calls _compute_perturbation with decay=decay.

@beat-buesser beat-buesser added the bug Something isn't working label May 6, 2024
@beat-buesser beat-buesser added this to the ART 1.18.0 milestone May 6, 2024
eliegoudout added a commit to eliegoudout/adversarial-robustness-toolbox-fix-FGM-L1 that referenced this issue May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
ART 1.18.0
Awaiting triage
Development

No branches or pull requests

2 participants