Skip to main content
QUICK REVIEW

[Paper Review] What Doesn't Kill You Makes You Robust(er): How to Adversarially Train against Data Poisoning

Jonas Geiping, Liam Fowl|arXiv (Cornell University)|Feb 26, 2021
Adversarial Robustness in Machine LearningComputer Science13 citations
TL;DR

This paper proposes a novel adversarial training framework to defend against data poisoning attacks by injecting adversarially crafted poison examples during training, thereby desensitizing models to malicious data manipulations. The method achieves superior robustness-accuracy trade-offs, generalizes across diverse threat models including adaptive attacks, and outperforms prior defenses like DP-SGD and standard adversarial training.

ABSTRACT

Data poisoning is a threat model in which a malicious actor tampers with training data to manipulate outcomes at inference time. A variety of defenses against this threat model have been proposed, but each suffers from at least one of the following flaws: they are easily overcome by adaptive attacks, they severely reduce testing performance, or they cannot generalize to diverse data poisoning threat models. Adversarial training, and its variants, are currently considered the only empirically strong defense against (inference-time) adversarial attacks. In this work, we extend the adversarial training framework to defend against (training-time) data poisoning, including targeted and backdoor attacks. Our method desensitizes networks to the effects of such attacks by creating poisons during training and injecting them into training batches. We show that this defense withstands adaptive attacks, generalizes to diverse threat models, and incurs a better performance trade-off than previous defenses such as DP-SGD or (evasion) adversarial training.

Motivation & Objective

  • To address the growing threat of data poisoning in machine learning, where malicious actors tamper with training data to manipulate model behavior.
  • To overcome limitations of existing defenses that suffer from poor test accuracy, vulnerability to adaptive attacks, or narrow applicability to specific threat models.
  • To develop a generalizable, robust defense framework that can withstand diverse data poisoning attacks, including targeted and backdoor attacks.
  • To extend adversarial training—proven effective against test-time adversarial examples—to training-time data poisoning by generating and injecting adversarial poisons during model training.

Proposed method

  • The method generates adversarial poison examples during training by optimizing for worst-case perturbations that mimic real data poisoning attacks.
  • It injects these adversarially crafted poison examples into training batches, simulating realistic data poisoning scenarios during model optimization.
  • The framework uses a modified loss function that minimizes the model's sensitivity to these injected poisons, effectively training the model to be robust.
  • It dynamically creates poisons without requiring prior identification of poisoned data points, enabling real-time adaptation to unknown threats.
  • The approach evaluates multiple poison generation strategies, including random noise patches, optimized worst-case patches, and in-distribution image patches via CutMix.
  • It leverages the same optimization principles as standard adversarial training but applies them to the data poisoning threat model, treating poisoned data as adversarial examples in the training distribution.

Experimental results

Research questions

  • RQ1Can adversarial training be effectively adapted to defend against training-time data poisoning attacks, rather than just test-time adversarial examples?
  • RQ2How does the proposed method perform against adaptive data poisoning attacks that are specifically designed to bypass known defenses?
  • RQ3What is the robustness-accuracy trade-off of the proposed defense compared to existing defenses like DP-SGD and standard adversarial training?
  • RQ4Can the defense generalize across diverse data poisoning threat models, including targeted poisoning and backdoor attacks with different trigger patterns?
  • RQ5Does the use of dynamically generated poisons during training lead to better generalization and robustness than static or pre-identified poison data?

Key findings

  • The proposed poison immunity defense achieves a poison attack success rate of only 25.80% on average when defending against a 4x4 semantic firefox logo patch, compared to 79.68% for the undefended model.
  • For a noisy checkerboard patch, the method reduces poison success to 29.77% with a natural accuracy of 92.00%, significantly outperforming baseline defenses.
  • The method generalizes well across different trigger types: it maintains strong robustness against both out-of-distribution noise patches and in-distribution semantic patches.
  • Training with image-based patches (e.g., CutMix-style) yields better robustness than random noise or optimized patches, especially for semantically meaningful triggers.
  • The defense outperforms DP-SGD, which shows high vulnerability to semantic triggers (94.40% poison accuracy) despite reducing natural accuracy to 69.33%.
  • Visualizations of feature space show that the defended model learns more robust representations, with reduced sensitivity to poison-induced feature shifts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.