gehaollt / advis.js

[Tensorflow.js] AdVis: Exploring real-time Adversarial Attacks in the browser with Fast Gradient Sign Method.

Home Page:http://www.jlin.xyz/advis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdVis.js

AdVis.js is an interactive webtool that lets anyone to explore adversarial attacks by dynamically displaying the classification scores and CAM heatmap visualization of the input image as one tunes the strength of perturbation applied to generate the adversarial example, all in real-time. Demo is now live at http://www.jlin.xyz/advis.

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

Screenshot System developed with Tensorflow.js and React, referencing open source components from PoloClub@Georgia Tech.

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

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][issues].

About

[Tensorflow.js] AdVis: Exploring real-time Adversarial Attacks in the browser with Fast Gradient Sign Method.

http://www.jlin.xyz/advis

License:MIT License


Languages

Language:JavaScript 90.0%Language:CSS 7.2%Language:HTML 1.8%Language:TypeScript 1.0%