• Stars
    star
    144
  • Rank 254,119 (Top 6 %)
  • Language
    JavaScript
  • Created almost 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Break neural networks in your browser ๐Ÿฆนโ€โ™‚๏ธ

adversarial.js

Break neural networks in your browser.

An interactive, in-browser demonstration of adversarial attacks on neural networks โ€“ entirely in JavaScript.

Get Started

Try the demo!

Demo Screenshot

Implementation

adversarial.js is completely implemented in JavaScript โ€“ย so it can run entirely within your browser. We rely on TensorFlow.js.

The library supports the following attacks:

The demo can break the following pre-loaded systems:

  • MNIST (digit recognition)
  • GTSRB (street sign recognition)
  • CIFAR-10 (object recognition, small images)
  • ImageNet (object recognition, large images)

FAQ

See the website.

Repo Structure

  1. src/adversarial.js: The core adversarial.js library that implements all attacks.
  2. docs/: The interactive demo directory. Explore the live website.
  3. docs/js/: Contains a ton of scripts that process data and power the demo, and a copy of adversarial.js.
  4. docs/data/: Contains (subsets) of datasets used in the demo.