PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamics

Sunay Bhat, Jeffrey Jiang, Omead Pooladzandi, Alexander Branch, Gregory Pottie
5/28/2024
cs.LGcs.AIcs.CR

No official code found. Best implementation: SunayBhat1/PureGen_PoisonDefense (11 stars, MIT, last commit 2024-12-03).

Abstract

Train-time data poisoning attacks threaten machine learning models by introducing adversarial examples during training, leading to misclassification. Current defense methods often reduce generalization performance, are attack-specific, and impose significant training overhead. To address this, we introduce a set of universal data purification methods using a stochastic transform, $Ψ(x)$, realized via iterative Langevin dynamics of Energy-Based Models (EBMs), Denoising Diffusion Probabilistic Models (DDPMs), or both. These approaches purify poisoned data with minimal impact on classifier generalization. Our specially trained EBMs and DDPMs provide state-of-the-art defense against various attacks (including Narcissus, Bullseye Polytope, Gradient Matching) on CIFAR-10, Tiny-ImageNet, and CINIC-10, without needing attack or classifier-specific information. We discuss performance trade-offs and show that our methods remain highly effective even with poisoned or distributionally shifted generative model training data.

View on arXivView PDF

Code Implementations(1)

MIT

State of the Art Train-Time Poison Defense via Generative Model Dynamics

111Python, Jupyter NotebookJun 2, 20241 years agoMIT

Cite this paper

@article{bhat2024puregen,
  title  = {PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamics},
  author = {Sunay Bhat and Jeffrey Jiang and Omead Pooladzandi and Alexander Branch and Gregory Pottie},
  year   = {2024},
  eprint = {2405.18627},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.18627},
  url    = {http://arxiv.org/abs/2405.18627v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion