foolbox icon indicating copy to clipboard operation
foolbox copied to clipboard

Attack Overview with Properties

Open jangop opened this issue 4 years ago • 4 comments

The table at foolbox.attacks is currently the closest thing to an overview of all implemented attacks. It could be an ideal place to list major defining properties, such as whether an attack minimizes perturbations and if it supports targeted attacks (or rather, which criteria it supports).

  1. Is it correct that no list with more detail exists?
  2. What other properties should be included?
  3. Could/should the overview be generated automatically, possibly by inspecting which classes (such as MinimizationAttack) a given attack inherits from?

jangop avatar Jan 28 '22 12:01 jangop

  1. Yes, this is correct.
  2. I cannot think of any other properties at the moment - but that shouldn't mean that there aren't any. So I'm open to suggestions here:)
  3. Yes, it definitely should be generated automatically since we otherwise have the risk of inconsistencies across different attacks.

@jangop Do you think you can prepare a draft/PR for your suggestion? If so, I would assign the issue to you.

zimmerrol avatar Jan 31 '22 10:01 zimmerrol

Is there an update on the status of this idea?

zimmerrol avatar Mar 16 '22 09:03 zimmerrol

Yes. Update #1: I have absolutely no idea what I'm doing with sphinx, so it will result in an extra script that will spit out a table to be manually included in the documentation.

jangop avatar Apr 06 '22 08:04 jangop

  1. Yes, this is correct.

    1. I cannot think of any other properties at the moment - but that shouldn't mean that there aren't any. So I'm open to suggestions here:)

    2. Yes, it definitely should be generated automatically since we otherwise have the risk of inconsistencies across different attacks.

@jangop Do you think you can prepare a draft/PR for your suggestion? If so, I would assign the issue to you.

hey @jangop , great to see that you were active here in past. Is it possible for you to post one proper Boundary Attack code from foolbox here. If you want i can help you, I am getting some errors while running it

kanak000 avatar Jul 14 '22 11:07 kanak000