Giter Club home page Giter Club logo

higher_order_adversarial_robustness's Introduction

Higher Order Effects in Derivative Regularization for Adversarial Robustness

Adversarial attacks remain one of the main flaws of deep neural networks today. Besides adversarial training, some researchers have identified derivative regularisation (first and second order) to be another usefool tool for both understanding and tackling adversarial robustness. However, these methods do not quite reach the same level of effectiveness as adversarial training yet.

In this repository, we explore the role of mixed and higher order effects in regularization and how/if considering them can further narrow the gap to adversarial training. Furthermore, we explore improving the accuracy of derivative estimators to higher orders.

The base for our code is https://github.com/F-Salehi/CURE_robustness. However, we have changed quite a lot, so this repo has quite different dependencies.

To run an example execution of our code, run CURE_robustness_mod/main.py. You can set hyper parameters for e.g. regularizer constants, data set and level of estimation accuracy in CURE_robustness_mod/utils/config.py.

To reproduce our experiments, run CURE_robustness_mod/reproduce_experiments.py. You are advised to use a sufficiently strong GPU with at least 8GB of memory.

We recommend you to create a conda or virtual environment from our CURE_robustness_mod/requirements.txt with python version 3.7.1. The code might still run if you do it differently, but no guarantees. 🙅

If you still have any questions, feel free to reach out to us. Otherwise, enjoy our code! 🙌

higher_order_adversarial_robustness's People

Contributors

bauerem avatar luk-s avatar marcelgs avatar rudolfwilliam avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bauerem

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.