Closed maliwin closed 4 years ago
Hi @maliwin Thank you very much for using ART and providing such a detailed description of the issue! We are very interest to find out the cause for this issue and will investigate it as soon as possible.
@minhitbk Have you seen this behaviour of BoundaryAttack
before?
@maliwin : An updated version of Boundary attack is available in branch dev_1.3.0, which will be merged to master soon. This version fixed your issue. I ran your code and got the result: class id: 319 [[('n02268443', 'dragonfly', 0.9835841), ('n02268853', 'damselfly', 0.0104731135), ('n02219486', 'ant', 0.00042001702), ('n02264363', 'lacewing', 0.00028828802), ('n02231487', 'walking_stick', 0.00014885736)]] Adversarial image at step 0. L2 error 52361.318116537186 and class label 111. Adversarial image at step 200. L2 error 12077.601012107383 and class label 111. Adversarial image at step 400. L2 error 9279.618072131077 and class label 111. Adversarial image at step 600. L2 error 7235.303173900557 and class label 111. Adversarial image at step 800. L2 error 5683.6825038876505 and class label 111.
Thank you both for the quick response. I guess this issue can be closed then. :)
Hi, I'm attempting to execute a boundary attack on the Xception network, but even after simplifying my code to be almost identical to the attack_decision_based_boundary notebook, I still cannot get it to work properly.
Here's the code:
Link to dragonfly.jpg
https://user-images.githubusercontent.com/15788686/83576103-4eaa8500-a531-11ea-9819-2683429bc961.jpgHere is the output after several iterations:
Effectively it NaNs out and doesn't recover from it. The image at iteration 200 is similar to the one in notebook (half noise - half target image), but everything after that is stuck at something like 80% noise - 20% target image.
The preprocessing is set to
(127.5, 127.5)
since from my understanding, Xception expects inputs to be in range [-1, 1]. Changing the delta and epsilon parameters in the attack didn't seem to change much.Here is what it looks like after 200 iterations: And here is what it looks like after it reaches NaN (and it stays this way):
Any help or advice would be appreciated. Thank you. :)