Skip to content

PyTorch implementation of Carlini and Wagner L0-norm based adversarial attack

Notifications You must be signed in to change notification settings

Developer-Zer0/CW-L0-attack-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch implementation of Carlini and Wagner L0-norm based adversarial attack

Towards Evaluating the Robustness of Neural Networks Paper for the CW-L0 attack by Carlini et.al. : https://arxiv.org/pdf/1608.04644.pdf

GitHub link for the original TensorFlow code: https://github.com/carlini/nn_robust_attacks

Sample test on MNIST:

image

(Top row plots the original MNIST images. Middle row are the adversarial variations obtained from the code with the predicted class number on top. Classes are predicted using the trained LeCun Conv model with accuracy of 99%. Bottom row plots a histogram with prediction probabilities of all class numbers.)

About

PyTorch implementation of Carlini and Wagner L0-norm based adversarial attack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published