Giter Club home page Giter Club logo

adversarial_lower_bound's Introduction

Modules

Original IBP method

Implementation and tests for original IBP methods (in matrix form), with support of general linear layers (simple linear, conv2d, mean/max pooling), and with support of batch processing (equivalent to IBP-Lin with null schedule vector; see Algo 1 in paper)

Related files

  • fast_appx.py
  • utils.py

IBP-Lin method

Implementation and tests for IBP-Lin (see Algorithm 1 in paper for pseudo code)

Related files

  • linear_appx.py

Models

Architecture, training, and loading functions of neural nets used for experiments

Related files

  • relu_networks.py (small ReLU nets)
  • medium_size_networks.py (LeNet-5)
  • pretrained_imagenets.py (VGG imagenets)

Experiments

  1. Tested IBP with small, medium, and pretrained imagenet models
  2. Tested IBP-Lin with small model

TODO list (for paper)

  1. Sanity check of theoretical findings on feed-forward ReLU networks

    • for random gaussian networks, understand how does the hidden dimension of the network affect the performance of k-layer linear approximation performance in IBP-Lin (Prop 3.2)

    • demonstrate how the quality of approximation can change sharply with magnitude of network weights (Prop. 3.4)

    • run IBP-Lin with increased k in k-layer approximation doesn't necessarily outperform the original IBP bounds (Prop. 3.5)

  2. Additional implementation and tests

    • add support of pool layers for IBP-Lin (in linear_appx.py)
    • more tests for conv2d/pool layers for IBP-Lin

adversarial_lower_bound's People

Contributors

tangch55 avatar chengtang48 avatar tangch30 avatar

Watchers

 avatar

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.