HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Models

Pouya Samangouei; Maya Kabkab; Rama Chellappa

Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Models

Abstract

In recent years, deep neural network approaches have been widely adopted for machine learning tasks, including classification. However, they were shown to be vulnerable to adversarial perturbations: carefully crafted small perturbations can cause misclassification of legitimate images. We propose Defense-GAN, a new framework leveraging the expressive capability of generative models to defend deep neural networks against such attacks. Defense-GAN is trained to model the distribution of unperturbed images. At inference time, it finds a close output to a given image which does not contain the adversarial changes. This output is then fed to the classifier. Our proposed method can be used with any classification model and does not modify the classifier structure or training procedure. It can also be used as a defense against any attack as it does not assume knowledge of the process for generating the adversarial examples. We empirically show that Defense-GAN is consistently effective against different attack methods and improves on existing defense strategies. Our code has been made publicly available at https://github.com/kabkabm/defensegan

Code Repositories

mnswdhw/DefenseGAN-and-Cowboy-Defense
pytorch
Mentioned in GitHub
RSMung/DefenseGAN-pytorch
pytorch
Mentioned in GitHub
mnswdhw/InvGAN-Pytorch
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
adversarial-defense-on-mnistDefense GAN
Accuracy: 0.8529
Inference speed: 14.80

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp