NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defenses

Micah Goldblum, Dimitris Tsipras, Chulin Xie, Xinyun Chen, Avi Schwarzschild, Dawn Song, Aleksander Mądry, Bo Li, Tom Goldstein

TL;DR

This paper provides a comprehensive survey of data poisoning and backdoor attacks against machine learning models, categorizing existing threats and defenses. It highlights the growing security risks associated with automated data curation and outlines crucial open problems for future research in ensuring the integrity of ML systems.

What Problem Does This Paper Address?

As machine learning models become more complex and data-hungry, the reliance on automated and outsourced data curation has increased. This shift introduces significant security vulnerabilities, as training data can be manipulated to compromise the integrity and performance of learned models. The paper addresses the critical need for a systematic understanding of these dataset security threats, including data poisoning and backdoor attacks, and the corresponding defense mechanisms. It aims to bridge the gap in organized knowledge by providing a unified taxonomy and highlighting areas requiring further investigation.

Methods

The paper systematically categorizes and discusses various dataset vulnerabilities and exploits. It breaks down attacks into two main types:

  • Training-only attacks: These attacks manipulate training data or labels without requiring access to test-time inputs. They are further classified based on the optimization formulation or heuristic used and whether they target from-scratch training or transfer learning.
  • Attacks on both training and testing (Backdoor Attacks/Trojans): These attacks embed an exploit at training time that is activated by a "trigger" at test time. They are sub-divided into model-agnostic and model-specific attacks, with additional categories for transfer learning and federated learning settings.

The paper also reviews defense mechanisms, which are categorized into:

  • Detection: Identifying poisoned data or models.
  • Repair: Removing backdoor behavior from trained models.
  • Prevention: Robust training approaches to prevent poisoning from taking effect.

Datasets

The paper discusses various applications and scenarios where these attacks are relevant, referencing numerous existing datasets and benchmarks used in the literature for training and evaluating models. Specific datasets are not introduced as new contributions of this survey.

Key Insights and Ideas

  • The "Open-World" Data Problem: The shift towards automated and outsourced data curation, driven by the scale of modern ML, is the root cause of many dataset security vulnerabilities. This lack of human supervision is a critical vulnerability.
  • Unified Taxonomy: The paper's contribution of a unified taxonomy for data poisoning and backdoor attacks is crucial for organizing the rapidly growing research landscape and understanding the relationships between different threat models.
  • Backdoors as a Stealthy Threat: Backdoor attacks are particularly insidious because they allow models to behave normally in the absence of a trigger, making them difficult to detect during standard testing.
  • Federated Learning's Unique Challenges: The decentralized nature of federated learning presents distinct security challenges, where adversaries can potentially manipulate local models or updates, and aggregation mechanisms can be exploited.
  • The Arms Race: The paper implicitly highlights an ongoing arms race between attackers and defenders, with new attack strategies constantly emerging and necessitating the development of more sophisticated defenses.

Key Results

This paper is a survey and taxonomy, not an empirical study presenting new quantitative results. Its primary contribution is the organization and synthesis of existing research on data poisoning and backdoor attacks and their defenses. It provides a comprehensive overview of the state-of-the-art in these areas, identifying common methodologies, applications, and defense strategies.

Limitations and Future Work

The authors explicitly identify several open problems:

  • Accelerated Data Poisoning for From-Scratch Training: Developing computationally efficient data poisoning algorithms for industrial-scale problems.
  • Attacking with Limited Information: Realistic scenarios involve attackers with limited knowledge of the dataset or task.
  • True Clean-Label Attacks: Crafting invisible adversarial examples that are truly indistinguishable from clean data.
  • Fair Comparison of Methods: Standardized experimental settings are needed for robust benchmarking.
  • Robustness to Hyperparameters: Many existing methods are brittle and perform poorly when training hyperparameters differ from experimental settings.
  • Broader Objectives: Moving beyond simple misclassification to more nuanced attack goals (e.g., targeting specific demographics).
  • Defenses Beyond Image Classification: Expanding defense research to other domains beyond image classification.
  • Navigating Trade-offs: Balancing accuracy, security, and data privacy in ML systems.
  • Bypassing Defenses Without Training Access: Investigating if defenses can be circumvented without access to the training protocol.
  • Efficient and Practical Defenses: Developing defenses that are less computationally expensive and require less data.
  • Differential Privacy and Data Poisoning: Bridging the gap between theoretical bounds and empirical performance.
  • Certified Defenses: Developing robust certified defenses, especially in federated learning settings.
  • Detection of Inconspicuous Poison Examples: Detecting malicious behavior that doesn't appear anomalous.

Summary updated

BibTeX
@article{goldblum2022dataset,
  author = {Micah Goldblum and Dimitris Tsipras and Chulin Xie and Xinyun Chen and Avi Schwarzschild and Dawn Song and Aleksander Mądry and Bo Li and Tom Goldstein},
  title = {{Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defenses}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2022},
  doi = {10.1109/tpami.2022.3162397},
}
Figure