Git Product home page Git Product logo

Comments (3)

dtsip avatar dtsip commented on August 17, 2024 5

You don't need random restarts to train robust models. The code already implements random start by adding noise before running PGD. Simply running train.py as-is will train a robust model. (Random restarts were used in the paper for evaluation purposes only).

Yes, iterative-FGSM is the same as PGD starting from the original image. PGD is a standard method for constrained optimization used in numerous places over a long period of time. We are not the ones introducing this method. In the context of adversarial examples, the L_infinity version of PGD has been referred to as IFGSM.

from mnist_challenge.

dtsip avatar dtsip commented on August 17, 2024

We are not performing random restarts in our code. We are simply starting PGD from a different random point each time. That is, instead of starting PGD from x_nat we are moving to a random point within the epsilon L_infty ball and performing PGD from there. Could you please elaborate on your question?

from mnist_challenge.

lepangdan avatar lepangdan commented on August 17, 2024

@dtsip I just want to confirm if I need to random restarts, because I saw the paper mentioned the random restarts while it is not implemented in the code. Another point I want to confirm is whether the PGD the same as Iterative-FGSM, except for adding random noise in the original image and random restarts?:D

from mnist_challenge.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.