Deep k-NN Defense against Clean-label Data Poisoning Attacks

Neehar Peri, Neal Gupta, W. Ronny Huang, Liam Fowl, Chen Zhu +3 more
9/29/2019
cs.LGcs.CVcs.NE

Official code: neeharperi/DeepKNNDefense (13 stars, Python, last commit 2021-09-24).

Abstract

Targeted clean-label data poisoning is a type of adversarial attack on machine learning systems in which an adversary injects a few correctly-labeled, minimally-perturbed samples into the training data, causing a model to misclassify a particular test sample during inference. Although defenses have been proposed for general poisoning attacks, no reliable defense for clean-label attacks has been demonstrated, despite the attacks' effectiveness and realistic applications.

Show full abstract

In this work, we propose a simple, yet highly-effective Deep k-NN defense against both feature collision and convex polytope clean-label attacks on the CIFAR-10 dataset. We demonstrate that our proposed strategy is able to detect over 99% of poisoned examples in both attacks and remove them without compromising model performance. Additionally, through ablation studies, we discover simple guidelines for selecting the value of k as well as for implementing the Deep k-NN defense on real-world datasets with class imbalance. Our proposed defense shows that current clean-label poisoning attack strategies can be annulled, and serves as a strong yet simple-to-implement baseline defense to test future clean-label poisoning attacks. Our code is available at https://github.com/neeharperi/DeepKNNDefense

View on arXivView PDF

Code Implementations(1)

KNN Defense Against Clean Label Poisoning Attacks

132PythonJan 21, 20205 years ago

Similar Papers

Cite this paper

@article{peri2019deep,
  title  = {Deep k-NN Defense against Clean-label Data Poisoning Attacks},
  author = {Neehar Peri and Neal Gupta and W. Ronny Huang and Liam Fowl and Chen Zhu and Soheil Feizi and Tom Goldstein and John P. Dickerson},
  year   = {2019},
  eprint = {1909.13374},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.13374}
}

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/1909.13374.svg)](https://codeofpaper.com/paper/1909.13374)

Discussion