Giter VIP home page Giter VIP logo

Comments (1)

riceric22 avatar riceric22 commented on July 20, 2024

Hey Abhishek, and thanks for reaching out! Sorry for the delay, but to give your question a proper response I went ahead and just tried it out (FGSM training with an L2 perturbation) since it wasn't in the main experiments of the paper.

Long story short, it also seems to work pretty much exactly the same way it worked in the Linf case. Some specifics that follow:

  • I took an L2 adversary with radius eps=128/255, and ran it with the FGSM adversarial training with step size 1.25*eps (same step size as in Linf training).
  • Random initialization is again key to getting competitive results! I randomly sampled a direction unit vector (sampling from a random normal distribution and normalizing to have unit norm), and a random radius (sampling from a uniform distribution from [0,epsilon]). I did try another random initialization (e.g. this one https://github.com/MadryLab/robustness/blob/master/robustness/attack_steps.py#L134) but it was not diverse enough and catastrophically overfit.
  • The final model gets 69.56% robust accuracy on a ResNet18, which seems comparable to other results that I've seen at this threshold. This is with respect to a single restart PGD adversary with 50 iterations, and step size 3/255

from fast_adversarial.

Related Issues (20)

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.