Giter Club home page Giter Club logo

Comments (3)

Trevillie avatar Trevillie commented on September 16, 2024

Hi @zoujx96

For 1: please read Carlini's paper and MagNet paper again and make sure that you understand: in whitebox attack model, Carlini's attack gets 100% attack success rate on MNIST and CIFAR-10 models even with zero confidence. Therefore, the green line should be flat and remain near zero everywhere. If this is not the case in your experiment, your attack is flawed somehow.

For 2: this doesn't make any sense to me so I won't try to explain.

I don't know how you generated your adversarial examples so I can't say for sure. But here's my guess: in Nick's attack code, the generated attack image has pixel value range of [-0.5, 0.5], but in my defense code, the expected input image has pixel value range of [0, 1]. This mismatch can cause confusion. Please check if this is the cause and report here.

Thanks.

from magnet.

zoujx96 avatar zoujx96 commented on September 16, 2024

Hi @Trevillie
Thank you very much for your reply! I suppose the issue lies in the range of pixel values. I see in Carlini's code the pixel values are in the range of (-0.5,0.5), so I want to make sure. Do you generate Carlini's attack samples using CIFAR10 dataset with (0,1) pixel values, or you generate using (-0.5,0.5) pixel values and then change the adversarial samples to (0,1) pixel values by adding 0.5?

from magnet.

Trevillie avatar Trevillie commented on September 16, 2024

@zoujx96 On (0,1) dataset directly.

from magnet.

Related Issues (6)

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.