Data Poisoning
Also known as: Training data poisoning, Poisoning attack
Attack that corrupts a machine learning model by inserting manipulated examples into its training data, degrading it or planting hidden behaviors.
Data poisoning targets the learning process rather than a finished model. Because machine learning systems learn from data, an attacker who can influence some of that data can influence the resulting model. Untargeted poisoning aims to degrade overall performance. Targeted poisoning causes specific errors, such as misclassifying a particular input. Backdoor attacks plant a hidden trigger, a pattern that makes the model behave in an attacker-chosen way whenever it appears, while the model behaves normally otherwise, making the compromise hard to detect through ordinary testing.
The risk grows when models are trained on data scraped from the open web or contributed by users. Researchers have shown that poisoning web-scale datasets is practical and inexpensive, and studies of large language models have found that a relatively small number of malicious documents can implant a backdoor. Poisoning can also enter through fine-tuning data, shared pretrained models or retrieval sources. A classic illustration of manipulation through training input was Microsoft's Tay chatbot, which users taught to post offensive content within a day of its 2016 launch.
Defending against poisoning is a supply chain problem for AI. Measures include tracking the provenance of training data, filtering and deduplicating datasets, verifying the integrity of downloaded data and models, auditing for anomalies and testing models for hidden triggers. Some poisoning is used defensively: artists have adopted tools such as Nightshade, released by University of Chicago researchers in 2024, to subtly alter their images so that models trained on them without permission learn distorted associations. Such tools raise their own debates about consent, ownership and AI training.
Key points
- Data poisoning manipulates training data to degrade a model or implant hidden behaviors.
- Backdoor attacks plant triggers that change behavior only when a specific pattern appears.
- Models trained on scraped web data or user contributions are especially exposed.
- Data provenance, filtering, integrity checks and model auditing are key defenses.
Related entries
The collection of examples from which a machine learning model learns its parameters, shaping both what the model can do and the biases it carries.
Prompt Injection
Security vulnerability in which crafted text causes an AI model to follow an attacker's instructions instead of those of its developer or user.
Software Supply Chain Attack
Attack that compromises software by tampering with its dependencies, build systems or update channels, so trusted code delivers malicious changes to users.
Provenance
The documented origin and history of an object, artwork, dataset or piece of digital content, used to establish authenticity and trust.
Degradation in which generative models trained on data produced by earlier models gradually lose diversity and accuracy over successive generations.
Red Team
A group that plays the role of an adversary in authorized exercises, testing an organization's defenses, detection and response against realistic attacks.
OWASP Foundation
Nonprofit foundation that produces free, community-built resources for improving software security, including the widely used OWASP Top 10.
Referenced by
Other entries that discuss or point to Data Poisoning.