Catalogue of Tools & Metrics for Trustworthy AI

These tools and metrics are designed to help AI actors develop and use trustworthy AI systems and applications that respect human rights and are fair, transparent, explainable, robust, secure and safe.

AdVis.js



AdVis.js

AdVis.js is an interactive web tool that lets anyone explore adversarial attacks by dynamically updating the classification scores and Class Activation Map (CAM) heatmap visualization of an input image as one tune 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 the 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. The demo is live at http://www.advisjs.com.

The JavaScript web tool 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 dependencies:

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 Adversarial 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.

About the tool


Tool type(s):




Country/Territory of origin:


Type of approach:









Github stars:

  • 49

Github forks:

  • 12

Modify this tool

Use Cases

There is no use cases for this tool yet.

Would you like to submit a use case for this tool?

If you have used this tool, we would love to know more about your experience.

Add use case
Partnership on AI

Disclaimer: The tools and metrics featured herein are solely those of the originating authors and are not vetted or endorsed by the OECD or its member countries. The Organisation cannot be held responsible for possible issues resulting from the posting of links to third parties' tools and metrics on this catalogue. More on the methodology can be found at https://oecd.ai/catalogue/faq.