Not All Poisons are Created Equal: Robust Training against Data Poisoning

Yu Yang, Tian Yu Liu, Baharan Mirzasoleiman
10/18/2022
53 citations
cs.LGcs.CR

Official code: YuYang0901/EPIC (23 stars, Python, MIT, last commit 2022-08-08).

Abstract

Data poisoning causes misclassification of test time target examples by injecting maliciously crafted samples in the training data. Existing defenses are often effective only against a specific type of targeted attack, significantly degrade the generalization performance, or are prohibitive for standard deep learning pipelines.

Show full abstract

In this work, we propose an efficient defense mechanism that significantly reduces the success rate of various data poisoning attacks, and provides theoretical guarantees for the performance of the model. Targeted attacks work by adding bounded perturbations to a randomly selected subset of training data to match the targets' gradient or representation. We show that: (i) under bounded perturbations, only a number of poisons can be optimized to have a gradient that is close enough to that of the target and make the attack successful; (ii) such effective poisons move away from their original class and get isolated in the gradient space; (iii) dropping examples in low-density gradient regions during training can successfully eliminate the effective poisons, and guarantees similar training dynamics to that of training on full data. Our extensive experiments show that our method significantly decreases the success rate of state-of-the-art targeted attacks, including Gradient Matching and Bullseye Polytope, and easily scales to large datasets.

View on arXivView PDF

Code Implementations(1)

YuYang0901/EPICOfficial100%
MIT

Not All Poisons are Created Equal: Robust Training against Data Poisoning (ICML 2022)

233Python, ShellJun 17, 20224 years agoMIT

Similar Papers

Cite this paper

@article{yang2022poisons,
  title  = {Not All Poisons are Created Equal: Robust Training against Data Poisoning},
  author = {Yu Yang and Tian Yu Liu and Baharan Mirzasoleiman},
  year   = {2022},
  eprint = {2210.09671},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.09671}
}

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

Discussion