Giter Club home page Giter Club logo

nyu-pruning-defense-for-badnets's Introduction

Pruning Defense against Badnets

This repository contains code and resources for implementing a pruning defense against badnets in neural networks.

Overview

Pruning is a defense against badnets that involves removing or "pruning" certain connections or units in a neural network model. This can be done by identifying connections or units that are not contributing significantly to the model's performance, and removing them in order to make the model more efficient and compact.

In the context of defending against badnets, pruning can be used to remove connections or units that are vulnerable to adversarial attacks. By removing these connections or units, the model becomes less susceptible to badnet attacks because the attacker has fewer targets to exploit. Pruning can also make the model more efficient and compact, which can make it more difficult for the attacker to insert malicious samples into the training data without being detected.

Usage

To use the code in this repository, clone the repository and run the pruning_defense.ipynb. This notebook contains the code for implementing the pruning defense against badnets, and includes instructions for configuring and running the defense.

Data can be pulled from here.

Dependencies

This code is written in Python and requires the following dependencies:

  • NumPy
  • TensorFlow
  • Keras

Note: This project was part of Machine Learning for Cyber Security Course at New York University

nyu-pruning-defense-for-badnets's People

Contributors

95anantsingh avatar

Watchers

 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.