Giter Club home page Giter Club logo

advis.js's Introduction

AdVis.js

AdVis.js is an interactive webtool that lets anyone to explore adversarial attacks by dynamically updating the classification scores and Class Activation Map (CAM) heatmap visualization of an input image as one tunes the strength of perturbation (epsilon in Fast Gradient Sign Method) applied to generate the adversarial example, all rendered in real-time. Our image classification architecture uses MobileNetV1 as backbone and gradient calculations for depthwise convolution with respect to the input image. You can now upload your own images and animate the CAM differential with different epsilon multipliers on-demand. Demo is live at http://www.advisjs.com.

The JavaScript webtool is built with a TensorFlow.js backend and a React frontend referencing open source components. It is the brainchild of Advanced Computer Vision taught by James Hays at Georgia Tech, and has been featured on YouTube. Note: If you use our work, please cite with the BibTeX provided below.

  • Developers: Jason Lin, Dilara Soylu
  • Research Poster: here

Screenshot

Usage

Download or clone this repository:

git clone https://github.com/jaxball/advisjs.git

cd into the cloned repo and install the required depedencies:

yarn

To run, type:

yarn start

Citation

Please cite this project in your publications if it helps your research. The following is a BibTeX reference.

@techreport{advis18acv,
  author = {Lin, Jason and Soylu, Dilara},
  title = {{AdVis: Visualizing and Attributing ML Attacks to Adversarial Examples}},
  institution = {Georgia Institute of Technology},
  year = {2018},
  note = {Accessed: [Insert date here]}
}

To Do

  • Input slider to choose from 1000 classes for targeted adversarial attack
  • Port Robust Adversrial Example from IPython notebook
  • Adversarial Training with FGSM
  • Visualize perturbations in real time? i.e. scale the negative values so we have 0 in the middle of the RGB values
  • Explore Saliency Detection implementation (JS) methods

License

MIT License. See LICENSE.md.

Contact

For questions or support open an issue.

advis.js's People

Contributors

jaxball avatar

Watchers

James Cloos 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.