One pixel attack for fooling deep neural networks

Jiawei Su, Danilo Vasconcellos Vargas, Sakurai Kouichi
10/24/2017
2,683 citations
cs.LGcs.CVstat.ML

No official code found. Best implementation: Hyperparticle/one-pixel-attack-keras (1,240 stars). 3 more below.

Abstract

Recent research has revealed that the output of Deep Neural Networks (DNN) can be easily altered by adding relatively small perturbations to the input vector. In this paper, we analyze an attack in an extremely limited scenario where only one pixel can be modified.

Show full abstract

For that we propose a novel method for generating one-pixel adversarial perturbations based on differential evolution (DE). It requires less adversarial information (a black-box attack) and can fool more types of networks due to the inherent features of DE. The results show that 67.97% of the natural images in Kaggle CIFAR-10 test dataset and 16.04% of the ImageNet (ILSVRC 2012) test images can be perturbed to at least one target class by modifying just one pixel with 74.03% and 22.91% confidence on average. We also show the same vulnerability on the original CIFAR-10 dataset. Thus, the proposed attack explores a different take on adversarial machine learning in an extreme limited scenario, showing that current DNNs are also vulnerable to such low dimension attacks. Besides, we also illustrate an important application of DE (or broadly speaking, evolutionary computation) in the domain of adversarial machine learning: creating tools that can effectively generate low-cost adversarial attacks against neural networks for evaluating robustness.

View on arXivView PDF

Code Implementations(4)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Hyperparticle/one-pixel-attack-kerasCommunity1,240–––
DebangLi/one-pixel-attack-pytorchCommunity87–––
nitarshan/one-pixel-attackCommunity26–––
shashankkotyan/DualQualityAssessmentCommunity3PythonMIT2023-12-17

Keras implementation of "One pixel attack for fooling deep neural networks" using differential evolution on Cifar10 and ImageNet

1,240214

Pytorch reimplementation of "One pixel attack for fooling deep neural networks"

8723

PyTorch implementation of "One Pixel Attack for Fooling Deep Neural Networks"

269
MIT

This github repository contains the official code for the papers, "Robustness Assessment for Adversarial Machine Learning: Problems, Solutions and a Survey of Current Neural Networks and Defenses" and "One Pixel Attack for Fooling Deep Neural Networks"

31Python, ShellMay 28, 20192 years agoMIT
adversarial-attackadversarial-defenceadversarial-machine-learningadversarial-searchcmaes+15 more

Similar Papers

Cite this paper

@article{su2017pixel,
  title  = {One pixel attack for fooling deep neural networks},
  author = {Jiawei Su and Danilo Vasconcellos Vargas and Sakurai Kouichi},
  year   = {2017},
  eprint = {1710.08864},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1710.08864}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1710.08864.svg)](https://codeofpaper.com/paper/1710.08864)

Discussion