GithubHelp home page GithubHelp logo

ytsmiling / lmt Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 8.0 57 KB

Public code for a paper "Lipschitz-Margin Training: Scalable Certification of Perturbation Invariance for Deep Neural Networks."

License: MIT License

Python 100.00%

lmt's People

Contributors

ytsmiling 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

Watchers

 avatar  avatar

lmt's Issues

How to restrict the size of perturbations

Table 1 in your paper shows the performance of your work under different size of the perturbations. However, I'm confused how to restrict the size of perturbations especially under optimized based attack, i.e C&W attack. And it seems that there are no suggestions in your code. Could you please show how can I optimize adversarial examples under max_epsilon? Thanks a lot!

The Lipschitz constant in pooling layer

@ytsmiling
In the code pooling.py, you multiply 'factor' to l.

l *= factor(x.shape, ksize, stride, pad)

I am confused because some papers said "the max-pooling layer has a Lipschitz constant equal to 1", for example, https://papers.nips.cc/paper/7640-lipschitz-regularity-of-deep-neural-networks-analysis-and-efficient-estimation.pdf.

However, I think the Lipschitz constant is not supposed to be 1.
Could you explain it more explicitly or provide me a reference?

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.