Giter VIP home page Giter VIP logo

bluff's Introduction

Bluff

Bluff is an interactive system for deciphering adversarial attacks on Deep Neural Networks (DNNs).

Bluff: Interactively Deciphering Adversarial Attacks on Deep Neural Networks.
Nilaksh Das*, Haekyu Park*, Zijie J. Wang, Fred Hohman, Robert Firstman, Emily Rogers, Duen Horng (Polo) Chau.
IEEE Visualization Conference (VIS), 2020.
* Both contributed equally

Live Demo

For a live demo, visit: https://poloclub.github.io/bluff/

Code and Data

Code (both frontend and backend) and data are available at https://github.com/poloclub/bluff.

Video

For the presentation video, visit: https://youtu.be/b6PHyYnassc

Running Bluff user interface Locally

  • Download or clone this repository:

    git clone https://github.com/poloclub/bluff.git
  • Within bluff repo, run:

    python -m http.server <PORT>
    

    For example,

    python -m http.server 8080

    To run this command, python 3 is needed.

  • Open any web browser and go to http://localhost:<PORT>. For example, http://localhost:8080 if you used port 8080.

  • You can find the frontend code in bluff/code/frontend.

Running Bluff backend

Requirement

This project is written in python 3.7.6. You can install the dependencies by running:

pip install -r requirements.txt

ImageNet Dataset

Code Structure

The backend code is in bluff/code/frontend.

  • Generate Adversarial Images
    • Please run gen_adversarial_images.py.
  • Compute Neuron Importance
    • Please run preprocess_scores.py
  • Compute Propagation of Influence
    • Please run edges.py

Citation

@inproceedings{das2020bluff,
  title={Bluff: Interactively Deciphering Adversarial Attacks on Deep Neural Networks},
  author={Wang, Zijie J. and Turko, Robert and Shaikh, Omar and Park, Haekyu and Das, Nilaksh and Hohman, Fred and Kahng, Minsuk and Chau, Duen Horng (Polo)},
  booktitle={IEEE Visualization Conference (VIS)},
  publisher={IEEE},
  year={2020},
  url={https://github.com/poloclub/bluff}
}

License

MIT License. See LICENSE.md.

Contact

For questions contact Nilaksh Das or Haekyu Park.

bluff's People

Contributors

fredhohman avatar haekyu avatar nilakshdas avatar polochau avatar rfirstman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluff's Issues

[Question] Using a different model?

Hi @haekyu, great work! Just curious, if we want to use models other than Inception v1, do we just need to update the LAYER_BLK_SIZES and LAYER_SIZES in the model.py? If not, do you have suggestions on what we need to update? Thanks!

imagenet class labels

are we sure this data is the right mapping for imagenet?

the class ordering looks different than what I remember but I could just have a bad memory. can we confirm what summit used? should be in here.

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.