Git Product home page Git Product logo

adversarial-attacks's Introduction

Adversarial Attacks on Time Series Data

We have worked on Adversarial Attacks on Time Series Data as our graduate project. In this project, we tried to examine the adversarial attacks on time-series data. We had simulated two commonly used adversarial-attack methods, Fast Gradient Sign Attacks (FGSM) and Basic Iterative Method, on LSTMs for both regression and classification models. We noted that a small perturbation on the input dataset results in sharp drops on the accuracy rates of the models, which means that even a state of art ML model, LSTM is vulnerable to adversarial attacks. We also saw that iteratively simulating attacks results in lower accuracy rates than at one time. For further studies, this should also take into account.

Datasets

We used three datasets for our projects.

Python Packages

Here are python packages that we used during the implementation. Our project should be run after installing these packages.

  • Numpy
  • Pandas
  • Sklearn
  • matplotlib
  • os
  • tensorflow.keras
  • Tensorflow

Results

1. Univariate Regression Results:

Here are plots for regression model

regression

2. Univariate Classification Results:

Here are the results of eye-state prediction project

eye state

3. Multivariate Classification Results:

Here are the results of handwritten-digit prediction project

   Predictions without applying an attack

mnist-original

   Predictions after applying attacks

mnist

adversarial-attacks's People

Contributors

afraarslan avatar cerentahtasiz 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.