Giter Site home page Giter Site logo

shorya-sharma / game-theory-for-adversarial-attacks-and-defenses Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 7.37 MB

This repo contains the code for the preprint 'Game Theory for Adversarial Attacks and Defenses' (https://arxiv.org/abs/2110.06166v2)

Python 9.54% Jupyter Notebook 90.46%
game-theory adversarial-attacks adversarial-defense

game-theory-for-adversarial-attacks-and-defenses's Introduction

Game Theory For Adversarial Attacks And Defenses

Attacks

  • All code (.ipynb files) related to attack experiments is in the attacks/ folder.
  • Our FGSM and MI-FGSM implementations are in the [summarize/attack.py]
  • Caveat:
    • We use Google Colab Pro to run the code. Some blocks are related to loading the gdrive folder.
    • There are some blocks related to the checkpoints of our pre-trained classifiers. If you are interested in getting these checkpoint data, please contact us.

Random Initialization

SAP

  • renet18.py is the file for building network without SAP moudle.
  • renet18SAP.py is the file for building network with SAP moudle.
  • SAP-like-networks.ipynb is the file for generating multiple SAP-like networks.

Super-Resolution-Based Defense

  • clean_images is the folder to store the original clean images.
  • perturbed_images is the folder to store the adversarial attack images.
  • denoised_images is the folder to store the wavelet denoised images.
  • recoverd_images is the folder to store the super resolved images.
  • attack.py is the file to generate attack samples.
  • cifarresnet.py is the file for defense classification.
  • components.py is the file for network components.
  • edsr.py is the file for image super resolution using EDSR.
  • denoising.py is the file for image wavelet denoising.

game-theory-for-adversarial-attacks-and-defenses's People

Contributors

shorya-sharma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

game-theory-for-adversarial-attacks-and-defenses's Issues

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.