GithubHelp home page GithubHelp logo

mart's People

Contributors

yisenwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mart's Issues

Replacing CE by KL in the inner maximization

Hi Yisen,
Thank you for your sharing!
The paper https://arxiv.org/pdf/2002.11242.pdf evaluates MART and the reported robust accuracy under C&W drops by ~6% compared to the accuracy under PGD attack, while in your paper the reported accuracy under those two attacks are about the same. I run your code and there's a gap between accuracy under PGD and under other attacks when evaluated using https://github.com/fra31/auto-attack.
Besides, when I replace CE by KL in the inner maximization, the accuracy under PGD drops by ~3% and the gap between PGD and other attacks is down to ~3%. However, the accuracy reported in your paper does not vary much when replacing CE by KL in the inner maximization. Do you have any thoughts on what may go wrong?

Result of BCE without kl divergence

Hi, thanks for your promising work.

We have run your code with \beta equals 0

we got the result as follows:

best robust acc:0.5485000014305115, natural acc:0.8273999691009521 @epoch:80

which is much superior to the reported result in figure2(a)@paper [best is almost around 51% in your figure]

Is \beta = 0 equals the figure2(a)@bce(x_adv)?

How to test the white-box accuracy

hi Yisen Wang,
When i test the accuracy under white-box attack , I find that the testset accuracy on MART loss or cross entropy loss is different , So what loss you use when test the white-box accuracy in an article.

Why not directly use CE loss on natural samples

Great work!
BYW, I am new to this field, I am curious that why not directly constrain the CE loss on natural samples? It seems that non-classification constraint is used during the training procedure. Could you provide some insight to understand it?

A doubt about the derivation of formulas in the paper

Thank you for your sharing!
I would like to ask a question about the derivation of formulas in the paper. Specifically, I don't know the derivation of the last two steps of formula (7) in the paper.
It seems that 1(h_theta(x_i)=y_i)=1 and 1(h_theta(x_adv_i)!=y_i)=0, so that we can infer from the penultimate line to the last line, But why?

How many training epochs?

Hi,

Thanks for making the code public and it is really concise and readable. I'm just wondering how many epochs you train the models since I didn't find it in the paper. Based on the learning rate schedule (decay at 75 and 90 epoch), I guess you are following the TRADES and therefore train for 100 epochs, right? And are ResNets and WideResNets share the same number of training epochs?

Thanks

How does MART perform on CIFAR100?

Your work has performed well on both CIFAR10 and MNIST datasets. I wonder about the performance of your work on CIFAR100. Have you applied MART on CIFAR100?

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.